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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:403-408 (handler)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) }], }; }
- server.js:56-56 (schema)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), },