Skip to main content
Glama

fill_limit_order

Execute a limit order's live fill ticket on YOUR provider key (used for this one call, never stored). Only works while the order is ticketed; the offer is re-quoted live and refused above the order's line. Idempotent per order — a retry returns the first receipt rather than renting a second machine. The order's auto_destroy_budget_usd (if set) arms the budget guard exactly as rent_offer does.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageNo
api_keyYes
confirmNo
disk_gbNo
dry_runNo
order_idYes
order_secretYes
account_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden — and it delivers. It discloses that the provider key is used once and never stored, that the call is idempotent per order, that the offer is re-quoted live, and that the budget guard arms exactly like rent_offer. This is genuinely useful non-obvious behavior.

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?

Four dense sentences, with the main action and key constraint front-loaded in the first sentence. Some jargon like 'ticketed' and 'line' could be clearer, but every sentence adds distinct value and there is no filler.

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?

The core execution mechanics, idempotency, and budget behavior are well covered. However, with no annotations and no output schema, an agent still lacks guidance on the default parameters, what the 'receipt' return value contains, and how to interpret the other five schema fields. For a financial mutation with 8 parameters, this is not fully complete.

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

Parameters2/5

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

Schema coverage is 0%, so the description needed to document 8 parameters. It effectively explains api_key ('provider key... never stored'), order_id/order_secret ('per order', 'order's line'), and mentions auto_destroy_budget_usd, but that field is not even in the schema. Params like image, disk_gb, confirm, dry_run, and account_token are left completely unexplained.

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 states a specific verb ('execute') and resource ('limit order's live fill ticket'), and immediately distinguishes this from order lifecycle siblings like create_limit_order, cancel_limit_order, and limit_order_status. The 'Only works while the order is ticketed' condition gives a crisp scoping boundary.

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?

It clearly says when the tool is valid ('Only works while the order is ticketed') and describes a failure condition ('refused above the order's line'). It references rent_offer for budget-guard semantics, but it does not explicitly name alternatives or say when not to use this tool in favor of another.

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.