Skip to main content
Glama
Ritesh17rb

kite-mcp-server

by Ritesh17rb

modify_gtt

Update an existing GTT order by changing trigger values and linked orders; runs as a dry-run unless trading is explicitly enabled.

Instructions

Modify an existing GTT order. Dry-run unless KITE_MCP_ENABLE_TRADING=true is set.

Input Schema

NameRequiredDescriptionDefault
ordersYes
exchangeYes
last_priceYesCurrent market price, required by Kite to validate the trigger
trigger_idYes
trigger_typeYesUse "single" for a plain stop-loss/target, "two-leg" for OCO (one triggers, the other cancels)
tradingsymbolYes
trigger_valuesYes[trigger] for "single", [lower, upper] for "two-leg"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior3/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. It usefully discloses that the tool defaults to dry-run unless KITE_MCP_ENABLE_TRADING=true, which is important safety context, but it omits permissions, reversibility, mutation semantics, and what dry-run actually returns.

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?

The description is two short sentences, front-loads the purpose, and includes the critical dry-run caveat. Every sentence earns its place.

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?

For a seven-parameter, all-required GTT mutation tool with no annotations and no output schema, the description is too thin. It explains the dry-run gate but does not clarify required order structure, trigger semantics, or expected results.

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?

Schema description coverage is only 43%, covering last_price, trigger_type, and trigger_values. The description adds no parameter semantics for trigger_id, tradingsymbol, exchange, or the nested orders structure, leaving several required fields unexplained beyond schema types and enums.

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 a specific verb and resource: "Modify an existing GTT order." This distinguishes it from sibling tools such as place_gtt, delete_gtt, and get_gtt, though it does not explicitly name alternatives.

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 does not explain when to use modify_gtt versus place_gtt, delete_gtt, or modify_order. The dry-run note is a behavioral condition, not usage guidance or an alternative-selection rule.

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