Skip to main content
Glama

get_order_history

Retrieve order state history by order ID or tag to track status changes and review each stage of an Upstox order.

Instructions

Get order state history by order_id or tag.

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": "get_order_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
order_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and delivers very little: "Get" weakly implies a read, but there is no statement about permissions, pagination, time window, ordering of returned history, or what happens when neither key is supplied. The one genuinely useful signal is that history is keyed by order rather than by account.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no wasted wording, but the brevity comes from omission rather than discipline. The structure is fine; the content is thin for a tool with two undocumented parameters.

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

Completeness2/5

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

No annotations, no output schema, no parameter descriptions, and no required fields — the description is the only source of truth and does not cover the ambiguities an agent must resolve before calling it. It should at minimum explain what "state history" returns and how the two keys interact.

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 0%, so the description must compensate; it does partially by revealing that either order_id or tag can identify the record, which is meaning not present in the raw schema. It still leaves the key ambiguities unresolved — whether both may be passed, which wins if both are, and whether zero parameters is legal despite none being required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Get order state history") and names the lookup keys, which is more than a tautology. However, "order state history" is never defined — an agent cannot tell whether this means status transitions, fills, or lifecycle events, and nothing distinguishes it from siblings like get_order_details or get_order_book.

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 when-to-use guidance is given, and no alternative is named even though get_order_details and get_order_trades clearly overlap. The "or" between the two keys implies a choice but does not say which to prefer or when.

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