Skip to main content
Glama

Get Perps order

perps_get_order
Read-onlyIdempotent

Read-only. Get one Perps order by ID for the connected user. Use after executing to verify fill status.

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": "perps_get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder id returned by perps_execute_operation (order.place) or perps_list_orders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so 'Read-only' is largely redundant. The description does add the connected-user scoping and the post-execute verification workflow, but says nothing about behavior when the order ID is unknown or whether the record is immediately consistent after execution.

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?

Two short sentences, zero padding, with the read-only/safety note and the resource stated first and the usage hint second.

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

Completeness3/5

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

For a single-parameter read tool this is nearly sufficient, but there is no output schema and the description never indicates what the returned order record contains (fill status, quantities, timestamps) — which is exactly what 'verify fill status' depends on.

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% and the schema itself explains that orderId comes from perps_execute_operation (order.place) or perps_list_orders. The description adds no format, casing, or validation detail beyond that, so the baseline of 3 applies.

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 ('Get one Perps order by ID') plus the scope ('for the connected user'). The word 'one' implicitly separates it from perps_list_orders, though no sibling is named explicitly.

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?

Gives clear when-to-use guidance: 'Use after executing to verify fill status,' which ties it to the execute workflow. It stops short of stating exclusions or explicitly routing to perps_list_orders for multi-order lookups.

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.

Resources