Skip to main content
Glama

zkSync NFT owner

zksync_nft_owner
Read-only

Owner of an NFT on zkSync Era: the wallet that holds one ERC-721 token id right now (ownerOf), plus the collection's name and symbol. Use to verify who holds an NFT before a trade, a mint gate or an airdrop; for how many a wallet holds use zksync_nft_balance, for the token's metadata zksync_nft_metadata. A missing contract or a token that does not exist is 422, uncharged. Example: contract=0x0616e5762c1E7Dc3723c50663dF10a162D690a86, tokenId=1. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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>",
      "tokenId": "<tokenId>"
    },
    "name": "zksync_nft_owner"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenIdYesToken id, a whole number
contractYes0x ERC-721 collection contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds real value beyond them: the 422-uncharged behavior for a missing contract or nonexistent token, the $0.01 x402 USDC/card-key pricing, the 10 free calls, and the warning that repeats are charged. It does not discuss rate limits or auth mechanics beyond payment, so it falls just short of exhaustive.

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-loads the core purpose and return values, then usage, then alternatives, then error/pricing details. Dense but every sentence carries information; the pricing and free-tier clauses are somewhat verbose but relevant to invocation cost.

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, yet the description states exactly what is returned (owner address, collection name, symbol). Combined with error behavior, cost model, and a concrete example, an agent has everything needed to call it correctly and interpret the result.

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, but the description adds a worked example (contract=0x0616e5762c1E7Dc3723c50663dF10a162D690a86, tokenId=1) that clarifies expected formats for both parameters. It does not explain the unusual string|number|boolean union type on tokenId, which the schema leaves ambiguous.

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 a specific verb+resource: returns the current owner (ownerOf) of one ERC-721 token id plus the collection's name and symbol. It is clearly distinguishable from zksync_nft_balance (count) and zksync_nft_metadata (metadata), which it names explicitly.

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?

Gives concrete when-to-use scenarios (verify holder before a trade, mint gate, airdrop) and routes the agent elsewhere for counts and metadata by naming both siblings. The boundary between this tool and its closest alternatives is fully explicit.

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