Skip to main content
Glama

fio_get_price_history

Read-onlyIdempotent

Retrieve historical daily price data for a commodity exchange ticker to identify market trends across a chosen number of recent days.

Instructions

Get historical daily price data for a commodity exchange ticker. Useful for spotting trends.

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": {
      "ticker": "<ticker>"
    },
    "name": "fio_get_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of most recent days to return (default 90)
tickerYesExchange ticker, e.g. 'CU.NC1'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered elsewhere. The description adds the meaningful behavioral detail that results are daily-granularity historical data, but says nothing about data availability windows, behavior on an unknown ticker, or upper bounds on the days value.

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?

Two short sentences, front-loaded with the core verb and resource, with no filler or repetition. Nothing is wasted, though the second sentence is thin enough that it could have carried more substance at no cost.

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 simple two-parameter read tool with full schema coverage and annotations, the description is largely adequate. However, with no output schema, an agent has no idea what a returned daily price record contains (open/high/low/close/volume), which is the main 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 both parameters are already documented (including the default of 90 days and the 'CU.NC1' ticker example). The description's only contribution is clarifying that returned points are daily, which marginally contextualizes the days parameter. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Get historical daily price data for a commodity exchange ticker.' The 'daily' granularity and 'exchange ticker' scope are concrete and let an agent distinguish this from trade-level or order-book siblings such as fio_get_exchange_trades. It does not explicitly name which sibling to use instead, 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 Guidelines3/5

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

'Useful for spotting trends' implies a use case (trend analysis over a time series) but gives no explicit when-to-use vs when-not, no alternative tool named, and no prerequisites such as a valid exchange ticker. Guidance is only implied.

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