Skip to main content
Glama

Search Tokens

search_tokens
Destructive

Search tokens by name, symbol or contract address across chains. $0.005 USDC.

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": {
      "q": "<q>"
    },
    "name": "search_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesNon-empty token name, symbol or public contract address to search for.
chainNoOptional lowercase chain identifier to filter results, for example base or solana. Omit to search across chains.
limitNoMaximum number of search results, from 1 to 25; default 10.
paymentNoOptional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / chain / description
      Added value: +"Optional lowercase chain identifier to filter results, for example base or solana. Omit to search across chains."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of search results, from 1 to 25; default 10."
    • addedInput schema / properties / payment / description
      Added value: +"Optional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again."
    • addedInput schema / properties / q / description
      Added value: +"Non-empty token name, symbol or public contract address to search for."
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare openWorldHint=true, idempotentHint=false and destructiveHint=true, and the description adds the key behavioral fact that the call costs $0.005 USDC. It does not, in the body, disclose that repeated paid calls may charge again or that an initial unpaid call returns payment requirements — that context only lives in the schema parameter text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action and followed by the price. Nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and the input schema is fully documented, so the description does not need to explain return values. The price note covers the most important non-schema fact; only the payment-handshake behavior is left to the parameter description.

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 description coverage is 100%, so every parameter (q, chain, limit, payment) is already documented with defaults and constraints. The description's mention of name/symbol/address and cross-chain scope mirrors the schema rather than adding new semantics, so the baseline of 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 uses a specific verb and resource ("Search tokens") and names the searchable facets (name, symbol, contract address) plus cross-chain scope, which lets an agent distinguish a discovery tool from the lookup/check siblings like token_snapshot or contract_check. It stops short of explicitly naming a sibling it complements.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by "search by name, symbol or contract address across chains," which tells the agent what inputs are appropriate. However, there is no explicit when-to-use versus alternatives such as token_snapshot or contract_check, and no guidance on the payment negotiation order (call without payment first).

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