Skip to main content
Glama
alpacahq

alpaca-mcp-server

Official
by alpacahq

get_option_latest_trade

Retrieve recent trade data for option contracts to monitor market activity and analyze price movements.

Instructions

Retrieves the latest trade for one or more option contracts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feedNoThe source feed of the data. `opra` is the official OPRA feed, `indicative` is a free indicative feed where trades are delayed and quotes are modified. Default: `opra` if the user has a subscription, otherwise `indicative`. opra
symbolsYesA comma-separated list of contract symbols with a limit of 100.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the obvious action and does not mention potential delays, feed differences, data source implications, or any limitations. Without this, the agent cannot anticipate the behavior beyond the basic function.

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?

A single, concise sentence communicates the core functionality without any unnecessary words. The structure is front-loaded with the verb and resource.

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?

Given the tool's simplicity, the presence of a complete output schema, and full schema descriptions for parameters, the description is adequate. It could be enhanced with usage guidance, but the essential information for invoking the tool is present.

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%, and both parameters (feed, symbols) have descriptive schema text. The tool description itself adds no additional parameter meaning, so the baseline of 3 is appropriate.

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 clearly states the action (retrieves), the resource (latest trade), and the scope (one or more option contracts). It distinguishes itself from sibling tools like get_option_latest_quote (quotes vs. trades) and get_option_trades (historical vs. latest).

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 description provides no guidance on when to use this tool versus alternatives such as get_option_latest_quote or get_option_trades. It does not mention scenarios, prerequisites, or exclusions. The usage context is implied by the name but not explicitly stated.

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

Deploy Server

Other Tools