log_decision
Log WHY you traded (your audit trail and future public track record). Pass order_id to correlate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| order_id | No | ||
| reasoning | Yes |
Log WHY you traded (your audit trail and future public track record). Pass order_id to correlate.
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| order_id | No | ||
| reasoning | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It does disclose a genuinely important behavioral trait that no structured field conveys: the entry contributes to a 'future public track record', implying visibility beyond the caller. It does not say whether entries can be edited or deleted, whether logging is mandatory for compliance, or what a successful call returns.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the purpose and ending with the correlation hint. The parenthetical adds real motivation rather than restating the name, though it leans slightly promotional.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With three parameters, no annotations, and no output schema, the definition is serviceable but thin. It never covers the undocumented 'model' parameter or explains whether logging is a prerequisite for order execution, which matters for an audit-trail tool in a trading API.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for all three parameters. It explains what 'reasoning' should contain and why 'order_id' is passed, but 'model' is left entirely undefined in both schema and description, leaving one of three parameters opaque.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and object ('Log WHY you traded') with the added framing that it is an audit trail, which distinguishes it from execution siblings like place_order and submit_order. It does not explicitly name those siblings, but the read/write intent is unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The only guidance is 'Pass order_id to correlate', which is parameter advice rather than a when-to-use rule. Nothing says whether to log before or after placing an order, whether it is required, or when to skip it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.