Skip to main content
Glama

create_or_update_todo

Manages TODO tasks by creating or updating a project's TODO.md file, organizing items into sections like In Progress, Next Up, Blocked, and Completed for structured task tracking.

Instructions

Creates or updates the TODO.md file in .project/ directory. Use this when adding tasks, marking items complete, or updating task status. Intelligently organizes tasks into sections (In Progress, Next Up, Blocked, Completed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe task or todo item to add. Can be a single task or multiple tasks. Use markdown checkbox format: "- [ ] Task description".
sectionNoOptional: The section to add to: "in_progress", "next_up", "blocked", "completed". If not provided, defaults to "next_up".
markCompleteNoOptional: Task description to mark as complete. Will move from current section to "Completed" section.
replaceNoIf true, replaces the entire file. If false (default), merges with existing content.
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the intelligent organization into sections and the merge/replace behavior, which is valuable. However, it doesn't mention important behavioral aspects like file creation permissions, error handling, or what happens when marking non-existent tasks as complete. The description adds some context but leaves gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise with two sentences that each earn their place. The first sentence establishes the core purpose, and the second provides valuable behavioral context about section organization. No wasted words or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no annotations and no output schema, the description provides adequate but incomplete coverage. It explains the file operation and section organization well, but doesn't address error conditions, permissions, or what the tool returns. Given the complexity of a file creation/update operation, more behavioral context would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema. It mentions sections generally but doesn't provide additional syntax or format details. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Creates or updates the TODO.md file'), target resource ('.project/ directory'), and purpose ('adding tasks, marking items complete, or updating task status'). It distinguishes itself from sibling tools like 'create_task' or 'update_task' by focusing on file-level operations rather than individual task objects.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool ('when adding tasks, marking items complete, or updating task status'), but doesn't explicitly state when NOT to use it or mention alternatives. For example, it doesn't clarify when to use 'create_task' vs. this file-focused tool, though the file-centric nature is implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/pouyanafisi/project-mcp'

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