Skip to main content
Glama

Leaderboards and totals

get_leaderboard
Read-onlyIdempotent

Rank Minecraft players by presets or custom statistics, returning up to five leaderboards with tied places. Compare playtime, mined blocks, mobs killed, deaths, advancements, and more.

Instructions

Players ranked by statistics, up to 5 boards, ties sharing a place. Presets: playtime (hours), diamonds, advancements, mobs, travel (km), deaths, blocks, fish, damage (hearts), netherite, experience, tamed. Or any statistic as category:key, such as mined:diamond_ore or killed:*. Without statistics, the presets and everyone's totals: hours, blocks mined, mobs killed, deaths, advancements, world day.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPlayers per board, 10 by default
statisticsNoSuch as ["playtime", "custom:jump"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv5.0.0
    • changedInput schema / properties / limit / description
      Previous value: -"Players per board; 10 by default"New value: +"Players per board, 10 by default"
    • changedInput schema / properties / statistics / description
      Previous value: -"Such as [\"playtime\", \"mined:diamond_ore\"]"New value: +"Such as [\"playtime\", \"custom:jump\"]"
  2. First observedv4.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world safety, so the description's added value is the result semantics: a hard cap of 5 boards, ties sharing a place, and the fallback to aggregate totals when no statistics are given. Unit conventions (hours, km, hearts) further clarify what the numbers mean, though nothing is said about ordering direction or missing-data behavior.

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?

Ranking behavior and the board cap are front-loaded, then the presets, then the custom syntax, then the no-argument fallback — a logical order. The long preset enumeration is dense but every token is a valid vocabulary item an agent needs, so it earns its place.

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 description must convey the return shape, and it does: ranked players, tie handling, and the totals payload with its six named metrics. An agent can call this correctly without further information, though sorting direction and how absent statistics are treated remain unstated.

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 coverage is 100%, so both parameters are already documented. The description still adds real meaning beyond the schema by enumerating all twelve preset names and showing the `category:key` syntax with wildcard support (`killed:*`), which the schema only hints at with a single example. `limit` is left entirely to the schema, so this stops short of 5.

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 first sentence states a specific verb-like operation and resource: players ranked by statistics, capped at 5 boards, with ties sharing a place. It is instantly distinguishable from siblings like get_player or list_players, which return records rather than rankings, though it never explicitly contrasts itself with them.

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

Usage Guidelines4/5

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

The description gives clear conditional behavior: supply presets or `category:key` strings to get ranked boards, and omit `statistics` to get totals instead. That covers when to call it in each mode, but it offers no exclusions or pointers to alternative tools for related data.

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