Skip to main content
Glama
CodeDreamer06

MonkeyType MCP Server

get_last_result

Retrieve your most recent typing test results to track speed and accuracy progress.

Instructions

Get user's last typing test result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler case for the 'get_last_result' tool. It calls the MonkeyType API endpoint '/results/last' using the shared callMonkeyTypeApi function and returns the JSON-stringified result as tool output.
    case "get_last_result": { const result = await callMonkeyTypeApi('/results/last', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
  • Zod input schema for the 'get_last_result' tool. Extends BaseApiSchema (empty object), indicating no input parameters are required.
    const GetLastResultSchema = BaseApiSchema.extend({});
  • server.js:215-219 (registration)
    Tool registration in the ListTools response, providing name, description, and input schema reference.
    { name: "get_last_result", description: "Get user's last typing test result", inputSchema: zodToJsonSchema(GetLastResultSchema), },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeDreamer06/MonkeytypeMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server