Skip to main content
Glama

get_price_history_summary

Compare current material prices, spreads, and volume against historical norms for a ticker and exchange over a selected lookback period to spot market shifts.

Instructions

Compare current market conditions to historical norms.

Args:
    ticker: Material ticker symbol(s). Single (e.g., "RAT") or
            comma-separated (e.g., "RAT,COF,SF").
    exchange: Exchange code (e.g., "CI1"). Single exchange only.
              Valid: AI1, CI1, CI2, IC1, NC1, NC2.
    days: Historical lookback period in days. Valid: 1-30. Default: 7.

Returns:
    Plain text historical comparison with current vs. historical
    prices, spreads, volume, and insights.

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>",
      "exchange": "<exchange>"
    },
    "name": "get_price_history_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
tickerYes
exchangeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose the return shape (plain text covering current vs. historical prices, spreads, volume, and insights) and hard limits on inputs, but says nothing about permissions, rate limits, caching, or whether the historical data source is the same as get_price_history.

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 one-line purpose is front-loaded, followed by compact Args and Returns blocks that are easy to scan. The Returns section is somewhat redundant given an output schema exists, but nothing is padded or wasted.

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 an output schema, the definition supplies the input formats, valid values, and defaults that the schema omits. The remaining gap is sibling disambiguation rather than anything about calling the tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, and the description fully compensates: it shows the single and comma-separated ticker formats with examples, enumerates all six valid exchange codes, and states the 1-30 day range plus the default of 7. Every parameter gains meaning beyond the bare schema types.

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 opening sentence gives a specific verb and resource: comparing current market conditions against historical norms over a lookback window. It is clear what the tool produces, but it never distinguishes itself from the sibling get_price_history, so an agent cannot tell from the description alone which of the two to call.

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 is only implied by the phrase 'compare current market conditions to historical norms'; there is no explicit statement of when this is preferred over get_price_history or get_market_summary, and no exclusions or prerequisites. An agent can infer a reasonable use case but must guess at the boundary with siblings.

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