Skip to main content
Glama

contract_details

Retrieve full contract specifications—trading hours, min tick, valid exchanges—by providing a conId or contract parameters. Supports accurate trading and market data.

Instructions

Get full contract details including trading hours, min tick, valid exchanges, etc. Provide conId or contract specification.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "contract_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
conIdNoContract ID
symbolNoSymbol
secTypeNoSecurity type
currencyNoCurrency
exchangeNoExchange

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. 'Get' reasonably signals a read-only lookup, and the description lists several returned fields, but it does not discuss permissions, rate limits, error behavior, or how ambiguity between conId and a partial specification is resolved.

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 description is short and front-loaded, with the core action stated first and the input guidance second. The only weakness is the vague 'etc.', which slightly reduces precision without adding much bulk.

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 five-parameter lookup tool with no annotations and no output schema, the description gives useful but limited context. It explains the general return content and the conId-or-specification choice, but it leaves the exact contract specification requirements and error/ambiguity behavior unstated.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful guidance by saying to provide either a conId or a contract specification. This clarifies the intended alternative input modes, although it does not specify which combination of symbol, secType, currency, and exchange forms a valid contract specification.

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 and resource: 'Get full contract details,' and lists representative fields such as trading hours, min tick, and valid exchanges. It does not explicitly distinguish this tool from nearby siblings like contract_rules or contract_search, so it stops short of a 5.

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

Usage Guidelines3/5

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

The description implies when to use the tool by saying to provide a conId or contract specification, but it does not state when to prefer this over contract_search, contract_qualify, or contract_rules. The usage guidance is therefore present but incomplete.

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