Skip to main content
Glama
MonkeyType MCP Server

MonkeyType MCP Server

Get speed histogram

get_speed_histogram
Read-onlyIdempotent

Retrieves the number of users' personal bests grouped by WPM ranges (multiples of ten) for a specified language and typing mode, helping analyze speed distribution.

Instructions

Number of users' personal bests grouped by WPM (multiples of ten) 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_speed_histogram"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / language / description
      Previous value: -"Target language for the speed histogram (e.g., 'english')"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 (e.g., 'time', 'words')"New value: +"Typing mode: time, words, quote, custom or zen."
    • changedInput schema / properties / mode2 / description
      Previous value: -"Secondary mode parameter (e.g., '60' for time mode)"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.6/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the safety profile is covered. The description adds one genuinely useful behavioral detail – the aggregation bucket granularity of ten WPM – but says nothing about ordering, empty buckets, or response shape for a tool with no output schema.

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 tight sentence with the aggregation and the bucketing rule front-loaded; no filler or redundancy.

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?

Given three required params, full schema coverage, and no output schema, the description does the important extra work of explaining the unit of return (user counts per ten-WPM bucket). It falls short only on response structure details like bucket ordering or total counts, which an agent might reasonably want.

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 per-parameter descriptions including the mode enum and mode2 value mapping, so the baseline of 3 applies. The description only restates that language and mode are required inputs and adds no new semantics such as whether mode2 must match the selected mode.

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 resource and transformation: user personal-best counts binned by WPM in multiples of ten, scoped to a language and mode. That distinguishes it reasonably from get_personal_bests (individual records) and get_typing_stats, though it never names those siblings 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 – a distribution/histogram of personal bests – with no statement of when to prefer it over get_personal_bests, get_stats, or get_typing_stats, and no prerequisites or exclusions. An agent can infer the case from the name and description but is given no routing rule.

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