Skip to main content
Glama
@three-ws/metaplex-agent-mcp

@three-ws/metaplex-agent-mcp

by nirholas

Build an EIP-8004 registration document (no chain access)

build_registration
Read-onlyIdempotent

Builds the EIP-8004 registration JSON and self-contained data URI so you can preview on-chain agent identity writes or host and reuse it as a registration_uri.

Instructions

Build the Genesis-style EIP-8004 registration-v1 JSON document and its self-contained data:application/json;base64 URI, without touching Solana. Use it to preview exactly what mint_onchain_agent / register_agent_identity will write on-chain, or to host the document yourself and pass it back as registration_uri.

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": {
      "name": "<name>"
    },
    "name": "build_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAgent name.
assetNoAsset address for the default chain-registry entry when no registrations are given.
imageNoThumbnail image URL.
activeNoRegistration active flag. Default true.
networkNoNetwork for the default chain-registry entry. Defaults to the configured network.
servicesNoServices the agent offers.
model_urlNo3D model URL (GLB), written as model.uri.
descriptionNoAgent description.
x402_supportNoAdvertise x402 payment support. Default false.
registrationsNoExternal registry entries.
supported_trustNoDefault ['reputation'].
threews_agent_idNothree.ws agent UUID for the Genesis-exact three.ws entry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / registrations / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / services / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / threews_agent_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: no chain access at all, the output is self-contained (base64 data URI), and that output can be round-tripped into registration_uri for other tools.

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?

A single tight sentence with the artifact and the no-chain constraint front-loaded, followed by the use cases. Slightly jargon-dense ('Genesis-style') but nothing is padded or repeated.

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?

For a 12-parameter pure build function with full schema coverage and no output schema, the definition covers what matters: no side effects, a deterministic document, a base64 URI result, and how that result feeds downstream tools. An agent can call it correctly without further context.

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

Parameters3/5

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

Schema description coverage is 100%, so all 12 parameters, defaults, and limits are already documented in the schema. The description adds only conceptual framing ('Genesis-style') and no per-parameter meaning, so the baseline 3 applies.

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 artifact: build the EIP-8004 registration-v1 JSON document plus its data:application/json;base64 URI. It also names the scope boundary ('without touching Solana'), which cleanly separates it from the on-chain siblings mint_onchain_agent and register_agent_identity.

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 two concrete use cases: previewing what mint_onchain_agent / register_agent_identity will write, and hosting the document yourself to pass back as registration_uri. It names the alternatives explicitly, though it never states a condition under which you should skip this tool.

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