Skip to main content
Glama

Complete task

complete_task

Complete a Lemongraph todo (type: todo, key: its exact eight-character data.key), hide a commitment (type: commitment, commitment), or mark a note read (type: note, jobId and milestoneId). Take commitment and note identifiers from get_today. External services are unchanged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
typeYes
jobIdNo
commitmentNo
milestoneIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / id
      Removed value: -{
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
    • addedInput schema / properties / key
      Added value: +{
      +  "pattern": "^[a-z0-9]{8}$",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds the meaningful nuance that a commitment is 'hidden' rather than deleted and that 'External services are unchanged.' That side-effect boundary is genuinely useful context beyond the annotations, though it does not explain whether completed items persist or reappear.

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?

The mode-to-parameter mapping is front-loaded in a single dense sentence, followed by the identifier-source hint and a side-effect note. The parenthetical style is telegraphic but every clause carries information; no sentence is filler.

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 five-parameter polymorphic mutation tool with no output schema and no schema descriptions, the description covers mode selection, identifier sourcing, and external side effects. What it omits is the conditional requirement rule (which parameters are mandatory per type) and any hint about what the response contains.

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?

With 0% schema description coverage, the description carries the burden and largely meets it by mapping each parameter to its mode: `key` for todo with the exact eight-character `data.key`, `commitment` for commitments, and `jobId`+`milestoneId` for notes. The remaining gap is that it never states the parameters are conditionally exclusive, which matters given `additionalProperties: false`.

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 names a specific verb and enumerates three distinct resource modes: completing a todo, hiding a commitment, and marking a note read. Each mode is tied to its `type` enum value and identifier, so an agent can tell exactly what the tool does without opening the schema.

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?

It gives clear positive routing guidance by stating that commitment and note identifiers come from `get_today`, and it maps each entity to the correct `type`. It stops short of stating when not to use the tool or how it differs from siblings like `update_task` or `stop_task`, so it is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources