Skip to main content
Glama

Vectorial Data Terminal: Hyperliquid, Polymarket & yield for AI agents

submit_order

DestructiveIdempotent

Execute a prepared LIVE order with your trading key's signatures (one per typed_data, in order).

Input Schema

NameRequiredDescriptionDefault
order_idYesThe order_id returned by place_order
signaturesYesOne 0x… EIP-712 signature per actions[i].typed_data from place_order, in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / order_id / description
      Added value: +"The order_id returned by place_order"
    • addedInput schema / properties / signatures / description
      Added value: +"One 0x… EIP-712 signature per actions[i].typed_data from place_order, in order"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this a destructive, non-read-only, idempotent, open-world write, so the safety profile is covered. The description adds the meaningful constraint that signatures must be supplied one per typed_data in order, plus the LIVE/real-money emphasis, but it does not disclose failure behavior, whether an invalid signature voids the order, or what the caller receives back.

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?

A single front-loaded sentence with no filler; the ordering constraint is packed into a parenthetical rather than a separate sentence. Nothing is wasted.

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?

For a two-parameter mutation with complete schema coverage and rich annotations, the description covers the essentials. It stops short of clarifying the preparation-to-submission handoff with place_order and the consequences of a bad signature, which matter given destructiveHint=true.

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 100%, with both parameters fully documented, including the 'one per actions[i].typed_data, in order' mapping. The description's parenthetical essentially restates the schema rather than adding new meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ("Execute") on a specific resource ("a prepared LIVE order") and implicitly distinguishes itself from the sibling place_order by calling the order "prepared." It does not explicitly name place_order as the prerequisite step, so the differentiation relies on the schema's order_id note rather than the description itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The word "prepared" implies the order must already exist, and the schema's order_id description names place_order as the producer, so the workflow is inferable. However, the description never states this directly, gives no guidance against the adjacent submit_intent / submit_operation / submit_prediction_order siblings, and says nothing about when an order should be cancelled instead.

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.