Skip to main content
Glama

Update task text

update_task
DestructiveIdempotent

Replace an existing task's text. Single line only - to add sibling tasks use create_task, and to attach longer prose use set_task_note.

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": {
      "projectId": "<projectId>",
      "taskId": "<taskId>",
      "content": "<content>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID from `list_tasks`
contentYesNew task text
projectIdYesProject ID from `list_projects`
contentTypeNoHow to parse the content (default text/markdown)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the agent knows this overwrites existing content safely-repeatably. The description's main addition is the single-line constraint, but that is largely restated from the schema pattern (^[^\r\n]*$), and it says nothing about the 2000-character cap, permission requirements, or what happens to prior text beyond the word 'replace'. Adds some value, but not much beyond structured fields.

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?

Two short sentences with the core operation front-loaded and the routing constraints following immediately. No filler, no repetition of schema details beyond what is needed for framing.

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 simple 4-parameter mutation with rich annotations and no output schema, the definition gives enough to call it correctly. The only real gap is that contentType's effect on parsing is left entirely to the schema, which is acceptable given full schema coverage but keeps it short of a 5.

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%, including per-parameter descriptions and an enum for contentType, so the schema carries the parameter burden. The description only reinforces the meaning of 'content' via the single-line rule and says nothing about contentType (markdown vs plain) or which project/task IDs are required. Baseline 3 applies.

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 ('Replace an existing task's text') and immediately bounds the operation to a single line. It also names the two sibling tools that cover the adjacent operations, so an agent can distinguish it from create_task and set_task_note 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?

Gives explicit routing: use create_task to add sibling tasks, use set_task_note for longer prose, and use this tool only for replacing existing task text. That covers both the when and the when-not with concrete named alternatives.

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.