Skip to main content
Glama
Ethereum MCP
by ETHCF

get_coin_ohlc

Fetch OHLC candlestick data for a specified coin and time range to analyze price trends and market movement.

Instructions

Get OHLC (candlestick) data for a coin

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": {
      "id": "<id>"
    },
    "name": "get_coin_ohlc"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCoin ID (e.g., 'bitcoin')
daysNoDays (1, 7, 14, 30, 90, 180, 365, max)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full disclosure burden, yet it only restates the data type. It says nothing about whether the call is read-only (implied but unstated), what the response shape is (array of OHLCV objects vs. nested), whether candles are daily or aggregated for multi-day ranges, or any rate-limit/auth constraints.

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 zero filler; the verb and resource come first and the parenthetical clarification is immediately useful. It is efficient, though its brevity edges toward under-specification rather than model concision.

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 two-parameter read-only getter, the description covers the core purpose, and the schema handles parameters. However, with no output schema and no annotations, the agent gets no information about the returned candle structure or how the 'days' value affects candle granularity, which are the main unknowns an agent would hit.

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%, including the enumerated day values (1, 7, 14, 30, 90, 180, 365, max) and the coin ID example, so the schema already carries the parameter meaning. The description adds nothing on top of that, which is the baseline 3 case.

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?

Names a specific verb ('Get') and resource ('OHLC (candlestick) data for a coin'), and parenthetically clarifies the format so an agent knows this returns candles rather than raw price points. It does not distinguish itself from near-neighbors like get_coin_chart or get_coin_prices_historical, so it stops short of a 5.

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?

The description contains no when-to-use or when-not-to-use guidance whatsoever. With siblings named get_coin_chart, get_coin_history, and get_coin_prices_historical in the catalog, the agent is left to guess which one returns candle data versus a plain series.

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