Skip to main content
Glama

Sergio by Serviche

Edit a task

update_task
Idempotent

Edits a task as a person can on its row: title, description (details), due_date (ISO 8601 with offset, or null to clear), priority, client_id or conversation_id (null unlinks). Send only the fields to change. A flow-step task shifts its later steps when its due time moves, as in the app. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.

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": {
      "task_id": "<task_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
task_idYes
due_dateNo
priorityNo
client_idNo
descriptionNo
conversation_idNo
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, yet the description goes further by disclosing the cascade side effect ("a flow-step task shifts its later steps when its due time moves") and the exact idempotent-replay behavior, including the conflict case where nothing is applied if the task changed since. Null-to-clear and null-to-unlink semantics are also disclosed, which no annotation covers.

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?

Field scope is front-loaded, then behavioral notes, then retry semantics — a sensible order. The final sentence packs three distinct idempotency facts together, making it denser than the rest, but 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 an 8-parameter mutation with no output schema, the description covers the modifiable fields, null semantics, cascade behavior, and idempotent replay, and it hints that the call returns the task. It never states the normal (non-replay) return shape or what happens on a partial/failed update, which a mutation tool without an output schema would ideally mention.

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 only 13% schema description coverage, the description carries the burden and mostly does: due_date is "ISO 8601 with offset, or null to clear", and client_id/conversation_id null "unlinks", semantics absent from the schema. It leaves title/description length limits and the priority enum values to the schema, which is reasonable since those are already explicit there.

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

Purpose4/5

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

"Edits a task" plus an explicit enumeration of the editable surface (title, description, due_date, priority, client_id/conversation_id) gives a precise verb+resource+scope that separates this from delete_task, assign_task or complete_task by implication. It stops short of naming any sibling outright, so the differentiation is inferred rather than stated.

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?

"Send only the fields to change" establishes patch semantics clearly, and the retry instruction ("Pass the same idempotency_key when retrying") tells the agent exactly how to handle failure. There is no explicit when-not-to-use guidance or routing to complete_task/snooze_task for adjacent operations.

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