Skip to main content
Glama
trading-212-mcp

trading-212-mcp

by joeyeomans

Open positions

get_positions
Read-only

Retrieve open Trading 212 positions with quantity, average price, current price, and P&L; optionally filter by ticker to inspect a specific holding.

Instructions

All open positions with quantity, average price, current price and P&L. Optionally filter by ticker.

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_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerNoTrading 212 ticker, e.g. AAPL_US_EQ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The description provides the field list the tool returns, which is valuable given no output schema, but doesn't mention snapshot frequency, authentication requirements, or whether the data is real-time or delayed. With readOnlyHint and openWorldHint annotations, it does add some useful context but leaves gaps.

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?

A single, front-loaded sentence with zero waste; the essential output field list and filter option are compactly stated.

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?

For a read-only, one-parameter tool without output schema, the description mentions key returned fields and the optional filter, sufficiently equipping an agent to invoke it, though it doesn't describe edge cases like no-positions.

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%, with the ticker parameter documented in the schema with an example. The description merely indicates the optional filter, adding little beyond what the schema already states.

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

Purpose5/5

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

A specific verb+resource description: it returns all open positions and enumerates the fields returned (quantity, average price, current price, P&L). It's clearly distinguishable from sibling tools like get_pending_orders or get_order_history by resource type.

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?

The description says 'Optionally filter by ticker,' which implies usage context but does not explicitly state when to use this vs alternatives (e.g., search_instruments for instrument lookup). No guidance on excludes or prerequisites.

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