Skip to main content
Glama

Request outcome

check_outcome
Read-onlyIdempotent

What a write whose answer was lost did, read from the node only (never the explorer): an order by its client nonce, a cancel by its order id, or a cancel-all by the order ids open before it. One check of up to 20 seconds: applied, refused (with the chain's reason), still being checked, or still not known after 2 minutes. A write tool whose answer was lost names this call with its arguments. Ask: "Did my lost order go through?"

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "check_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYeswhich write: order, cancel or cancel_all
agentNokind order, optional: the agent that signed it (its refusal records are read too)
addressNothe account (default: the server's configured owner)
pair_idNooptional: the market the order or cancel-all was for
order_idNokind cancel: the id of the order that was being cancelled
since_msNowhen it was sent (unix milliseconds): past 2 minutes, not proven reads as still not known
order_idsNokind cancel_all: the order ids open before it was sent, as the write tool returned them
client_nonceNokind order: the order's client nonce, as the write tool returned it

Output Schema

NameRequiredDescriptionDefault
kindNo
nextNo
readNo
textNo
stateNopending_checking, applied, applied_other, refused or still_unknown
resendNo
addressNo
networkYestestnet or mainnet
summaryYesone plain sentence
follow_upNo
client_nonceNo
refusal_reasonNo
refusal_meaningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnly/idempotent/openWorld; the description adds real behavioral context beyond them: a single check bounded at ~20 seconds, the four possible outcomes including 'refused (with the chain's reason)', and the 2-minute staleness rule where an unproven read past since_ms degrades to 'still not known'. It also discloses the node-only data source, which matters for trust in the answer.

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?

Information-dense and mostly front-loaded, with the outcome states enumerated compactly. The opening clause ('What a write whose answer was lost did, read from the node only...') is grammatically contorted and delays the subject, costing a point on structure rather than on length.

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

Completeness5/5

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

For an 8-parameter tool with an output schema, this covers everything an agent needs: the trigger, the kind-to-identifier mapping, the latency and staleness bounds, and the possible answers. Return shape is left to the output schema, as appropriate.

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?

Schema coverage is 100%, so 3 is the floor, but the description adds cross-parameter meaning the schema cannot express: which identifier pairs with which kind, and the temporal contract that since_ms older than 2 minutes yields 'still not known' rather than a proof. That is genuine semantics beyond the per-field text.

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?

Names a specific operation (recover the outcome of a write whose response was lost) and pins down the three keying modes: order by client nonce, cancel by order id, cancel-all by the previously-open order ids. It also states the data source ('read from the node only (never the explorer)'), which separates it from the get_order/get_orders family that an agent might otherwise reach for.

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?

Explicit trigger: 'A write tool whose answer was lost names this call with its arguments', plus a concrete framing question ('Did my lost order go through?'). That is a clear when-to-use signal. It stops short of an explicit when-not-to-use (e.g. use get_order when the write returned normally), leaving that to inference.

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.