Skip to main content
Glama

get_expired_expiries

Retrieve expired expiry dates for an underlying instrument using its instrument key, enabling historical contract analysis and expired-option tracking.

Instructions

List expired expiry dates available for an underlying instrument.

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": {
      "instrument_key": "<instrument_key>"
    },
    "name": "get_expired_expiries"
  }
}

Input Schema

NameRequiredDescriptionDefault
instrument_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only listing but does not state permissions, whether 'expired' means past expiries only, what the result looks like, or whether the instrument must currently be active. For a lookup tool this is a meaningful gap.

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?

It is a single front-loaded sentence with no wasted wording. The only shortfall is that the brevity leaves key information, particularly parameter format and return shape, unstated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter lookup with no output schema and no annotations, the description is minimally adequate. It is missing parameter format guidance and does not clarify what the returned expiry list contains, which an agent needs in order to invoke it confidently.

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

Parameters2/5

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

The schema has one required parameter with 0% description coverage, and the description only loosely implies that instrument_key refers to the underlying instrument. It gives no format, exchange, token, or symbol guidance, so an agent still does not know what value shape to supply.

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 description uses a specific verb ('List') and resource ('expired expiry dates') scoped to 'an underlying instrument,' so an agent can tell it returns expiry dates rather than contracts, candles, or quotes. It does not explicitly name the sibling tools it differs from, but the resource is distinct enough from get_expired_future_contracts and get_expired_option_contracts to be usable.

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?

There is no when-to-use guidance, no exclusions, and no mention of alternatives such as the expired contract or historical candle tools. The agent must infer the use case from the name and one-line description alone.

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