Skip to main content
Glama

Complete a to-do

complete_task
Idempotent

Mark a Sara to-do as done by its id, respecting the owner's approval settings, so tasks can be closed from other apps.

Instructions

Mark one of the owner's to-dos in Sara as done, by its id (from list_tasks or get_today). Use update_task with status "open" to reopen one. Returns "Done: to-do #id title". Marking a to-do that is already done changes nothing. Only listed when the owner turns on "Let other apps change things" in Sara. Follows the owner's approval setting for her todo tool (allowed, ask first, or off): when it asks first, it returns "Waiting for approval in Sara" and nothing changes until the owner presses Allow there; when it is off, it returns that it's turned off.

Input Schema

NameRequiredDescriptionDefault
idYesThe to-do id: the number after # in list_tasks or get_today's results (e.g. 12 for #12). An unknown id is refused with an error and nothing changes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false. The description adds genuine context beyond them: the exact success string, that re-completing a done item is a no-op, and the three-state approval flow with its return strings (allowed / "Waiting for approval in Sara" / off). The only shortfall is that the idempotent no-op restates the annotation rather than extending it.

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?

Front-loaded with the core action, then alternatives, then return value, then permission gating — a sensible ordering. The approval-gating sentence is long and packs three branches into one line, which costs a little readability but each clause carries distinct information.

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

Completeness5/5

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

With no output schema, the description supplies the exact return string, plus the approval and disabled-state responses an agent must be able to recognize. Idempotency, error behavior, and permission prerequisites are all covered, so nothing needed to call it correctly is missing.

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 coverage is 100% and the single id parameter already documents its provenance and the unknown-id error, so the baseline of 3 applies. The description reinforces the id source but adds no syntax or format detail beyond the schema.

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 and resource ("Mark one of the owner's to-dos in Sara as done, by its id") and implicitly scopes it against delete_task and update_task by naming update_task as the reopen path. An agent can distinguish it from every sibling without opening a schema.

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

Usage Guidelines5/5

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

Explicitly says where ids come from (list_tasks or get_today) and names the alternative for the inverse operation (update_task with status "open"). It also states the precondition that the tool is only listed when the owner enables "Let other apps change things", which is real when-to-use guidance.

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