Skip to main content
Glama
human-turn

t-invest-mcp

by human-turn

Get Order Book

get_order_book
Read-onlyIdempotent

Retrieve the order book for a financial instrument, showing bids, asks, last price, and trading limits. Use instrumentId to specify the asset.

Instructions

Order book (bids/asks) for an instrument, with last/close price and trading limits. priceUnit flags the quote unit: bonds are quoted in % of nominal (see get_instrument bond.nominal), futures in points.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNo
outputPathNoWrite the full result to this file (path relative to the output root: TINKOFF_OUTPUT_DIR or server cwd) instead of returning it inline. The response becomes a short summary {savedTo, records, bytes, sample}. Use for bulk data to keep the context clean. For get_candles/get_operations this also enables full-history fetching (chunking/pagination).
instrumentIdYesInstrument UID
outputFormatNoFile format; default json (or csv if outputPath ends with .csv). csv writes the main flat array of the response.
Behavior4/5

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

Annotations already declare readOnlyHint=true, indicating a safe read operation. The description adds behavioral context by noting the inclusion of last/close price, trading limits, and a priceUnit flag that varies by instrument type (bonds vs futures). No contradiction with annotations.

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?

Two sentences, both informative and without redundancy. The first sentence states the core function, the second adds a key nuance about quoting. No waste.

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?

The tool is straightforward (order book retrieval), and the description covers the key result components (bids/asks, last price, limits) and the priceUnit nuance. However, it does not explain how the depth parameter affects the output or indicate the typical size of the response. Still, for a simple tool, it is largely adequate.

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 75% (3 of 4 parameters have descriptions). The description does not add meaning to any parameter; instead, it mentions priceUnit which is not a parameter. The default and constraints for depth are in the schema, so the description adds no additional parameter insight.

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 clearly states the tool returns the order book with bids/asks, last/close price, and trading limits. It is specific about what resources are involved, but does not differentiate from siblings like get_candles or get_last_prices.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites, use cases, or comparisons with sibling tools such as get_candles for historical data or get_last_prices for just quotes.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/human-turn/t-invest-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server