Skip to main content
Glama
harsha-moparthy

broker-rails

place_order

Submit a trade order after pre-trade risk checks pass. Uses the middleware-approved intent to execute the order safely on the paper broker.

Instructions

Submit an order. Subject to pre-trade risk limits.

By the time this body runs the middleware has already approved the order -- it is unreachable otherwise. The handler therefore uses the vetted intent from the middleware rather than re-parsing its own arguments, so there is no second interpretation of the agent's input that could differ from the one the rails checked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qtyYes
sideYes
symbolYes
order_typeNomarket
limit_priceNo
time_in_forceNoday
client_order_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden of disclosing behavior. It explicitly states that the order is subject to pre-trade risk limits and that the handler uses the middleware-approved intent rather than re-parsing arguments. This is valuable insight into how arguments are treated and that the call will not be re-interpreted.

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?

The description is concise: two sentences. The first sentence is a direct summary, and the second explains the middleware/handler relationship. Every sentence serves a purpose, though the second paragraph is slightly more detailed than strictly necessary for a tool description.

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?

For a tool with 7 parameters and no schema-level descriptions, the description does not compensate by explaining required inputs or order behavior. The output schema exists but is not shown, so the agent lacks critical information to construct a valid order request. The middleware context is interesting but does not fill the parameter gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides zero information about any of the 7 parameters. Schema coverage is 0%, so the agent has no help understanding what 'symbol', 'side', 'qty', 'order_type', 'limit_price', 'time_in_force', or 'client_order_id' mean or how they should be formatted.

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 opens with 'Submit an order,' which clearly identifies the specific action and resource. It is unmistakably distinct from sibling tools like get_quote or get_positions, which are read-only market data or account tools.

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?

No explicit guidance is provided on when to use this tool versus alternatives. The mention of pre-trade risk limits and middleware approval describes internal constraints but does not help an agent decide whether to call this tool or another one.

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/harsha-moparthy/broker-rails'

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