Skip to main content
Glama
SakethSripada

KalTrader MCP

kalshi_decrease_order_v2

Decrease an existing event-market order on Kalshi by reducing its remaining contracts. Choose to reduce by a specific amount or reduce to a target count, with fractional contract support.

Instructions

Decrease Order (V2) Endpoint for decreasing the remaining count of an existing event-market order using the V2 request/response shape. Exactly one of reduce_by or reduce_to must be provided. Calls POST /portfolio/events/orders/{order_id}/decrease.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesOrder ID
reduce_byNoString representation of the number of contracts to reduce by. Exactly one of `reduce_by` or `reduce_to` must be provided.
reduce_toNoString representation of the number of contracts to reduce to. Exactly one of `reduce_by` or `reduce_to` must be provided.
subaccountNoSubaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
market_tickerNoMarket ticker. Required when exchange_index is -1 (auto).
exchange_indexNo
Behavior4/5

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

Annotations already set readOnlyHint=false and destructiveHint=false, indicating a non-read-only mutation. The description adds the specific behavior (decreasing remaining count) and the HTTP method/path ('Calls POST /portfolio/events/orders/{order_id}/decrease'), which provides useful context beyond the annotations. It does not go into error conditions or side effects, but the added context justifies a 4.

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 sentences, front-loaded with the core purpose, and contains no filler. The second sentence delivers the critical constraint and endpoint, making it both concise and informative.

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?

For a 6-parameter tool with comprehensive schema descriptions and no output schema, the description is largely complete. It explains the action, the constraint, and the endpoint. A minor gap is the absence of a note on when to use this instead of cancel/amend, but given the schema's richness, this is not a significant omission.

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 high (83%), so the schema already documents all parameters including the 'exactly one of' constraint on reduce_by/reduce_to. The description repeats this constraint but does not add new semantic meaning. With the schema doing the heavy lifting, a baseline of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the specific action: 'decreasing the remaining count of an existing event-market order using the V2 request/response shape.' This distinguishes it from siblings like kalshi_cancel_order_v2 (which cancels an order) and kalshi_amend_order_v2 (which may change other fields). The explicit endpoint path reinforces the tool's purpose.

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

Usage Guidelines4/5

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

Provides a clear usage constraint: 'Exactly one of `reduce_by` or `reduce_to` must be provided.' This tells the agent how to invoke the tool correctly. However, it does not explicitly state when to prefer this tool over alternatives like cancel or amend, so it lacks exclusionary guidance.

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/SakethSripada/KalTraderMCP'

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