Skip to main content
Glama

Signal Performance

get_performance
Read-only

[RECEIPTS] Backtest performance over last N days (1-365, default 30). Same data as REST /performance. Note: no asset filter — performance is aggregated across all assets. Performance is the live forward-return record by signal type. DENOMINATOR CONTRACT — every block (overall, by_signal_type, by_coin, by_source) carries total/wins/partials/losses/expired/settled/win_rate. total counts signals emitted, settled or NOT: most expire unsettled, so wins/total is not a win rate and ranks lanes backwards. win = full take-profit only; a partial is not a loss. Rank on win_rate (wins/settled) or avg_pnl. win_rate is null when settled=0 — that is 'not yet measurable', NOT zero. For the gated per-type verdict with confidence intervals and the tradeable badge, use get_proof instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations provide readOnlyHint=true, so safety is clear. Description adds deep behavioral context: denominator contract, interpretation of 'win' vs 'partials', that 'wins/total is not a win rate', null handling for win_rate when settled=0. No contradiction with annotations. Description adds substantial value beyond structured fields.

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?

Description is somewhat long but every sentence earns its place. Front-loaded with purpose and scope. The detailed behavioral notes are justified given the tool's complexity. Minor verbosity in the denominator contract explanation but not excessive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with output schema and one optional parameter, description covers all necessary context: what it does, what it doesn't do, how to interpret output fields, and alternative tool. No gaps. Output schema handles return values.

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?

Schema has 1 param (days) with 0% description coverage. Description explains valid range (1-365) and default (30), which adds meaning. Could be more explicit about parameter name in text but the context makes it clear.

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?

Description uses specific verb 'backtest' and resource 'performance' with scope 'over last N days'. It distinguishes from sibling tool get_proof by stating its different purpose. No ambiguity.

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

Usage Guidelines5/5

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

Explicitly states when to use: 'no asset filter — performance is aggregated across all assets'. Explicitly states when not to use: 'For the gated per-type verdict ... use get_proof instead'. Also mentions data source equivalence to REST endpoint. Provides clear context for selection.

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