Skip to main content
Glama

Read a stock price

get_price_snapshot
Read-onlyIdempotent

One US stock's latest price in US dollars and its change since the previous session's close. In the session the price is read every half hour, so it is up to 30 minutes old, and price_source is session; otherwise it is the last close, timed at 16:00 New York time or 13:00 on an early close such as the day after Thanksgiving, and price_source is 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": {
      "ticker": "<ticker>"
    },
    "name": "get_price_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesThe stock's ticker as SEC lists it, such as AAPL or BRK-B, in any case; a share class may use a dot or a dash, BRK.B or BRK-B.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, closed-world profile, and the description goes well past them: it discloses a half-hour refresh cadence, up to 30 minutes of staleness, and the two mutually exclusive sourcing modes with their cut-off times (16:00 New York, 13:00 on early closes). The price_source field semantics are explained as part of that behavior, which an agent cannot derive from the annotations or schema.

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 returned quantities are front-loaded and the timing caveats follow in a single dense conditional sentence with no filler. The session/close clause is somewhat run-on and slightly harder to parse than two shorter sentences would be, but nothing is 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?

With no output schema, the description carries the return contract and does state the currency, the change quantity, and the price_source discriminator. It leaves two gaps an agent would care about: whether "change" is an absolute amount or a percentage, and what happens for an unknown or non-US ticker.

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% and the ticker parameter already documents SEC formatting with BRK.B/BRK-B examples, so the description is not obliged to repeat it. Its only added meaning is that the ticker must resolve to a US-listed equity, which is marginal but does narrow interpretation. Baseline 3 applies.

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?

"One US stock's latest price in US dollars and its change since the previous session's close" gives a specific verb-free but precise resource plus the exact quantities returned, and the US-equity scope implicitly separates it from the crypto siblings. It stops short of naming an alternative, so an agent must infer the boundary rather than read it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The text describes what the data means but never says when to reach for this tool instead of a snapshot sibling such as get_financial_metrics_snapshot or get_company_dossier. The only scoping signal is "one US stock," which is implied rather than an explicit use condition or exclusion.

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.

Resources