Skip to main content
Glama

ERC-8004 agent identity lookup (8 chains)

erc8004_agent
Read-onlyIdempotent

Know-your-agent check before you pay or hire an agent: reads the ERC-8004 Identity Registry (0x8004A169…a432) at a pinned block on base, ethereum, bsc, arbitrum, optimism, polygon, gnosis or celo and returns ownerOf, getAgentWallet and tokenURI, fetches the registration file (https/ipfs/data) with its sha256, and checks that the file's agentWallet and registrations[] match the chain. Includes the exact eth_call data so anyone can re-check. Price: $0.01 USDC on Base per call, paid with x402 (MCP transport: an unpaid call returns the x402 PaymentRequired object; retry with params._meta["x402/payment"]). Same tool over HTTP: GET /api/erc8004-agent.

Input Schema

NameRequiredDescriptionDefault
idYesnumeric agentId
blockNooptional block number to pin (default latest)
chainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world; the description adds the hard contract details that matter: pinned block by default, off-chain registration fetch over https/ipfs/data, sha256 integrity, wallet/registrations[] cross-check, and returned eth_call data for independent re-verification. It also discloses the paid-access behavior most agents would trip on: $0.01 USDC on Base via x402, unpaid calls return PaymentRequired, and retry requires params._meta['x402/payment'].

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

Conciseness4/5

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

Front-loaded with the purpose and use case, then the read semantics, then payment mechanics; every clause carries information (even the HTTP endpoint mirrors a real alternative transport). It is dense and clause-stacked rather than cleanly sectioned, which costs it the top score but not much else.

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?

With no output schema, the description still tells the agent what comes back (three registry getters, fetched registration file, sha256, match verdict, raw eth_call data) and how payment failures manifest. That is sufficient for an agent to call this correctly and interpret failures.

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 67%, and the description compensates: it enumerates all eight chains in prose, clarifies that `id` is the numeric agentId used for ownerOf/getAgentWallet, and explains that `block` pins the registry read (consistent with the schema's 'default latest'). Minor residual ambiguity about the `block` format is left to the schema.

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?

States a precise verb and resource ('reads the ERC-8004 Identity Registry at 0x8004A169…a432'), names the exact return fields (ownerOf, getAgentWallet, tokenURI), and adds the file-verification step. Nothing in the sibling list (address_info, token_info, tx_decode) does identity-registry lookups, and the description makes that unique scope obvious.

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?

'Know-your-agent check before you pay or hire an agent' gives a clear triggering context, and the pinned-block framing implies when to use `block`. It does not name an alternative tool or an explicit when-not-to-use case, so it stops short of the 5 bar.

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.

Resources