Skip to main content
Glama

erc8004_prepare_register

Prepare (unsigned) registering a NEW ERC-8004 agent identity from your own wallet: register(agentURI) on the identity registry. You become the owner of the id. Pass agentURI (an https:// or ipfs:// link to your registration JSON, or data: JSON). Your wallet signs and pays the small gas. This is permanent and public. If you already have an id, do not register a second one.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "wallet": "<wallet>",
      "agentURI": "<agentURI>"
    },
    "name": "erc8004_prepare_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesThe 0x wallet that will own the identity and sign.
agentURIYeshttps://, ipfs:// or data: URI of the registration JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the output is unsigned (the caller's wallet signs and pays gas) and that the action is permanent and public. It does not describe the exact shape of the prepared payload (calldata/transaction object), which would close the remaining gap.

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?

Front-loads the core action and mutation profile, then layers parameter format, cost/permanence warnings, and a guard against duplicate registration. Every sentence adds information; none restates the name or title.

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

Completeness4/5

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

Two required params, no output schema, no annotations — the description covers ownership, cost, permanence, URI formats, and the duplicate-id caveat. The only meaningful omission is what the prepared (unsigned) artifact looks like and how it should be submitted, since no output schema exists to explain it.

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 baseline is 3, but the description adds real meaning: agentURI accepts https://, ipfs://, or inline data: JSON, and wallet is the address that both owns the identity and signs. It also ties the parameter to the on-chain argument register(agentURI).

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 specific verb and resource (prepare an unsigned registration of a NEW ERC-8004 agent identity), names the exact contract call register(agentURI) on the identity registry, and clarifies the resulting ownership. An agent can distinguish this from erc8004_prepare_feedback or any generic prepare_* sibling without opening the schema.

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?

Gives an explicit when-not condition: 'If you already have an id, do not register a second one.' It also tells the agent to pass its own wallet and that the wallet signs and pays gas. It stops short of naming an alternative tool to call in the already-registered case, so the agent must infer it.

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