Skip to main content
Glama

Tokens of a policy

token_search
Read-only

The Cardano native tokens and NFTs minted under a policy id (a collection), the newest first, or one token found by its fingerprint or ADA Handle: name, fingerprint, policy id, quantity and image.

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": {
      "query": "<query>"
    },
    "name": "token_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPolicy id (56 hex characters), fingerprint (asset1…) or ADA Handle ($name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value with the ordering guarantee ('newest first') and the returned field set, but says nothing about pagination, result caps, or what happens when a policy id has a very large collection.

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?

One dense sentence that front-loads the collection case before the single-token case, with no filler. The trailing colon-list of returned fields reads slightly like a data dump but is informative rather than redundant.

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?

With no output schema, the description usefully enumerates the returned fields (name, fingerprint, policy id, quantity, image). However, for a listing tool over potentially large collections it omits pagination/limit behavior, which is the main thing an agent needs to call it correctly at scale.

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 the single query parameter already documents the three accepted formats (56-hex policy id, asset1… fingerprint, $handle). The description restates the same three input forms rather than adding syntax, precedence, or error behavior beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource precisely (Cardano native tokens and NFTs minted under a policy id) and covers both operating modes: collection listing and single-token lookup by fingerprint or ADA Handle. It does not explicitly contrast with the sibling token_details, so the agent must infer the boundary between search and detail lookup.

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?

Clear conditional guidance is embedded: pass a policy id to get the whole collection, or a fingerprint/handle to get exactly one token. There are no explicit exclusions or named alternatives (e.g. when to prefer token_details), 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.