Skip to main content
Glama

Beggar Bot

nft_metadata

NFT metadata API: NFT metadata for one ERC-721 or ERC-1155 token id on Base, Ethereum, Optimism, Arbitrum or Polygon - the token URI (tokenURI) and the JSON it points to (name, description, image, attributes), fetched from ipfs://, ar://, https or data: URIs, plus the NFT owner, royalty and spam / missing-metadata flags. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

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": {
      "contract": "<contract>",
      "token_id": "<token_id>"
    },
    "name": "nft_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase (default)
holderNooptional address
contractYescollection address
token_idYestoken id (decimal or hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 the pricing model ($0.02 USDC via x402), that settlement occurs only after a 2xx response, that input errors are never charged, and which URI schemes (ipfs://, ar://, https, data:) are resolved. It stops short of stating rate limits, auth prerequisites, or failure behavior for unresolvable URIs, which keeps it from a 5.

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?

The definition is front-loaded with the tool's identity and packed into two sentences with essentially no filler; every clause conveys scope, return contents, or billing terms. It is dense to the point of being a run-on, which slightly hurts scanability.

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?

For a paid, unannotated read tool with no output schema, the description covers return contents and billing behavior well. It still leaves gaps an agent would care about: what happens on unresolvable token URIs, whether spam/missing-metadata flags can be absent, and any rate or auth constraints.

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 baseline is 3, and the description adds genuine meaning by enumerating the supported chains (Base default, Ethereum, Optimism, Arbitrum, Polygon), which the schema only hints at with "base (default)". It adds nothing about the holder or token_id format parameters beyond what the schema already says.

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 states a specific verb and resource: fetching NFT metadata for one ERC-721 or ERC-1155 token id, and enumerates exactly what is returned (tokenURI, resolved JSON name/description/image/attributes, owner, royalty, spam flags). That specificity separates it from single-purpose siblings such as nft_owner or bytecode_metadata without needing to name them.

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 "for one ... token id", which signals a single-token lookup rather than a batch call, and the supported chains are listed. However, there is no explicit when-to-use/when-not guidance and no named alternative such as nft_meta or erc20_metadata_batch, so the agent must infer routing from sibling names alone.

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.