Skip to main content
Glama

Place Order

place_order
Destructive

Needs your api_key (register_agent, no key needed). Validate a trading order against live CLOB state (balance-free preflight). Execute by POSTing the same fields to REST /api/v1/clob/orders with your X-API-Key.

Input Schema

NameRequiredDescriptionDefault
sideYesOrder side: buy, sell
priceNoLimit price (required for limit orders)
api_keyYesYour api_key from register_agent
quantityYesOrder quantity
market_idYesMarket identifier
order_typeYesOrder type: market, limit
outcome_idYesOutcome to trade

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false, so the mutation profile is covered structurally. The description adds useful context (auth via X-API-Key, balance-free preflight against live CLOB state), but it omits what happens on failure, whether the action is irreversible, and whether the tool itself executes or merely validates.

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

Conciseness4/5

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

Three compact sentences, front-loading the api_key prerequisite and the validation step. The nested parentheticals ('register_agent, no key needed', 'balance-free preflight') are slightly dense but each sentence carries weight.

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

Completeness3/5

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

For a destructive, non-idempotent mutation tool with no output schema, the description should clarify return/failure behavior and confirm whether it executes or only preflights. It covers auth and the endpoint but leaves the execution semantics ambiguous.

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 100%, so the schema already documents all 7 parameters. The description adds little beyond naming api_key and referencing the same fields being POSTed to REST; baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb+resource ('trading order', 'place order') and describes the CLOB validation/execution flow. It is clear what domain it operates in, though it muddles whether the tool itself executes or just preflights, since it tells the agent to 'Execute by POSTing... to REST', reading partly as instructions rather than a description of the tool's own behavior.

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

Usage Guidelines3/5

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

Provides a prerequisite (requires api_key; register_agent needs none) and sketches a workflow (validate, then execute). However, it never states when to use this over alternatives or when not to, and there are no explicit exclusions despite a large sibling set containing related order/market tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources