Skip to main content
Glama

chain_nft_approvals

Read-only

NFT approval checker — Which marketplaces or contracts can move a wallet's NFTs? Checks setApprovalForAll (isApprovedForAll) for an owner on an ERC-721 or ERC-1155 collection against well-known operators (OpenSea Seaport conduit on all 5 chains; Blur, LooksRare, X2Y2, Rarible on Ethereum) plus any operators you pass, with ready revoke calldata for each approval. Optional token_ids check ownerOf + single-token approvals. Verdict NO_APPROVALS / MARKETPLACE_APPROVALS / REVIEW. Params: owner (required), collection (required), chain (optional: ethereum default, base, arbitrum, optimism, polygon), operators (optional, comma-separated, max 10), token_ids (optional, comma-separated, max 10). Price: $0.003 USDC (Base, 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": {
      "owner": "<owner>",
      "collection": "<collection>"
    },
    "name": "chain_nft_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerYes0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
collectionYes0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say read-only and non-destructive; the description adds substantial context beyond that: which operators are checked and on which chains, the returned verdict taxonomy (NO_APPROVALS / MARKETPLACE_APPROVALS / REVIEW), that revoke calldata is included, and that the call costs $0.003 USDC via x402. The cost/payment disclosure is behavior an agent cannot get from annotations or schema.

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 core question, then mechanism, then scope, then params, then price — a sensible information order with no filler sentences. It is dense to the point of being a run-on paragraph, which slightly hurts scanability, but nearly every clause carries information.

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 read-only two-parameter tool with no output schema, the definition covers scope, chain coverage, operator coverage, verdict outcomes, revocation output, optional parameters, and pricing. An agent has everything needed to decide to call it and to construct the arguments.

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

Parameters5/5

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

The schema carries only placeholder addresses for owner and collection, so the description does the heavy lifting: it enumerates the valid chain values with the default (ethereum), specifies operators as comma-separated max 10, and explains that token_ids triggers ownerOf plus single-token approval checks with max 10. This is meaning well 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?

Opens with a specific verb-and-resource framing plus a plain-language question: 'NFT approval checker — Which marketplaces or contracts can move a wallet's NFTs?' It names the exact mechanism (setApprovalForAll / isApprovedForAll) and asset standards (ERC-721, ERC-1155), which cleanly separates it from balance/allowance siblings.

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?

States the triggering scenario clearly (auditing which operators can move a wallet's NFTs) and notes the optional deeper token-level check via token_ids. It does not explicitly name a sibling to use instead for ERC-20 approvals (e.g., chain_allowance), so routing against alternatives is left to 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