Skip to main content
Glama

List NFTs

list_nfts
Read-only

List all NFTs owned by a Sui wallet, including kiosk-stored items, with display metadata and raw Move data. Uses efficient GraphQL queries to avoid fullnode rate limits.

Instructions

(Recommended for NFTs) List NFTs owned by a wallet, including kiosk-stored NFTs. Returns display metadata (name, description, image URL) and raw Move struct contents inline. Backed by GraphQL — single query per kiosk page, no fullnode rate-limit risk. Pagination: pass cursor from a prior response to fetch the next page; the response omits next_cursor when the wallet is fully enumerated. Returns at most limit NFTs. Use list_nft_collections for a cheaper count-only summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMost NFTs to return (default 50, max 1000).
cursorNoOpaque pagination token from a prior response's `next_cursor`. Omit on first call.
addressYesOwner wallet address (0x...)
networkNoNetwork: 'mainnet' (default) | 'testnet' | 'devnet'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.20.0
    • changedInput schema / properties / limit / description
      Previous value: -"Target page size (default 50, max 1000). Result may slightly exceed this at GraphQL page boundaries."New value: +"Most NFTs to return (default 50, max 1000)."
    • addedInput schema / properties / limit / maximum
      Added value: +1000
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / network / description
      Previous value: -"Which Sui network to run this call against: 'mainnet' (default), 'testnet', or 'devnet'. Set this per-call — different tool calls in the same session can target different networks (e.g. to compare a value on testnet against mainnet)."New value: +"Network: 'mainnet' (default) | 'testnet' | 'devnet'"
  2. First observedv1.5.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only state readOnlyHint=true and openWorldHint=true. The description adds meaningful behavioral context: GraphQL-backed with single query per kiosk page and no fullnode rate-limit risk, pagination semantics (next_cursor omitted when enumeration is complete), return contents (display metadata plus raw Move structs), and limit behavior. No contradiction with annotations; rich transparency is provided.

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 longer than average but every sentence carries operational value: scope, return shape, backend rationale, pagination details, limit, and alternative tool. Information is front-loaded with the core purpose before implementation details. Slight redundancy with schema (e.g., limit default) exists, but the overall structure is efficient and scannable.

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?

Given there is no output schema, the description adequately covers expected return fields (display metadata and raw Move contents) and pagination contract. It also names the network default and the alternative tool for count-only needs. For a read-only paginated list tool, nothing critical is missing for an agent to select and call it correctly.

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 each parameter is already documented. The description adds practical semantics beyond the schema: cursor is 'from a prior response', next_cursor omission signals completion, and limit is capped at 1000 with default 50. This improves an agent's ability to form correct pagination loops, justifying a score above the baseline 3.

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 uses a specific verb-resource pair: 'List NFTs owned by a wallet', and expands scope with 'including kiosk-stored NFTs'. It clearly distinguishes this from sibling list_nft_collections (explicitly a count-only summary) and from list_owned_objects (which covers all objects, not just NFTs). A model can infer exactly what this tool does 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?

The description explicitly recommends this tool for NFTs, explains the pagination invocation pattern, and names the cheaper alternative list_nft_collections. However, it does not contrast with list_owned_objects or explain when to prefer that sibling instead. The guidance is strong but not exhaustive across all relevant siblings.

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