Skip to main content
Glama

evm_get_nfts_by_owner

Retrieves all NFT token IDs owned by a specified wallet address in an ERC721Enumerable collection across supported EVM chains.

Instructions

Get all NFT token IDs owned by specific owner address in a collection. Parameter: owner (not address). Requires ERC721Enumerable.

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": {
      "chain": "<chain>",
      "contractAddress": "<contractAddress>",
      "owner": "<owner>"
    },
    "name": "evm_get_nfts_by_owner"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
limitNoMaximum number of NFTs to return (default: 100)
ownerYesOwner wallet address to query
contractAddressYesNFT contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the ERC721Enumerable requirement, a non-obvious constraint, but it does not reconcile 'all NFT token IDs' with the schema's default limit of 100, nor does it describe pagination, error behavior, or return format.

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 description is short and front-loads the core purpose. The line 'Parameter: owner (not address).' is terse and slightly cryptic, but every sentence contributes and there is no filler.

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 four-parameter read tool with no output schema, the description covers purpose, a key contract requirement, and the fact that token IDs are returned. However, it omits how the limit parameter affects the 'all' claim and does not describe failure behavior when ERC721Enumerable is unsupported.

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 75%, so the baseline is 3. The note 'Parameter: owner (not address)' adds a small clarification against confusing owner with contractAddress, but the schema already documents owner as the wallet address to query.

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 ('Get'), resource ('NFT token IDs'), and scope ('owned by specific owner address in a collection'). An agent can distinguish this from evm_get_nft_owner (single owner lookup) and evm_get_nft_balance (count) without opening the schema.

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?

It gives a clear precondition ('Requires ERC721Enumerable') and clarifies the correct parameter name ('owner (not address)'). It does not explicitly name alternatives such as evm_get_nft_balance for counts, but the context is sufficient to know when this tool applies.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools