is_submission_enabled
Verifies whether quote submissions are active on the MonkeyType MCP Server, enabling users to confirm functionality before proceeding with typing test data submissions.
Instructions
Check if quote submission is enabled
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:495-500 (handler)The handler function for the 'is_submission_enabled' tool. It makes a GET request to the MonkeyType API endpoint '/quotes/submission-enabled' using the shared callMonkeyTypeApi helper and returns the JSON response.case "is_submission_enabled": { const result = await callMonkeyTypeApi('/quotes/submission-enabled', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
- server.js:99-99 (schema)Zod schema definition for the input parameters of the 'is_submission_enabled' tool. It extends BaseApiSchema, resulting in an empty object schema (no parameters required).const IsSubmissionEnabledSchema = BaseApiSchema.extend({});
- server.js:263-267 (registration)Registration of the 'is_submission_enabled' tool in the ListTools response, specifying its name, description, and input schema.{ name: "is_submission_enabled", description: "Check if quote submission is enabled", inputSchema: zodToJsonSchema(IsSubmissionEnabledSchema), },