Skip to main content
Glama

Tokens side by side

compare_tokens
Read-onlyIdempotent

The same checked facts for 2 to 5 tokens, side by side: price, market cap and whether the sources agree on it, commits by people over 90 days, fees over 30 days, real market cap and days to sell it, owner powers, top-10 wallet share, unlocks in 30 days, signals in the last month. No ranking. Use for “X or Y” and “compare these” questions.

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": {
      "tokens": "<tokens>"
    },
    "name": "compare_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the text answer: en or ruen
tokensYes2 to 5 token names, tickers or ids, e.g. ["UNI", "AAVE"]

Output Schema

NameRequiredDescriptionDefault
atYes
langYes
rowsYes
linksYes
missingYesQueries that matched no token

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, so the description adds value by disclosing the exact output dimensions, including agreement across sources, fees, real market cap with days-to-sell, and unlock horizon. The "No ranking" note is a meaningful behavioral constraint. Return packaging is left to the output schema, which is acceptable.

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?

Front-loads the core operation and cardinality, then a dense but informative metric list, then closes with usage triggers. The metric enumeration is long but each item is a real output field, so it earns its space; a slight trim would improve scanability.

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?

With an output schema present, the description need not explain return formatting, and it correctly spends its budget on scope, metric coverage, and usage triggers. The only modest gap is no guidance on what happens with invalid or unknown tickers in a multi-token request.

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%, so both the tokens array bounds/format and the lang enum are already documented. The description restates the 2-to-5 token cardinality but adds nothing about accepted identifier forms or language behavior beyond the schema. Baseline 3 applies.

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?

States a specific operation (side-by-side comparison of the same checked facts) with an explicit scope of 2 to 5 tokens, then enumerates every metric returned. An agent can distinguish this from single-token checks like token_check without opening any 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?

Gives concrete trigger phrasing: use for "X or Y" and "compare these" questions, which maps directly onto user intent. It also declares "No ranking," heading off a likely wrong expectation. It stops short of naming an explicit alternative for single-token lookups, but the comparative framing is clear.

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