Skip to main content
Glama

defillama_stablecoin

Read-only

Fetch one stablecoin's market-cap history and per-chain distribution by DefiLlama stablecoin id from defillama_stablecoins, such as 1 for Tether. The full result can exceed 20 MB, so narrow it with chain, start and end, or include_bridged=false. Use defillama_stablecoins to discover ids or defillama_stablecoin_charts for total market-cap series.

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": {
      "asset": "<asset>"
    },
    "name": "defillama_stablecoin"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoKeep dated points at or before this UNIX timestamp in seconds.
assetYesDefiLlama stablecoin id from defillama_stablecoins, e.g. 1 for Tether.
chainNoKeep one chain in chainBalances and currentChainBalances, case-insensitive; names come from defillama_stablecoin_chains.
startNoKeep dated points at or after this UNIX timestamp in seconds.
include_bridgedNoSet false to drop the bridgedTo breakdown from dated points. Defaults to true.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / chain
      Added value: +{
      +  "description": "Keep one chain in chainBalances and currentChainBalances, case-insensitive; names come from defillama_stablecoin_chains.",
      +  "type": "string"
      +}
    • addedInput schema / properties / end
      Added value: +{
      +  "description": "Keep dated points at or before this UNIX timestamp in seconds.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / include_bridged
      Added value: +{
      +  "description": "Set false to drop the bridgedTo breakdown from dated points. Defaults to true.",
      +  "type": [
      +    "null",
      +    "boolean"
      +  ]
      +}
    • addedInput schema / properties / start
      Added value: +{
      +  "description": "Keep dated points at or after this UNIX timestamp in seconds.",
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld, and the description adds information the annotations do not: the full payload can exceed 20 MB and should be narrowed, which materially affects invocation strategy. It does not mention rate limits, auth, or pagination behavior, so it falls short of a 5, but the size warning is exactly the kind of beyond-annotation context that matters.

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?

Three sentences, front-loaded with purpose, followed by the size caveat and sibling routing. Nothing is redundant with the title or schema, and every sentence changes how an agent would call the tool.

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

Completeness5/5

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

An output schema exists, so return values need not be explained. Given the 5-parameter, single-required-arg tool with full schema coverage, the description supplies everything an agent needs: what it fetches, the id source, how to keep the response small, and which siblings cover adjacent questions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining that chain/start/end/include_bridged are narrowing filters to control payload size and by giving a concrete id example for the required asset parameter. It stops short of format details on the timestamps or chain naming, which the schema already handles.

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 verb (Fetch) and resource (one stablecoin's market-cap history and per-chain distribution), keyed to a DefiLlama stablecoin id with a concrete example ('1 for Tether'). It also names the two siblings that do different things, so an agent can distinguish it 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 Guidelines5/5

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

Explicitly routes the agent: defillama_stablecoins for discovering ids, defillama_stablecoin_charts for total market-cap series. It also states the narrowing condition (chain, start/end, or include_bridged=false) that makes this tool tractable, which is a when-to-use constraint rather than just a description.

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.