Skip to main content
Glama

lichess_user_perf

Read-only

Get a Lichess user's statistics for one perf (rating, deviation, rank, percentile, best wins, streaks); perf is a speed, correspondence or variant from lichess_enums user_perf_types.

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": {
      "username": "<username>",
      "perf": "<perf>"
    },
    "name": "lichess_user_perf"
  }
}

Input Schema

NameRequiredDescriptionDefault
perfYesRequired perf type; see /lichess/enums user_perf_types.
usernameYesRequired Lichess username.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 description adds the useful scope note that results are for exactly one perf, but says nothing about licensing, rate limits, or behavior for unplayed perfs.

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?

One dense sentence, front-loaded with the action and resource, followed by the enumerated payload and the enum pointer. The parenthetical field list is long but informative rather than wasteful.

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 an output schema, full annotations, and 100% schema coverage on two required parameters, the description need only orient the agent, which it does. Minor gaps remain around error behavior for invalid perfs and whether unplayed perfs return empty or error.

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 perf property already documents 'see /lichess/enums user_perf_types', so the description largely restates the structured field. Its mention of speed, correspondence, or variant categories adds slight interpretive value for what counts as a perf, but no syntax or format detail.

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?

States a specific verb and resource ('Get a Lichess user's statistics for one perf') and enumerates the returned data (rating, deviation, rank, percentile, best wins, streaks). This scopes it apart from the broader lichess_user profile tool, though no sibling is named explicitly.

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?

It implicitly guides the agent by requiring a single perf and by pointing to lichess_enums user_perf_types for valid values, which is genuine routing help. However, it never states when to prefer this over lichess_user or lichess_user_rating_history, or what happens when a user has no games in that perf.

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.