Skip to main content
Glama

Pause order (can disable a stop-loss)

pause_order
Destructive

⚠️ Replaces live state: pausing an active order stops it from executing — pausing a stop-loss or take-profit leaves the position unprotected until the order is re-activated. Confirm with the user first. Pause an active order

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": {
      "orderId": "<orderId>"
    },
    "name": "pause_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdNoThe user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me).
orderIdYesThe order ID to pause

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, but the description adds information annotations cannot: that pausing halts execution and that pausing a stop-loss or take-profit leaves the position unprotected until re-activation. That is genuine consequence disclosure. It stops short of stating how to undo the pause or whether the action expires.

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?

The warning and confirmation requirement are front-loaded where they matter most. The trailing 'Pause an active order' restates the name and title and does little work, but the overall text is short and well-ordered.

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?

For a two-parameter mutation with no output schema, the description covers the key risk (unprotected positions) and the confirmation requirement. Missing only the resume path and any note on failure modes for non-active orders.

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 description coverage is 100%, with both userId and orderId fully documented in-schema, so the baseline is 3. The description adds no further meaning about the parameters — it does not note that orderId must reference an active order or what happens for already-paused orders.

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?

States a specific verb and resource: 'Pause an active order.' The title additionally clarifies the scope ('can disable a stop-loss'). It is distinguishable from the sibling activate_order by the verb alone, though the description never names the reverse operation.

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?

Implies the usage context ('active order') and adds a real precondition — 'Confirm with the user first.' However, it never says when to prefer pausing over cancelling (delete_order) or how to resume, so the agent must infer the workflow from sibling names.

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.