Skip to main content
Glama

place_order

Places a new market, limit, stop-loss, or bracket order through the Upstox API, specifying instrument, quantity, price, trigger, product, and validity.

Instructions

Place a new order (market, limit, stop-loss, bracket).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instrument_token": "<instrument_token>",
      "quantity": "<quantity>",
      "order_type": "<order_type>",
      "transaction_type": "<transaction_type>",
      "product": "<product>",
      "price": "<price>",
      "trigger_price": "<trigger_price>",
      "validity": "<validity>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
priceYes
is_amoNo
productYes
quantityYes
validityYes
order_typeYes
trigger_priceYes
instrument_tokenYes
transaction_typeYes
disclosed_quantityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not disclose whether placement requires authorization, reserves funds, is irreversible once filled, or what happens on rejection.

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?

The single sentence is front-loaded and free of filler. However, it is too terse relative to a complex 11-parameter trading order tool.

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?

The tool has no output schema and no annotations, and the description does not explain parameter meanings, order lifecycle, or expected response. For a high-risk order-placement operation, this leaves significant gaps.

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 0% across 11 parameters, including 8 required fields. The parenthetical adds some meaning for order_type, but it does not explain instrument_token, quantity, price, trigger_price, product, validity, is_amo, or tag, and "bracket" does not match the schema enum.

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: "Place a new order," and the parenthetical lists order types. It does not explicitly distinguish itself from modify_order or cancel_order, but "new" gives reasonable differentiation.

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 gives no when-to-use guidance, no prerequisites such as funds or margin checks, and no indication of when to prefer modify_order or cancel_order. The listed order types describe capabilities, not usage conditions.

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