Skip to main content
Glama
CodeDreamer06

MonkeyType MCP Server

get_last_result

Retrieve the user's most recent typing test result using the MonkeyType MCP Server for accurate performance analysis and tracking.

Instructions

Get user's last typing test result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'get_last_result' tool. It calls the MonkeyType API at '/results/last' with GET method using the provided API key and returns the result as JSON text content.
    case "get_last_result": { const result = await callMonkeyTypeApi('/results/last', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
  • Zod schema for 'get_last_result' tool input validation. Extends BaseApiSchema with no additional parameters.
    const GetLastResultSchema = BaseApiSchema.extend({});
  • server.js:215-219 (registration)
    Registration of the 'get_last_result' tool in the listTools handler, specifying name, description, and input schema.
    { 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