Skip to main content
Glama

lafo.trade

My closed trades

get_my_history
Read-only

Your closed trades over the last days days, newest first, with the realized result and its quote currency; totals cover the whole period, as recorded by the site.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
offsetNo
account_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context: newest-first ordering, realized result with quote currency, and that totals span the whole period as recorded by the site (i.e., not recomputed from the returned page). It still says nothing about rate limits, auth scope, or behavior when the account has no trades.

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

Conciseness4/5

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

A single dense sentence, front-loading the resource and scope before the ordering and totals qualifiers; no filler. The semicolon clause is load-bearing rather than ornamental.

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?

An output schema exists, so return values need not be described, and the description still covers ordering and aggregate scope. The one material gap is the semantics of `account_id` (default null) for callers with multiple accounts, which neither schema nor description resolves.

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 0%, so the description carries the burden. It clarifies `days` and, usefully, that totals cover the whole period regardless of paging — which indirectly informs how `limit`/`offset` behave — but leaves `account_id` entirely unexplained, including what a null value means.

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?

States a specific resource and scope: the caller's own closed trades for the last `days` days. 'Closed trades' plus 'realized result' clearly separates it from sibling tools like get_my_positions or get_my_account, though the verb itself is implicit rather than stated.

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?

Usage is only implied by the resource name ('your closed trades'); there is no explicit statement of when to choose this over get_my_positions or get_robot_journal, and no noted prerequisites or exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources