Skip to main content
Glama
senjoyee

Trading 212 MCP Server

by senjoyee

Place Stop-Limit Order

place_stop_limit_order

Place a stop-limit order to protect against slippage: triggers a limit order when the last traded price reaches your stop price. Use positive quantity to buy, negative to sell.

Instructions

Place a STOP-LIMIT order: when the Last Traded Price reaches stopPrice a limit order is placed at limitPrice. Protects against slippage. Use POSITIVE quantity to BUY, NEGATIVE to SELL. NOT idempotent. Rate limit: 1 req / 2s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesInstrument ticker (e.g. AAPL_US_EQ).
quantityYesShares. Positive = BUY, negative = SELL.
stopPriceYesPrice that triggers the limit order.
limitPriceYesLimit price for the resulting order.
timeValidityNoDAY or GOOD_TILL_CANCEL.DAY
Behavior4/5

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

Annotations already indicate non-read-only, non-idempotent, and non-destructive behavior. The description adds valuable context: the trigger mechanism, rate limit ('1 req / 2s'), and 'Protects against slippage.' It also reinforces the non-idempotent nature. This goes beyond the annotations but doesn't cover edge cases like partial fills or order lifecycle.

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?

The description is appropriately sized at five sentences, each serving a distinct purpose: mechanism, benefit, usage sign, idempotency, and rate limit. It is front-loaded with the core definition and does not waste words.

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?

Given the tool's moderate complexity (5 params, no output schema), the description covers the essential behavioral semantics, usage sign, rate limit, and slippage benefit. It does not explain the return value or edge cases, but this is not critical for tool selection and invocation. Overall, it is well-rounded.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers all five parameters with descriptions (100% coverage). The description adds extra meaning by explaining the interplay between stopPrice and limitPrice ('when LTP reaches stopPrice a limit order is placed at limitPrice'), which clarifies their roles beyond simple definitions. It also emphasizes the sign convention for quantity, though that is already in the schema.

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?

The description opens with 'Place a STOP-LIMIT order' and clearly explains the trigger mechanism ('when the Last Traded Price reaches stopPrice a limit order is placed at limitPrice'), which distinguishes it from sibling order types like market, limit, and stop orders. It also adds the benefit 'Protects against slippage,' reinforcing its purpose.

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

Usage Guidelines4/5

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

The description provides a clear context for use by stating the slippage protection benefit, and gives explicit instructions for buy vs sell using sign of quantity. However, it does not name alternative tools or explicitly state when not to use this order type, so it lacks explicit exclusions. This is solid but not top-tier.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/senjoyee/trading212-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server