Skip to main content
Glama
MonkeyType MCP Server

MonkeyType MCP Server

Get all-time leaderboard

get_leaderboard
Read-onlyIdempotent

Fetch all-time Monkeytype leaderboard rankings for a language and typing mode, with pagination and optional friends-only filtering.

Instructions

All-time Monkeytype leaderboard for a language and mode. Rate limit: 500/hour. Requires an ApeKey.

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": {
      "language": "<language>",
      "mode": "<mode>",
      "mode2": "<mode2>"
    },
    "name": "get_leaderboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesTyping mode: time, words, quote, custom or zen.
pageNoZero-based page number. Defaults to 0.
mode2YesSecondary mode value. time → 15/30/60/120; words → 10/25/50/100; quote → short/medium/long/thorough; zen → zen; custom → custom.
languageYesLanguage id from Monkeytype, e.g. english, english_1k, spanish, german, french.
pageSizeNoEntries per page (10-200). Defaults to 50.
friendsOnlyNoRestrict the leaderboard to your friends. Requires an ApeKey.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv2.0.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / friendsOnly
      Added value: +{
      +  "description": "Restrict the leaderboard to your friends. Requires an ApeKey.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / language / description
      Previous value: -"Target language for the leaderboard"New value: +"Language id from Monkeytype, e.g. english, english_1k, spanish, german, french."
    • addedInput schema / properties / language / minLength
      Added value: +1
    • changedInput schema / properties / mode / description
      Previous value: -"Typing mode for the leaderboard"New value: +"Typing mode: time, words, quote, custom or zen."
    • changedInput schema / properties / mode2 / description
      Previous value: -"Secondary mode parameter"New value: +"Secondary mode value. time → 15/30/60/120; words → 10/25/50/100; quote → short/medium/long/thorough; zen → zen; custom → custom."
    • changedInput schema / properties / mode2 / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "number"
      +]
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 0-indexed. Default 0."New value: +"Zero-based page number. Defaults to 0."
    • addedInput schema / properties / page / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / pageSize / description
      Previous value: -"Number of entries per page. Default 50, min 10, max 200."New value: +"Entries per page (10-200). Defaults to 50."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the description's job is to add context — which it does by disclosing the 500/hour rate limit and the ApeKey authentication requirement. It does not explain result ordering or how friendsOnly changes output, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with zero filler, front-loading the resource and scope before the operational constraints. Every sentence carries distinct information (scope, rate limit, auth).

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?

For a six-parameter read tool whose parameters are fully documented in the schema, the description covers scope, rate limits and auth adequately. It omits any indication of what a leaderboard entry contains, but with no output schema that gap is mild rather than blocking.

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 description coverage is 100%, with language, mode, mode2, page, pageSize and friendsOnly all documented in the schema, so the baseline of 3 applies. The description only echoes the language/mode scoping and adds the ApeKey requirement for friendsOnly, adding little semantic depth beyond the schema.

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 gives a specific verb+resource: it returns the 'All-time Monkeytype leaderboard', scoped to 'a language and mode'. The word 'All-time' implicitly separates it from get_daily_leaderboard and get_weekly_xp_leaderboard, 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?

Usage is only implied by the 'All-time' qualifier; there is no explicit statement of when to prefer this over the daily or weekly leaderboard tools, and no exclusions or prerequisites beyond the ApeKey note. An agent can infer the context but is not guided to it.

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