Skip to main content
Glama

place_order

Place trade orders via the flox engine with dry-run simulation or live execution requiring operator approval. Used for manual hedges and operator-driven order entry.

Instructions

Place an order through the user's running flox engine. Talks HTTP to the local ControlServer the user app embeds; reads URL + bearer token from FLOX_CONTROL_URL and FLOX_CONTROL_TOKEN. Default dry_run=true; the server simulates acceptance without dispatching to the executor. live tier additionally requires an approve_token issued out of band by the operator. Use this for manual hedges or operator-driven order entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesAccount to place against. paper-prefixed names are allowed in paper scope; live scope is required for any other.
symbolYes
sideYes
qtyYes
typeNoDefault market.
priceNoRequired for limit orders; ignored for market.
reasonNoFree-text annotation recorded in the audit log.
dry_runNoDefault true. Set false to actually dispatch.
approve_tokenNoRequired for live scope. One-shot token issued by ControlServer.issue_approval().
Behavior4/5

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

With no annotations, the description carries full burden and discloses key behaviors: HTTP communication to local ControlServer, env var configuration, dry_run simulation, and additional approve_token requirement for live scope. It does not cover failure modes or idempotency, but the core behavioral traits are well explained.

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 five sentences, front-loaded with the main purpose, then communication method, then mode details. Every sentence adds distinct value with no redundancy.

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?

Given no output schema, the description does not explain return values or error handling, which are important for a 9-parameter tool. It covers the key behavioral aspects but lacks integration context with other tools like cancel_order or whatif.

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 67%, so baseline is 3. The description adds context for dry_run default and approve_token requirement for live scope, but mostly restates schema info. It does not elaborate on symbol or qty semantics beyond the schema.

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 it places an order via the flox engine and is intended for manual hedges or operator-driven entry. It distinguishes from sibling tools like cancel_order by specifying use cases, though not explicitly contrasting with all siblings.

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?

The description gives context: use for manual hedges or operator-driven order entry, and explains dry_run and live tier requirements. However, it does not explicitly state when not to use this tool or name alternatives like automated execution paths.

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/FLOX-Foundation/flox'

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