Skip to main content
Glama

basecamp_uncomplete_todo

Mark a Basecamp todo as incomplete to undo its completion status, allowing you to reopen tasks that were previously marked as done.

Instructions

Mark a todo as incomplete (undo completion).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucket_idYesBasecamp resource identifier
todo_idYes

Implementation Reference

  • The core handler function that implements the basecamp_uncomplete_todo tool logic. It uses the Basecamp client to uncomplete the specified todo.
    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) }], }; } },
  • Input schema defining the required parameters: bucket_id and todo_id, both using the shared BasecampIdSchema.
    inputSchema: { bucket_id: BasecampIdSchema, todo_id: BasecampIdSchema, },
  • Registers the basecamp_uncomplete_todo tool with the MCP server inside the registerTodoTools 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) }], }; } }, );
  • src/index.ts:63-63 (registration)
    Top-level call to register all todo tools, including basecamp_uncomplete_todo, in the main server setup.
    registerTodoTools(server);
  • Shared schema for Basecamp IDs used in the tool's inputSchema.
    export const BasecampIdSchema = z .number() .describe("Basecamp resource identifier");

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