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

@three-ws/metaplex-agent-mcp

by nirholas

Preview an Agent Identity registration (no funds move)

preview_agent_identity
Read-onlyIdempotent

Preview agent identity registration before it runs to show the identity PDA, registration status, paying wallet, cost, and exact document that would be written without broadcasting anything.

Instructions

Preview register_agent_identity before it runs: the identity PDA, whether the asset is already registered, the paying wallet, the cost, and the exact registration document that would be written. Broadcasts nothing. Show it to the user, get a clear yes, then call register_agent_identity with the same arguments, the returned preview_id and confirm_spend: true. Use this before register_agent_identity every time, so the person sees the cost and the document before any SOL moves.

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

Input Schema

NameRequiredDescriptionDefault
nameYesAgent name for the registration document.
assetYesThe Core asset address to register.
imageNoThumbnail image URL.
activeNoRegistration active flag. Default true.
secretNoPer-call signing key. Overrides SOLANA_SECRET_KEY.
networkNoCluster. Defaults to the configured network.
servicesNoServices the agent offers.
model_urlNo3D model URL (GLB), written as model.uri.
collectionNoThe collection address, required for collection-bound assets.
descriptionNoAgent description.
x402_supportNoAdvertise x402 payment support. Default false.
registrationsNoExternal registry entries. Defaults to the chain registry entry.
supported_trustNoDefault ['reputation'].
registration_uriNoFull override for the registration URI (https or data:).
threews_agent_idNothree.ws agent UUID for the Genesis-exact three.ws registration entry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds the parts annotations cannot: no transaction is broadcast, no SOL moves, and a preview_id is returned that is a required input to the subsequent write. It also discloses the human-approval gate the agent must clear before spending.

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, then the returned artifacts, then the required follow-up flow, so an agent can act after one read. There is mild redundancy between 'Broadcasts nothing' and 'before any SOL moves', but neither sentence is wasted.

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 15 parameters and no output schema, the definition carries the burden of explaining what comes back, and it does exactly that by listing the five preview fields. It also closes the loop on how the preview feeds the write, so nothing an agent needs in order to call it correctly is missing.

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 15 parameters are already documented, and the description adds no per-parameter meaning. Its only added value is that the arguments passed here are identical to those later given to register_agent_identity, which is useful but does not deepen any individual field's semantics.

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 names a specific verb (preview) plus the exact sibling it shadows (register_agent_identity) and enumerates the returned artifacts: identity PDA, already-registered status, paying wallet, cost, and the registration document. It also states 'Broadcasts nothing', which cleanly separates it from the sibling that actually writes.

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

Usage Guidelines5/5

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

Guidance is explicit and obligatory: 'Use this before register_agent_identity every time', then show the preview to the user, get a clear yes, and call the sibling with the same arguments plus the returned preview_id and confirm_spend: true. The alternative is named along with the exact condition that selects it.

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