Skip to main content
Glama

Jornalo — futures trading journal

Setup performance

get_setup_performance
Read-only

Net P&L, win rate, profit factor and expectancy per setup — which strategies earn and which bleed.

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

Input Schema

NameRequiredDescriptionDefault
toNoISO date or YYYY-MM-DD. Defaults to now.
fromNoISO date or YYYY-MM-DD. Defaults to all history.
accountIdNoBroker account id from list_accounts. Comma-separated for several; omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/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, so the safety profile is covered. The description adds the returned metric set, which is useful, but says nothing about aggregation, date-window defaults, or grouping behavior beyond the annotations.

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 that states the metrics and the grouping dimension with zero wasted words. Nothing to trim.

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?

For a read-only reporting tool with no output schema, naming the four metrics partially substitutes for a return-value description, but it omits how results are grouped or ordered and whether setups with no trades appear. Adequate but with visible gaps.

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%, so from/to/accountId are already documented in the schema (including the comma-separated account id convention and defaults). The description adds no parameter-level detail, which is the expected baseline when the schema carries the load.

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 (performance per setup) and enumerates the specific metrics returned (net P&L, win rate, profit factor, expectancy), which distinguishes it from get_performance_summary and get_monthly_performance by dimension. It lacks an explicit verb but 'per setup' makes the scope unambiguous.

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 when-to-use guidance, no prerequisite mention (e.g. that a setup must exist, see list_setups), and no named alternative such as get_performance_summary for the aggregate view. Usage is only implied by the 'per setup' framing.

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