Skip to main content
Glama
MonkeyType MCP Server

MonkeyType MCP Server

Get your leaderboard rank

get_leaderboard_rank
Read-onlyIdempotent

Retrieve your rank on MonkeyType's all-time leaderboard for a chosen language and typing mode. Returns the authenticated user's standing, optionally limited to friends only.

Instructions

The authenticated user's rank on the all-time leaderboard for a language and mode.

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

Input Schema

NameRequiredDescriptionDefault
modeYesTyping mode: time, words, quote, custom or zen.
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.
friendsOnlyNoRestrict the leaderboard to your friends. Requires an ApeKey.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 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: -"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: -"Mode for the leaderboard (time, words, quote, zen)"New value: +"Typing mode: time, words, quote, custom or zen."
    • addedInput schema / properties / mode / enum
      Added value: +[
      +  "time",
      +  "words",
      +  "quote",
      +  "custom",
      +  "zen"
      +]
    • changedInput schema / properties / mode2 / description
      Previous value: -"Secondary mode parameter (e.g., 15, 60, etc.)"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"
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the auth requirement ('authenticated user's') but says nothing about return shape, behavior for unranked users, or how friendsOnly affects results beyond the schema's own note.

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?

A single front-loaded sentence with no filler. The subject (authenticated user's rank) and the scope (all-time, per language and mode) arrive immediately.

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

Completeness3/5

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

With four parameters at full schema coverage, rich annotations, and no output schema, the essential calling information is present elsewhere. The description is nonetheless thin for a tool whose return value (a rank number? an object with percentile?) is not obvious from its name, and it omits the no-rank edge case.

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 mode enums and mode2 mapping fully documented in the schema, so the parameter baseline is 3. The description only restates 'language and mode' and adds no meaning for mode2 or friendsOnly beyond what the schema already provides.

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 names a specific verb+resource ('rank on the all-time leaderboard') and a scope qualifier ('all-time') that implicitly separates it from daily and weekly leaderboard siblings. It stops short of naming those siblings explicitly, so differentiation is inferred rather than stated.

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?

'All-time leaderboard' implies when this applies versus time-windowed leaderboards, and 'authenticated user's' signals it needs a logged-in context. However, there is no explicit when-to-use statement, no named alternative, and no note about what happens if the user has no rank.

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