Skip to main content
Glama

Agent Data API

eth_nft_metadata

Metadata for an ERC-721 or ERC-1155 token on Ethereum: collection name, current owner (ERC-721), token URI, and the metadata JSON fetched and decoded from IPFS, Arweave, HTTPS or an inline data URI, with a browser-loadable image URL. Costs $0.008 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
tokenIdYesToken id as a decimal string
contractYesNFT collection contract on Ethereum

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 metadata is fetched from IPFS, Arweave, HTTPS, or inline data URIs, that an image URL is produced, and that the call costs $0.008 USDC on Base via x402. It does not cover failure behavior, token-standard-specific limitations, or payment mechanics beyond price, 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?

It is a single dense sentence, front-loaded with the core resource and return contents, followed by the payment detail. Every clause adds useful information, though the sentence is long enough that it could be split for easier scanning.

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?

With no output schema and no annotations, the description adequately covers return values and the payment requirement, which are the critical pieces an agent needs. It omits error handling and edge cases such as missing metadata or ERC-1155 owner semantics, leaving a small gap.

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 the schema already documents `contract` and `tokenId` fully. The description mentions ERC-721 vs ERC-1155 behavior for owner retrieval but adds little parameter-level semantics beyond what the schema provides, making 3 the correct baseline.

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 resource (ERC-721/ERC-1155 token metadata) and enumerates exactly what is returned: collection name, owner, token URI, decoded metadata JSON, and image URL. The chain qualifier 'on Ethereum' distinguishes it from the many sibling `*_nft_metadata` tools for other networks.

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?

The context is clear: use this for NFT metadata on Ethereum, as opposed to contract info or token snapshots. However, it does not explicitly name alternatives or say when *not* to use it, leaving sibling selection mostly to the agent's inference.

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