Skip to main content
Glama

Resolve agent

resolve_agent
Read-onlyIdempotent

Resolve an imported ERC-8004 registration by bridge DID or by (chain_id, token_id).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "resolve_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
chain_idNoEVM chain id where the ERC-8004 registry lives, for example 8453 for Base.
token_idNoThe agent's ERC-721 token id in the Identity Registry.
bridge_didNoThe bridge DID, did:viridis:erc8004:<chain>:<token>. Or give chain_id and token_id.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / bridge_did / description
      Added value: +"The bridge DID, did:viridis:erc8004:<chain>:<token>. Or give chain_id and token_id."
    • addedInput schema / properties / chain_id / description
      Added value: +"EVM chain id where the ERC-8004 registry lives, for example 8453 for Base."
    • addedInput schema / properties / token_id / description
      Added value: +"The agent's ERC-721 token id in the Identity Registry."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one real behavioral constraint: the registration must already be "imported" for resolution to succeed, which is not in the annotations. It says nothing about what happens for an unimported or unknown agent (error vs empty), which matters for a lookup keyed by optional identifiers.

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?

A single sentence with no filler, front-loading the verb and resource before the two keying options. Nothing is redundant with the title or annotations.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the annotations carry the safety profile. Still missing for a resolution tool: the failure mode when nothing matches, and whether an unimported agent must be imported first, which the word "imported" hints at but never states.

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?

Schema coverage is 100%, so the per-parameter docs already explain chain_id, token_id and the bridge DID format. The description nonetheless adds meaning the schema cannot express: that the two forms are alternatives and that the pair (chain_id, token_id) is used together, which resolves the ambiguity of a schema with zero required parameters.

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

Purpose4/5

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

The description states a specific verb ("Resolve") and resource ("imported ERC-8004 registration") and names the two lookup keys. It is clearly distinct from write-side siblings like import_registration or bind_identity, though the boundary with describe_agent is left implicit.

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

Usage Guidelines3/5

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

Usage is implied by the key forms supplied (bridge DID, or chain_id plus token_id), which tells an agent what it needs to call the tool. There is no explicit when-to-use framing, no when-not condition, and no sibling alternative named, so the agent must infer the selection rule.

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.