Skip to main content
Glama
Trading 212 MCP

Trading 212 MCP

by moeinxyz

trading_history

Read-only

Fetch paginated account history for orders, dividends, or transactions. Reuse the returned next-page path with the same account and kind until null.

Instructions

Get one history page. Reuse its next_page_path with the same account and kind until null.

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": {
      "kind": "<kind>"
    },
    "name": "trading_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
limitNo
accountNoAccount label from trading_status.primary
next_page_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false. The description adds meaningful behavioral detail beyond that: it is a paginated read where the caller must reuse next_page_path with the same account and kind until the path is null.

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 with no wasted words. The core retrieval purpose is front-loaded, followed immediately by the pagination instruction.

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?

The tool is a simple paginated read with an output schema and annotations that already cover safety. The description covers the critical pagination contract, though it omits sibling-routing guidance and does not elaborate on the kind or limit parameters.

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 low at 25%, so the description must compensate. It clarifies that next_page_path should be reused with the same account and kind, but it does not explain the kind enum values, the limit maximum, or the account default beyond what the schema already shows.

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: 'Get one history page.' It is clear that the tool retrieves a page of trading history, but it does not differentiate this from sibling tools such as list_pending_orders or get_portfolio_overview.

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?

The only usage guidance is pagination-related: reuse next_page_path until null. There is no explanation of when to use this tool versus alternatives like list_pending_orders or trading_status, nor any exclusions or prerequisites.

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