Skip to main content
Glama
trading-212-mcp

trading-212-mcp

by joeyeomans

Pending order

get_pending_order
Read-only

Retrieve a single pending order by its order ID from a Trading 212 account to inspect its current status and details.

Instructions

A single pending order by its ID.

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": {
      "id": "<id>"
    },
    "name": "get_pending_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOrder ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds nothing beyond that: it does not say what happens when the order is no longer pending, whether a missing ID errors or returns empty, or anything about the returned record's shape.

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

Conciseness3/5

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

It is short and front-loaded with no wasted clauses, but it is a bare noun fragment rather than a complete sentence, which reads as under-specification rather than disciplined conciseness.

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 one-parameter read tool with annotations and no output schema, the description is minimally adequate, but it leaves the single-record-vs-list choice and the not-found/not-pending behavior entirely unaddressed.

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% for the single 'id' parameter, so the schema carries the parameter documentation and the baseline is 3. The phrase 'by its ID' merely restates the schema and adds no format, range, or lookup-behavior detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'A single pending order by its ID' identifies the resource and its scope (one pending order, keyed by ID), which implicitly separates it from the sibling get_pending_orders. But there is no verb and no explicit statement that this is the single-record counterpart to the list tool, so the agent must infer the distinction from the plural sibling name alone.

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?

There is no when-to-use guidance and no exclusions. The only usage signal is the word 'single' plus 'by its ID', which implies retrieval of one known order rather than a listing, but the description never tells the agent to prefer get_pending_orders for enumeration or what to do when the ID is unknown.

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