Skip to main content
Glama
alsk1992
by alsk1992

Prepare Strata order control

strata_order_prepare
Destructive

Prepare an immutable partially signed order-control transaction using a single session-key signature, with support for a prior challenge authorization.

Instructions

Prepare an immutable partially signed order-control transaction. One signature: pass the operation itself (same fields as strata_order_challenge) and sign only the returned transaction with the session key. (A challengeId + authorizationSignature from strata_order_challenge is still accepted.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideNo
actionNo
orderIdNo
marketIdYes
orderTypeNo
sizeAtomsNo
operationsNo
challengeIdNo
ownerWalletNo
clientOrderIdNo
accountSequenceNo
limitPriceAtomsNo
sessionPublicKeyNo
authorizationSignatureNo
Behavior2/5

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

The description focuses on preparation and signing but does not mention any side effects or state changes. Given the annotations indicate destructiveHint=true and readOnly=false, the description should disclose potential impacts (e.g., cancelling orders) but remains silent on this.

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 relatively concise (two sentences) but includes parenthetical asides that make it slightly convoluted. It could be more direct and structured for clarity.

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

Completeness2/5

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

For a tool with 14 parameters and no output schema, the description is insufficient. It does not explain the returned transaction, how to use it afterwards, or what the output format might be. The description lacks essential context for a developer to use the tool effectively.

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?

The schema has many parameters with zero coverage, and the description only hints that some fields are part of the 'operation itself' and that challengeId+authorizationSignature is an alternative. It does not explain the meaning or role of most parameters like ownerWallet, sessionPublicKey, or limitPriceAtoms.

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's purpose: to prepare an immutable partially signed order-control transaction. It specifies the verb 'Prepare' and the object 'order-control transaction', which is specific and distinct from other tools.

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 description mentions two ways to use the tool: passing the operation itself or using a challengeId+authorizationSignature from strata_order_challenge. It implies a relationship with sibling tools but does not explicitly state when to use this versus alternatives or when not to use it.

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