Skip to main content
Glama

Vectorial Data Terminal: Hyperliquid, Polymarket & yield for AI agents

get_metrics

Read-only

Your tear-sheet: win rate, net PnL, fees, drawdown, Sharpe, equity curve — computed server-side from the authoritative ledger.

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

Input Schema

NameRequiredDescriptionDefault
modeNoWhich ledger to measure: paper or live
windowNoStats window: 7d, 30d, 90d or all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / mode / description
      Added value: +"Which ledger to measure: paper or live"
    • addedInput schema / properties / window / description
      Added value: +"Stats window: 7d, 30d, 90d or all"
  2. 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=true, so the safety profile is covered. The phrase 'computed server-side from the authoritative ledger' adds genuinely useful context — figures are canonical and not client-derived — but the description says nothing about what happens when mode/window are omitted or how costly a wide window is to compute.

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 front-loaded sentence naming the returned metrics, with zero filler beyond the informal 'Your tear-sheet' framing. The em-dash clause is doing real work by stating the data provenance.

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?

With no output schema, the metric enumeration usefully substitutes for a return-value description, and both optional params are fully documented in the schema. The only real gap is default behavior for mode/window when omitted, which an agent would need to guess.

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 100% and both parameters are enums with their own descriptions, so the schema carries parameter meaning. The description adds no further semantics beyond confirming the ledger source; baseline 3 applies.

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 precisely and enumerates what is returned (win rate, net PnL, fees, drawdown, Sharpe, equity curve), so an agent knows this is the aggregate performance/stats tool rather than a position or account lookup. It does not explicitly contrast itself with siblings like get_account or get_positions, which keeps it from 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 Guidelines3/5

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

Usage is implied by 'Your tear-sheet' — pull this when you want performance statistics rather than raw positions or balances. There is no explicit statement of when to prefer it over get_account, get_earn, or get_positions, and no note on prerequisites such as whether live mode requires authorization.

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.