Skip to main content
Glama

Evaluate Conditional Order Now

run_conditional_order
Destructive

Dry-run: evaluate a rule-based conditional order right now against the latest market data. It does NOT execute anything — the order still fires on its own during the scheduled one-minute checks. Returns each condition with met true/false, wouldTrigger, and the current price.

Input Schema

NameRequiredDescriptionDefault
orderIdYesThe conditional order ID to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior1/5

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

The description asserts 'It does NOT execute anything,' i.e. a harmless read/dry-run, while annotations declare readOnlyHint=false and destructiveHint=true on a non-idempotent operation. This is a direct conflict that could cause an agent to call a state-changing tool believing it is side-effect free.

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 sentences, front-loaded with the 'Dry-run' framing and the key negative ('does NOT execute anything') placed early. The return-value sentence is informative but slightly crowds the entry.

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?

For a one-parameter tool with no output schema, the description usefully discloses the return shape (each condition with met true/false, wouldTrigger, current price) and the interaction with the scheduled checks. It is let down only by failing to reconcile its no-op claim with the destructive annotation.

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% and there is a single required orderId parameter already documented as 'The conditional order ID to analyze.' The description adds no syntax, format, or constraint detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('evaluate a rule-based conditional order right now') and immediately frames it as a dry-run, which cleanly separates it from siblings like get_conditional_order (fetch), create_conditional_order (create), and execute_trade (execute).

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?

Explains the context for using it — check conditions now against the latest market data rather than waiting for the scheduled one-minute checks — which gives an agent a clear trigger. It does not, however, name an alternative tool or state an explicit when-not-to-use condition.

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