Skip to main content
Glama

basecamp_uncomplete_todo

Mark a completed Basecamp todo as incomplete to restore it to your active task list. This action reverses todo completion status for better task management.

Instructions

Mark a todo as incomplete (undo completion).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucket_idYesBasecamp resource identifier
todo_idYes

Implementation Reference

  • Handler function that initializes the Basecamp client and calls the uncomplete method on the todo resource to mark the specified todo as incomplete. Handles errors with a standard error message.
    async (params) => { try { const client = await initializeBasecampClient(); await client.todos.uncomplete({ params: { bucketId: params.bucket_id, todoId: params.todo_id }, }); return { content: [{ type: "text", text: "Todo marked as incomplete!" }], }; } catch (error) { return { content: [{ type: "text", text: handleBasecampError(error) }], }; } }, );
  • Zod schema for Basecamp resource IDs (number), used in the input schema for bucket_id and todo_id parameters.
    export const BasecampIdSchema = z .number() .describe("Basecamp resource identifier");
  • MCP server registration of the basecamp_uncomplete_todo tool, defining its title, description, input schema (using BasecampIdSchema for parameters), annotations, and linking to the handler function.
    server.registerTool( "basecamp_uncomplete_todo", { title: "Uncomplete Basecamp Todo", description: "Mark a todo as incomplete (undo completion).", inputSchema: { bucket_id: BasecampIdSchema, todo_id: BasecampIdSchema, }, annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true, }, }, async (params) => { try { const client = await initializeBasecampClient(); await client.todos.uncomplete({ params: { bucketId: params.bucket_id, todoId: params.todo_id }, }); return { content: [{ type: "text", text: "Todo marked as incomplete!" }], }; } catch (error) { return { content: [{ type: "text", text: handleBasecampError(error) }], }; } }, );

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/stefanoverna/basecamp-mcp'

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