Skip to main content
Glama

One server's player graph: 24 hours to 90 days

get_server_player_graph
Read-onlyIdempotent

[Servers] One server's player graph: 24 hours to 90 days. The data behind the range tabs of the server page's player chart: parallel arrays labels (UTC ISO-8601), players (average in each point) and peak (highest reading in it). Unlike /servers/{id}/history (raw readings, kept 7 days) the 30- and 90-day ranges come from the per-server hourly rollup, kept 90 days. Also peak_players and avg_players over the range. Cached for five minutes. Use 30d/90d for long trends (get_server_player_history keeps 7 days of raw readings).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "server_id": "<server_id>"
    },
    "name": "get_server_player_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNo`24h` = every poll; `7d` and `30d` = one point per hour; `90d` = one point per day.7d
server_idYesThe server's numeric id (from `/servers`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive call, and the description adds real context beyond them: five-minute caching, a 90-day rollup retention limit versus 7 days of raw readings, and the provenance of each range (every poll vs hourly vs daily points). It stops short of describing error or empty-range behavior, so it is strong but not exhaustive.

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?

Front-loaded with the purpose and the return shape, which is the right ordering. However, the 7-day raw-retention point is stated twice (once via the `/servers/{id}/history` comparison, again in the closing sentence), so a sentence could be trimmed without losing meaning.

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?

There is no output schema, so the description must carry the return contract, and it does: the three parallel arrays with units and aggregation meaning, plus `peak_players` and `avg_players` over the range. Combined with the stated caching and retention windows, an agent has everything needed to call and interpret it.

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 the schema already defines the enum values, defaults, and per-range aggregation granularity, so the description adds little beyond framing `range` as the server page's range tabs. Baseline 3 applies when the schema carries the parameter semantics.

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?

States a specific verb and resource ("One server's player graph") with the scope of the range (24 hours to 90 days) and names the sibling it differs from (get_server_player_history). It also enumerates the exact return arrays (`labels`, `players`, `peak`), so an agent can distinguish it from history and stats tools without opening a schema.

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 routes long trends to the 30d/90d ranges and explains that get_server_player_history only keeps 7 days of raw readings, giving a concrete condition for choosing between the two. The when-to-use and the alternative are both stated rather than inferred.

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