Skip to main content
Glama

chain_nft_owner

Read-only

$0.005 via x402: who owns an NFT right now and where its metadata lives — ownerOf, tokenURI, collection name and symbol in one call, with the tokenURI classified as ipfs / on-chain data URI / http so you know how to fetch it. Read from the contract, so it is correct for tokens minted seconds ago and collections no marketplace has indexed. Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chain_nft_owner"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon|gnosis (default base)
contractNoERC-721 contract address (0x...)
token_idNoToken ID (decimal or 0x hex)
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnly and openWorld; the description adds the price point ($0.005 via x402), the two-step payment handshake, the fact it reads contract state directly rather than an index (explaining freshness), and the supported chain set. That is exactly the extra context annotations cannot convey.

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 price/transport tag and the core purpose are front-loaded, and the freshness argument and chain list follow in a logical order. It is a dense single block with no filler, though it packs several ideas into one paragraph where a short break would aid scanning.

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?

There is no output schema, and the description compensates by enumerating the returned fields and explaining that tokenURI is classified as ipfs / on-chain data URI / http so the agent knows how to fetch it. Payment and freshness behavior are covered, leaving nothing essential missing for a read-only single-token lookup.

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 coverage is 100% and already documents chain, contract, token_id, and x_payment, so the baseline is 3. The description reinforces the chain list and the ERC-721 assumption but adds no syntax or format detail beyond the schema.

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?

Names the specific resource and the exact fields returned: 'who owns an NFT right now and where its metadata lives — ownerOf, tokenURI, collection name and symbol in one call.' That distinguishes it from supply/identity/balance siblings at a glance, and the scope (ERC-721 read on six chains) is unambiguous.

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 a clear situational cue — 'correct for tokens minted seconds ago and collections no marketplace has indexed' — and explains the x402 flow ('omit it to get the price and terms'). It does not name a sibling alternative or state exclusions (e.g., ERC-1155 or non-contract-indexed cases), so it stops short of a 5.

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.