Skip to main content
Glama

get_orders

Retrieve open orders for your configured wallet or a specific address on a given venue, so AI agents can check pending trades before placing or managing positions.

Instructions

Get open orders for your wallet or a specific address.

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

Input Schema

NameRequiredDescriptionDefault
venueNoVenue name
addressNoWallet address (defaults to configured wallet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does convey behaviorally useful scoping by saying 'open' orders (implying filled/cancelled orders are excluded) and implying a configured wallet exists, but says nothing about pagination or limits, sorting, rate limits, or what happens when no wallet is configured. Since this is a read operation the safety story is less critical, but the disclosure is still thin.

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?

A single well-formed sentence with the resource front-loaded and no filler. It is appropriately short for a two-optional-parameter read tool, though it is minimal enough that it borders on under-specification rather than being tight.

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 simple read tool with zero required parameters, full schema coverage, and no output schema, the description covers the essentials. However, it omits the ordering/pagination of results and whether an unconfigured wallet causes an error, which an agent would need to call this reliably without trial and error.

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 both parameters (venue, address) are already documented, and the description's 'your wallet or a specific address' merely restates the address default. It adds no format, filtering interaction (e.g. does venue narrow by exchange), or address validation detail beyond the schema.

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 open orders') and names the two scoping options (wallet or a specific address), which clearly separates it from order-mutating siblings like cancel or wm_cancel_order. It does not explicitly differentiate itself from reporting siblings such as get_positions, but the purpose is unambiguous.

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

Usage Guidelines2/5

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

No when-to-use guidance beyond the implicit 'you want orders' framing: nothing about prerequisites (does a wallet need to be set up first?), when to pass an address versus relying on the configured wallet, or which sibling to prefer for other account data. The agent must infer usage entirely.

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