Skip to main content
Glama

submit_order

Destructive

Relay a PRE-SIGNED order to the chain's Ophis orderbook. Pass the exact order object and fullAppData from build_order, plus your EIP-712 signature and from (owner). The MCP holds no keys — it only forwards. Returns the order UID on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesThe owner address that signed.
orderYesThe order object returned by build_order.
chainIdYesEVM chain id the order was built for.
signatureYes0x EIP-712 signature over the order by the owner.
fullAppDataYesThe fullAppData string returned by build_order.
signingSchemeNoSignature scheme over the order (default 'eip712').

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds that 'The MCP holds no keys — it only forwards,' which clarifies security behavior beyond annotations. It also mentions the return value (order UID). No contradictions.

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?

The description is two sentences, front-loading the action and key constraints. No extraneous words; every sentence adds essential information.

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?

Given no output schema, the description mentions the return value (order UID). It covers the main inputs, pre-signing requirement, and forwarding behavior. Could be slightly more detailed on error handling, but overall adequate for a relay tool.

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

Parameters4/5

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

With 100% schema coverage, baseline is 3. The description adds value by explaining the origin of parameters (`from build_order`) and their purpose (e.g., 'EIP-712 signature over the order'), enhancing understanding beyond the schema descriptions.

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 clearly states the tool relays a pre-signed order to the Ophis orderbook, specifying the inputs from build_order. It distinguishes from sibling tools like build_order (which constructs the order) and get_quote (which provides quotes).

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?

The description explicitly says to pass the exact `order` object and `fullAppData` from build_order, plus the `signature` and `from`, indicating when to use this tool as the final submission step. It implies prerequisites but does not list alternatives or when-not to use.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool covers a distinct function: order building, submitting, validating, quoting, data retrieval, token resolution, etc. No two tools have overlapping purposes; even related tools like 'build_order' and 'submit_order' are clearly separated by stage.

Naming Consistency5/5

All 14 tool names follow a consistent snake_case verb_noun pattern (e.g., build_order, get_balances, resolve_token). No mixing of conventions or ambiguous naming.

Tool Count5/5

14 tools is well within the optimal 3-15 range. Each tool addresses a specific need for interacting with the Ophis protocol, from token resolution to order submission and analytics.

Completeness4/5

The tool set covers the full order lifecycle (quote, build, validate, submit) plus supporting data (balances, portfolio, chains, gas, token info, surplus, earnings). A minor gap is the lack of an order cancellation or status retrieval tool, but this is acceptable given the server's focus on building and submitting orders.