Skip to main content
Glama
Orderly Trading MCP

Orderly Trading MCP

Official

Search the Orderly CLI commands

orderly_commands
Read-onlyIdempotent

Search Orderly CLI commands by name or keyword to retrieve usage, arguments, mutation status, and help before running tasks lacking a dedicated tool.

Instructions

Search the orderly CLI command surface available to this server. Use this before orderly_run whenever a dedicated tool does not cover the task. Returns command names, whether they mutate, usage, argument names/types/enums and help. Pass an exact command name (kebab-case or snake_case) for full detail, or a keyword to search. detail='full' includes long_about and complete argument help.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "orderly_commands"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum commands to return (default 50, max 200).
queryNoCommand name (order-place), keyword (algo, predict, history), or empty to list available commands.
detailNosummary (default) omits long help; full includes long_about and every argument description.
offsetNoNumber of matching commands to skip (default 0).
mutatesNoFilter to mutating (true) or read-only (false) commands.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description does not contradict them. Beyond that it discloses what no structured field covers: the return payload includes command names, a mutation flag, usage, argument names/types/enums and help. It stops short of describing result ordering or how partial-name matching behaves, so a 4 rather than a 5.

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

Conciseness5/5

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

Four sentences, front-loaded with purpose, then routing rule, then return contents, then the query-mode semantics. Each sentence introduces information not present in the previous one, and there is no restatement of the title or schema.

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 read-only search tool with no output schema, the description covers what an agent needs: when to reach for it, what comes back, and how to drive the query and detail flags. The remaining gap is minor — paging behavior and result ordering are left to the limit/offset schema entries rather than being described.

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 the baseline is 3; the description earns above that by explaining the two query modes semantically (exact name → full detail; keyword → search; empty → list) and by stating what detail='full' actually adds (long_about and complete argument help). It does not explain limit/offset paging or the mutates filter, which the schema carries alone.

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 opens with a specific verb and resource: 'Search the orderly CLI command surface available to this server.' It then names the sibling this tool precedes (orderly_run) and the condition that routes to it ('whenever a dedicated tool does not cover the task'), so an agent can place it against the dedicated tools in the catalog without opening a 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 an explicit ordering rule (use before orderly_run) and an explicit exclusion (when a dedicated tool already covers the task). The query forms are also spelled out: exact kebab-case/snake_case name for full detail, keyword for search, or empty to list — leaving no ambiguity about how to start.

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