Skip to main content
Glama

Update task

update_task
DestructiveIdempotent

Update a task's title, description, or tag. Pass tag: "" (empty string) to remove the tag.

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

Input Schema

NameRequiredDescriptionDefault
idYesTask id
tagNoNew tag name, or "" to remove the tag
titleNoNew title
descriptionNoNew description ("" clears it)

Output Schema

NameRequiredDescriptionDefault
idYes
tagYes
titleYes
week_idYes
locationYes
positionYes
created_atYes
updated_atYes
descriptionYes
is_completedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "created_at": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "is_completed": {
      +      "type": "boolean"
      +    },
      +    "location": {
      +      "type": "string"
      +    },
      +    "position": {
      +      "type": "number"
      +    },
      +    "tag": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "updated_at": {
      +      "type": "string"
      +    },
      +    "week_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "title",
      +    "description",
      +    "location",
      +    "week_id",
      +    "is_completed",
      +    "position",
      +    "tag",
      +    "created_at",
      +    "updated_at"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=true), so the description's job is extra context. It delivers the key one: passing "" clears/removes a field, which is precisely the behavior behind the destructive hint. It does not state partial-update semantics (only supplied fields change) or what happens to omitted fields, keeping it short of a 5.

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 sentences, zero filler, with the operation stated first and the non-obvious edge case (empty string = removal) immediately after. Nothing repeats the title or wastes tokens.

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?

With an output schema present and full schema description coverage, the description need not explain return values, and annotations cover safety. What remains thin is mutation contract detail — whether providing no optional fields is an error and whether the operation is a partial or full replace — but the essentials for calling it correctly are present.

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%, including the '"" to remove the tag' note, so the schema already documents all four parameters. The description restates the tag empty-string convention rather than adding new semantics (e.g., whether at least one of title/description/tag must be supplied), so baseline 3 applies.

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?

Clear verb+resource plus the specific mutation surface ('title, description, or tag'), which implicitly separates it from siblings like move_task or complete_task. However, it never names a sibling or explicitly excludes the other task-mutating tools, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is implied by the field list — edit a task's text fields here, use move_task/complete_task for other changes — but no explicit when-to-use or when-not-to-use guidance is given. The one concrete directive (empty string removes the tag) is operational, not a selection rule.

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