Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

tokens_metadata

Fetches token metadata—symbol and decimals—by contract address and chain ID to support accurate token display and formatting.

Instructions

Get token metadata (symbol, decimals) by address and chain

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": {
      "address": "<address>",
      "chainId": "<chainId>"
    },
    "name": "tokens_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesToken contract address (0x...)
chainIdYesChain ID
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; 'Get' implies a read-only lookup and it does disclose the returned fields. However, it says nothing about behavior for unknown/unverified addresses, network or cache behavior, or permission requirements, which are the traits an agent would want beyond a bare read implication.

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 tight sentence with the key verb and the returned fields up front and nothing redundant. It is perhaps slightly too terse for the behavioral burden it must carry, but as structure goes it is efficient and front-loaded.

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?

For a simple 3-parameter read tool with full schema coverage, the description supplies the one thing the structured fields lack: what the call returns (symbol, decimals), which partly substitutes for the absent output schema. Adding a note on unsupported chains or unknown tokens would close the remaining gap.

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 address (0x contract address), chainId, and the optional workspace override are already fully documented in the schema. The description restates the address/chain pairing without adding format, validation, or chain-support detail, so 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 a specific verb ('Get') and resource ('token metadata'), and even enumerates the returned fields (symbol, decimals) plus the lookup keys (address, chain). It is immediately comprehensible; it simply doesn't state how it differs from sibling token tools like tokens_blocklist or tokens_whitelist, though those are evidently different resources.

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 — resolve a token contract address on a given chain into symbol/decimals. There is no explicit when-to-use, no exclusions, and no mention of prerequisites such as needing a supported chain or a workspace context, leaving the agent to infer the call site.

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