Skip to main content
Glama
alsk1992
by alsk1992

Strata order challenge

strata_order_challenge
Destructive

Convert atomic place, cancel, cancel-all, replace, or batch requests into canonical bytes for external signing, enabling secure order execution on Strata markets.

Instructions

Bind an atomic place, cancel, cancel-all, replace, or bounded batch request to canonical bytes for the agent owner's external signer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideNo
actionYes
orderIdNo
marketIdYes
orderTypeNo
sizeAtomsNo
operationsNo
ownerWalletYes
clientOrderIdNo
accountSequenceNoOptional Vault market account sequence. Omit it and Strata resolves the next sequence from the Vault's confirmed market account.
limitPriceAtomsNo
sessionPublicKeyYes
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, but the description says 'bind to canonical bytes for the external signer', which suggests a transformation rather than an execution—potentially contradicting the destructiveHint. It doesn't disclose that it handles mutable operations (place/cancel/replace) or that it might submit transactions. The ambiguity about whether this tool actually executes trades or just prepares bytes is a transparency gap, especially given the destructive hint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it's dense and uses domain-specific terminology without clarification. It could be considered appropriately short for a title that matches, but the lack of structure (no paragraphs, no examples) reduces clarity. It doesn't front-load the most critical info about what it does.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity—12 parameters, nested batch operations, and a destructive hint—the description is drastically incomplete. It lacks usage context, return behavior (though no output schema), and clarification of the challenge/prepare/submit workflow. An agent would struggle to use this tool correctly based solely on the description.

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?

With only 8% schema description coverage and 12 parameters, the description offers zero guidance on parameter semantics beyond the jargon. It doesn't explain key parameters like marketId, ownerWallet, sessionPublicKey, or the structure of operations. The schema has some descriptions (accountSequence) but the tool description fails to compensate for the widespread lack of context, making it hard for an agent to construct valid requests.

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

Purpose2/5

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

The description uses specialized jargon ('bind an atomic place, cancel, cancel-all, replace, or bounded batch request to canonical bytes') that obscures the actual purpose. It doesn't clearly state that this is an order challenge tool for the Strata protocol, and the verb 'bind' is vague. While it lists the actions, it fails to distinguish from siblings like strata_order_submit or strata_order_prepare.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't explain the tool's role in the signing flow, nor does it mention prerequisites like the need for a session key or when to use batch operations. The sibling names suggest a prepare/submit workflow, but this description doesn't clarify its place in that flow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alsk1992/strata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server