Skip to main content
Glama
armaaar

thndr-mcp

by armaaar

Closed trades (journal)

get_closed_trades
Read-onlyIdempotent

Fetch closed round-trip trades from a trading journal to review entry/exit dates and prices, volume, net P/L, and holding period, filtered by market, symbol, or date range.

Instructions

Trading journal of round trips: entry/exit dates and prices, volume, net P/L and holding period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00)
fromNoISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00)
pageNo
limitNo
marketNoMarket: "egypt" (EGX, default), "us" (NYSE/Nasdaq via Alpaca), "uae" (ADX) or "simulator" (paper trading)egypt
periodNoPreset range in Cairo market days, up to now: today, 7d/30d/90d (last N days incl. today), mtd, ytd, 1y (last 12 months). Do not combine with from/to.
symbolNoOnly this ticker

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds content semantics (round trips, net P/L, holding period) but says nothing about timezone handling, pagination behavior, or how period interacts with from/to beyond what the schema states.

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 dense fragment that front-loads the resource and enumerates its fields with zero filler. Nothing could be removed without losing information.

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?

With no output schema, the field enumeration partially compensates by describing the return payload. However, a 7-parameter read tool with preset ranges and pagination would benefit from guidance on combining period with from/to and on default market scope, none of which is present.

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 71%, with the from/to/period/market/symbol params well documented in the schema itself, while page/limit are undocumented but self-evident given defaults and bounds. The description contributes no filtering syntax or edge-case detail (e.g. period vs from/to mutual exclusion), so it neither compensates for the gap nor adds meaning 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?

The description names the resource (a trading journal of round trips) and enumerates the payload fields (entry/exit dates and prices, volume, net P/L, holding period), so an agent knows exactly what it returns. It stops short of an explicit verb and does not contrast itself with the closely related siblings get_recent_trades or get_realized_returns, which would be needed for a 5.

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 guidance on when to call this tool versus the many sibling reads such as get_recent_trades, get_realized_returns or get_sell_journal. Prerequisites, scope (e.g. whether it covers all markets by default), and exclusions are entirely absent.

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