Skip to main content
Glama
Orderly Trading MCP

Orderly Trading MCP

Official

Run a read-only Orderly CLI command

orderly_read
Read-onlyIdempotent

Run read-only Orderly CLI commands with structured arguments to query market or account data; mutating commands are rejected to avoid destructive confirmation prompts.

Instructions

Run an allowed read-only Orderly CLI command with structured arguments. Use this instead of orderly_run for reads when your client asks for confirmation on destructive tools. Mutating commands are rejected. Prefer a dedicated read tool when one exists; call orderly_commands first for exact argument names and enums.

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": {
      "command": "<command>"
    },
    "name": "orderly_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoStructured arguments keyed by the names returned by orderly_commands. Put network here, or use the top-level network field.
commandYesRead-only CLI command name, e.g. "trades" or "funding-rates". Must appear in orderly_commands.
networkNoNetwork override for this call. Takes precedence over args.network. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds real context beyond that: mutating commands are rejected, dedicated read tools take precedence, and argument names must be discovered via orderly_commands. It stops short of describing response shape or pagination, but for a generic CLI passthrough the key behavioral constraint is disclosed.

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?

Three tight sentences, front-loaded with the core action and immediately followed by the alternative-tool routing rule. No filler, though the 'Prefer a dedicated read tool' clause could name a concrete example to be more actionable.

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?

With no output schema and a generic CLI-passthrough shape, the description supplies what an agent actually needs: the rejection of mutating commands, the discovery step via orderly_commands, and the fallback ordering versus dedicated read tools. Only error/return behavior for rejected commands is left implicit.

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 coverage is 100%, so the schema already documents command, args, and network including the enum values and precedence rules. The description only adds the procedural hint that argument keys come from orderly_commands, which is marginal beyond what the fields already say. Baseline 3 is appropriate.

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 states a specific verb and resource ('Run an allowed read-only Orderly CLI command with structured arguments') and explicitly distinguishes this tool from the sibling orderly_run by framing it as the read-safe path. An agent can tell it apart from orderly_run and the dedicated read tools without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit routing rules: use this instead of orderly_run for reads when the client demands confirmation on destructive tools, prefer a dedicated read tool when one exists, and call orderly_commands first for argument names and enums. Exclusions are stated too, since mutating commands are rejected outright.

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