Skip to main content
Glama

One stock's history

get_stock_resolved_history
Read-only

Get one stock's rows from graded books only, newest first: its forecast, rank, pick side and outcome in each book. Use this to follow one ticker across books, explain_resolved_prediction for the evidence behind one row, and get_resolved_batch for a whole book. An unknown ticker returns an empty list.

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": "get_stock_resolved_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return, 1 to 500. Default 120.
tickerYesStock ticker, for example AAPL. Upper or lower case both work.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Most rows to return, 1 to 500. Default 120."
    • addedInput schema / properties / ticker / description
      Added value: +"Stock ticker, for example AAPL. Upper or lower case both work."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real value beyond that: results are restricted to graded books, sorted newest first, and an unknown ticker yields an empty list rather than an error — a behavior an agent could otherwise misread as a failure.

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?

Two sentences, front-loaded with the core operation, then the routing guidance and the edge case. No filler or repeated fields.

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?

For a two-parameter read tool with a full output schema, the description covers scope, ordering, sibling routing and the empty-result edge case. Nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, with both ticker (case-insensitive, AAPL example) and limit (1–500, default 120) documented in the schema. The description adds only the empty-list behavior for unknown tickers and the newest-first ordering, so the baseline 3 applies.

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?

The description names a specific verb and resource ('Get one stock's rows') and enumerates the returned fields (forecast, rank, pick side, outcome) plus the scope ('graded books only', 'newest first'). It is clearly distinguishable from get_resolved_batch, which covers a whole book rather than one ticker.

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?

It gives an explicit use case ('follow one ticker across books') and names the two alternatives with their selecting conditions: explain_resolved_prediction for per-row evidence and get_resolved_batch for a whole book. Routing is unambiguous.

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.