Skip to main content
Glama

verify_registered_agent

Checks whether an agent registered in the real ERC-8004 Identity Registry (Base mainnet -- see module docstring "Mainnet registry corrected" for the verification trail) is actually alive right now: resolves its on-chain registration file, then performs a real MCP initialize handshake against whatever endpoint it declares. verdict is one of AGENT_NOT_FOUND, REGISTRATION_FETCH_FAILED, REGISTERED_INACTIVE, REGISTERED_NO_ENDPOINT_DECLARED, REGISTERED_LIVE, REGISTERED_UNREACHABLE.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden, and it does so thoroughly. It discloses that the tool performs a real outbound MCP initialize handshake against the endpoint the agent declares, revealing network-dependent behavior. It also enumerates all six possible verdicts, giving the agent a complete picture of success, failure, and ambiguity outcomes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but well-structured, with the core purpose front-loaded before the mechanism details. The verdict list is efficiently packed into a single sentence, and every clause adds necessary information such as registry, network, handshake, and outcomes. There is no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the single parameter, no output schema, and no sibling tools, this description is complete enough for an agent to select and invoke the tool correctly. It explains the verification flow, the deployment context, and all possible verdict values. The reference to the module docstring also provides an optional deeper trail without bloating the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate for the lone agent_id parameter. It connects agent_id to the agent registered in the on-chain ERC-8004 registry, making it clear what the integer identifies. It could be more explicit by stating 'agent_id' as the registry identifier, but the one-parameter context makes the meaning sufficiently recoverable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb ('Checks') and a clear resource: whether an agent registered in the ERC-8004 Identity Registry is alive. It then details the actual verification mechanism, including resolving the on-chain registration file and performing an MCP initialize handshake. This makes the tool's purpose unambiguous and distinct, even without sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly conveys when to use this tool: to determine if a registered agent is currently alive rather than merely registered. It names the deployment context (Base mainnet) and points to a module docstring for the verification trail, which helps the agent understand the appropriate context. There are no explicit exclusions or alternative tool references, but with no siblings this is a minor gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.8/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusing it with another; its purpose is clearly defined and distinct.

Naming Consistency5/5

The tool name 'verify_registered_agent' follows a clear verb_noun pattern, and as the sole tool, consistency is trivially maintained.

Tool Count5/5

A single tool is perfectly scoped for the narrow domain of agent liveness verification; no redundant or unnecessary tools exist, and the operation is self-contained.

Completeness5/5

The tool covers the complete liveness-check workflow, including resolving registration, fetching the declared endpoint, and performing a handshake, with comprehensive verdicts for all possible outcomes.