Skip to main content
Glama
MCP Crypto Price Monitor

MCP Crypto Price Monitor

by Isallkun

get_price_history

Retrieves past OHLC price history for a coin over 1–365 days in your target currency, so you can analyze trends and track how prices moved over time.

Instructions

Dapatkan riwayat harga koin dalam beberapa hari terakhir.

Args: coin: Nama atau simbol koin (contoh: "bitcoin" atau "btc") days: Jumlah hari ke belakang (1-365, default: 7) currency: Mata uang target (default: "usd")

Returns: Riwayat harga OHLC (Open, High, Low, Close)

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": {
      "coin": "<coin>"
    },
    "name": "get_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinYes
daysNo
currencyNousd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 full burden. It does disclose the return format (OHLC series) and the valid days range, but it says nothing about candle granularity (daily vs intraday), data source, rate limits, or error behavior for unknown coin symbols.

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?

The purpose sentence is front-loaded, and the Args/Returns blocks are structured and free of filler. The docstring-style formatting is slightly heavier than needed for three parameters, but every line carries information.

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 three-parameter read tool with no output schema and no annotations, the definition covers the essentials: what is returned (OHLC history), the parameter meanings and defaults, and the accepted range. Only the candle granularity and supported currency set remain unspecified.

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 description coverage is 0%, so the description has to compensate, and it largely does: coin accepts a name or symbol with concrete examples, days is bounded to 1-365 with a stated default of 7, and currency defaults to 'usd'. The only gap is the absence of a list of supported currency codes.

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+resource combination ('Dapatkan riwayat harga koin') and scopes it to 'beberapa hari terakhir', so the agent knows this returns historical rather than current data. It does not explicitly distinguish itself from the sibling get_price, so the differentiation is only implied by the word 'riwayat'.

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 context is only implied: the days parameter and the phrase 'beberapa hari terakhir' signal historical lookups, and the agent can infer that current-price queries belong to get_price. There is no explicit statement of when to prefer this tool over the siblings, and no exclusions or prerequisites.

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