Skip to main content
Glama

get_token_metadata

Retrieve enriched token metadata, including name, symbol, decimals, and additional details, from a token asset or contract ID to identify and display token information.

Instructions

Get enriched metadata for a token including name, symbol, decimals, and additional info.

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": {
      "assetId": "<assetId>"
    },
    "name": "get_token_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYesToken asset / contract ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, and it discloses almost nothing: no statement that it is a read-only operation, no error behavior for an invalid or unknown assetId, no caching or rate-limit notes. The phrase 'additional info' is an undefined catch-all that gives the agent no concrete expectation of the payload.

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?

A single front-loaded sentence with the core fields up front. The trailing 'and additional info' is vague filler that consumes space without conveying meaning.

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 one-parameter read tool with no output schema, the description is only adequate: it names a few returned fields but not the full shape, and leaves 'additional info' and failure modes unspecified. A little more on the returned structure or unknown-asset behavior would complete it.

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% and the single assetId parameter is documented as 'Token asset / contract ID', so the schema does the heavy lifting. The description only implies that the parameter identifies a token and adds no format, type, or lookup guidance (e.g., whether an address string is accepted versus a numeric ID).

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 ('Get') and resource ('enriched metadata for a token') and enumerates representative fields (name, symbol, decimals). It does not distinguish itself from near-siblings like get_token_stats, get_token_price, or get_token_rankings, which an agent would need in order to pick correctly.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the many other token-related siblings, nor any prerequisites or exclusions. The only implicit guidance is that it returns static token attributes rather than prices or stats, which the agent must infer.

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