Skip to main content
Glama

anon_post_todos_todo_id_complete

Destructive

Marks a project todo as complete, recording the completer, time, optional note, and attachments. The project is identified by the API key, so no project ID is required.

Instructions

完成待办。需 todo:manage,或「当前用户是指派人且有 todo:complete」。置 status=done,记录完成人/时间/备注,文件入附件。 POST /api/projects/{id}/todos/{todoId}/complete 项目由当前 API 密钥自动确定,无需传 projectId。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=false, but the description adds substantive behavior: status is set to done, completer/timestamp/note are recorded, files go to attachments. It also discloses the key routing behavior that the project is derived from the API key. It does not confirm whether the action is reversible.

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

Conciseness4/5

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

Compact and front-loaded: action first, then permissions, then effects, then endpoint, then a routing note. No filler sentences. The parenthetical definition of the permission alternative is the only slightly dense clause.

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

Completeness4/5

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

For a mutation tool with four annotations and no output schema, the description covers auth, side effects, status transition, and the non-obvious project-from-key routing. It leaves open whether completion is reversible or triggers notifications, a minor but real gap.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry parameter meaning. It covers completionNote and the files-as-attachments flow, and clarifies that no projectId is needed. It does not explain effective file size limits or the required base64 format, which the nested schema does provide.

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?

States a specific verb (complete) and resource (todo), with the endpoint POST /api/projects/{id}/todos/{todoId}/complete. Distinguishes itself from sibling anon_patch_todos_todo_id and anon_post_todos_todo_id_updates by being the dedicated completion action.

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?

Explicitly states authorization preconditions: requires todo:manage, or the current user is the assignee with todo:complete. This gives clear when-you-may-use guidance, though it doesn't name alternative tools for updating todos without completing them.

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

Deploy Server

Other Tools