Skip to main content
Glama

place_order

Place an order via the local flox engine. Supports paper and live scopes with dry-run simulation or actual dispatch using a one-shot approval token.

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().
Behavior3/5

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

Without annotations, the description adds value by disclosing HTTP communication with local ControlServer, env var requirements, and dry-run behavior. However, it doesn't cover error handling, rate limits, or response behavior, leaving some gaps.

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?

Four sentences, each adding value with no redundancy. The key actions and constraints are front-loaded, making it easy to parse quickly.

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?

The description covers architecture, authentication, dry-run behavior, and approval flow for an order placement tool with 9 parameters. Missing explicit return value or error cases, but the complexity is adequately handled.

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 does not add further meaning to parameters like symbol or qty beyond what the schema provides, but it does explain the role of dry_run and approve_token in context.

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 tool places an order via the flox engine, specifying the resource (order) and verb (place). It differentiates from sibling tools like cancel_all and cancel_order by focusing on order entry, and adds specificity with 'manual hedges or operator-driven order entry'.

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?

The description explains default dry_run=true and the need for approve_token in live scope, guiding when to use the tool. It provides context but does not explicitly list alternatives or when not to use it, though sibling context helps.

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