Skip to main content
Glama

get_leaderboard

Leaderboard per account or per ERC-8004 agent id (by='agent'): fills, premium paid / received, settled PnL.

Input Schema

NameRequiredDescriptionDefault
byNoaccount
limitNo
orderNosettledPnlRaw

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it only partially does so: it discloses the returned metrics (fills, premium paid/received, settled PnL), which is genuinely useful. It says nothing about read-only semantics, whether data is public or account-scoped, result ordering behavior, or result volume — all relevant for a ranking tool.

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 compact sentence with the grouping dimension front-loaded and no filler. The telegraphic style borders on under-specification, but nothing is wasted.

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

Completeness2/5

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

Three undocumented parameters, no annotations, and no output schema mean the description must do more than it does. It omits sorting/pagination semantics and default behavior, so an agent cannot confidently call it for anything beyond the default case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the schema gives only bare titles. The description explains `by` for the 'agent' case and implies the account default, but `limit` and `order` — including the fact that order defaults to settledPnlRaw — are never mentioned. One of three parameters is clarified.

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?

It names the resource (leaderboard) and the two grouping dimensions (per account or per ERC-8004 agent id), plus the metrics surfaced (fills, premium paid/received, settled PnL). That is enough for an agent to see it is a ranking/aggregate view rather than a single-account report like get_pnl or get_positions. No explicit verb and no direct sibling callout 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 Guidelines2/5

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

There is no statement of when to pick this over get_pnl, get_positions, or get_history, and no prerequisites or exclusions. The only routing hint is the inline '(by=\'agent\')' parenthetical, which is parameter syntax, not usage guidance.

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.