Skip to main content
Glama
CodeDreamer06

MonkeyType MCP Server

get_results

Fetch typing test results from MonkeyType MCP Server, allowing users to retrieve data based on timestamp, offset, and limit parameters for precise querying.

Instructions

Get user's typing test results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoLimit results to the given amount
offsetNoOffset of the item at which to begin the response
timestampNoTimestamp of the earliest result to fetch

Implementation Reference

  • Handler for the 'get_results' tool. Builds query parameters from input (timestamp, offset, limit) and calls the MonkeyType API endpoint '/results' via the shared helper.
    case "get_results": { const params = {}; if (args.timestamp) params.timestamp = args.timestamp; if (args.offset) params.offset = args.offset; if (args.limit) params.limit = args.limit; const result = await callMonkeyTypeApi('/results', 'GET', apiKey, params); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
  • Zod schema definition for 'get_results' tool input validation, defining optional timestamp, offset, and limit parameters.
    const GetResultsSchema = BaseApiSchema.extend({ timestamp: z.number().optional().describe("Timestamp of the earliest result to fetch"), offset: z.number().optional().describe("Offset of the item at which to begin the response"), limit: z.number().optional().describe("Limit results to the given amount") });
  • server.js:205-209 (registration)
    Registration of the 'get_results' tool in the listTools response, including name, description, and input schema.
    { name: "get_results", description: "Get user's typing test results", inputSchema: zodToJsonSchema(GetResultsSchema), },

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