Skip to main content
Glama

One stock's record

get_stock_record
Read-only

Get one stock's record as its stock page states it: how many times the model called it long or short and how many of those calls were hits. The sealed tallies (books from sealed_from, sealed before their outcomes) are the headline, with the long and short split; the reconstructed and backtest tallies are older books, each under its own label, and are never added to the sealed ones. Also the best call, the worst miss, the newest sealed call and every call with its day, newest first, through the newest date by which every book is graded. Use this for a stock's hit rate, get_stock_resolved_history for every day it was ranked, and explain_resolved_prediction for the evidence behind one call. A ticker with no row in any graded book is an error.

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_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesStock ticker, for example AAPL. Upper or lower case both work.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description adds genuinely non-obvious behavioral rules: sealed tallies are the headline, reconstructed and backtest books are 'never added to the sealed ones', and results run newest-first through the newest date by which every book is graded. It does not discuss volume, pagination, or limits, which keeps it just short of a 5 given the output schema already carries return structure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the alternative-routing sentence is well placed, but the middle sentence is a long run-on stacking domain jargon ('sealed tallies', 'books', 'graded') that forces re-reading. Nothing is wasted verbatim, yet the density and lack of sentence breaks hurt scannability for an agent parsing it quickly.

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 one-parameter read tool with full annotations and an output schema, the description covers what is returned conceptually, the aggregation rules between book types, ordering, and the error case. The only residual gap is that undefined domain terms ('sealed_from', 'graded book') are used without a short gloss, which could leave a fresh agent uncertain about scope.

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?

There is a single required parameter with 100% schema description coverage, so the schema already explains the ticker format and case-insensitivity. The description adds no further meaning about the ticker (e.g. valid formats, unknown-ticker behavior beyond the error note), 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 opens with a specific verb+resource ('Get one stock's record') and then enumerates exactly what that record contains: sealed tallies with long/short split, reconstructed and backtest tallies under separate labels, best call, worst miss, newest sealed call, and the full call list newest-first. It explicitly distinguishes itself from get_stock_resolved_history and explain_resolved_prediction, so an agent can pick it without opening any schema.

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 states the selecting condition directly ('Use this for a stock's hit rate') and names the two alternatives with the condition that picks each ('for every day it was ranked', 'for the evidence behind one call'). It also documents the failure case ('A ticker with no row in any graded book is an error'), leaving nothing to inference.

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.