Skip to main content
Glama

List Perps orders

perps_list_orders
Read-onlyIdempotent

Read-only. List Perps orders for one contract (contract-scoped) for the connected user. Use after executing to verify order 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": {
      "contractId": "<contractId>"
    },
    "name": "perps_list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional page size (1-100).
typesNoOptional order types to filter by.
cursorNoOptional pagination cursor from a previous response.
statusesNoOptional order statuses to filter by.
contractIdYesNumeric contract id from perps_list_contracts. Required; orders are scoped per contract. 0 is a real contract id, not a placeholder for "unset".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive, and closed-world behavior. The description adds meaningful context beyond those annotations by specifying that results are scoped to the connected user and to one contract, which affects how the agent should interpret the response.

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 description is short, front-loaded, and easy to parse. The only minor inefficiency is repeating the read-only property already supplied by annotations.

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 list tool with fully documented parameters and explicit safety annotations, the description is sufficient to invoke it correctly. It is less complete about the response shape and pagination behavior, which are not covered by an output schema.

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%, so the parameters are already well documented. The description reinforces the contractId scoping requirement but does not add new meaning for filters such as statuses, types, cursor, or limit.

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?

The description states a specific verb and resource: list Perps orders. It adds useful scope detail (one contract, connected user) but does not explicitly distinguish this from the sibling perps_get_order tool, so sibling differentiation is only partially covered.

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?

It gives one concrete usage context: verifying order status after executing. However, it does not explain when to use this instead of perps_get_order or other order-related siblings, and it does not mention when not to use it.

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