Skip to main content
Glama

Update a local assignment

update_assignment
Idempotent

Change a local assignment's status (pending, completed, cancelled) or note by ID; completed records completion time, other statuses clear it, and unknown IDs fail.

Instructions

Changes the status (pending, completed or cancelled) or the note of a local assignment, found by its id from list_assignments. Setting completed records the time; other statuses clear it. Fails if the id is unknown. Returns the updated assignment. Does not touch anton.app.

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_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId (UUID) of the assignment, from list_assignments
noteNoNew note, replacing the old one. Omit to keep it.
statusNoNew status. Omit to keep it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.6.0
    • changedInput schema / properties / id / description
      Previous value: -"Assignment UUID"New value: +"Id (UUID) of the assignment, from list_assignments"
    • changedInput schema / properties / note / description
      Previous value: -"Updated note"New value: +"New note, replacing the old one. Omit to keep it."
    • changedInput schema / properties / status / description
      Previous value: -"New status"New value: +"New status. Omit to keep it."
  2. First observedv1.5.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-readonly, idempotent, non-destructive, closed-world, and the description does not contradict them. On top of that it discloses the timestamp side effect, the error behavior for unknown ids, the return value, and the scope boundary ("Does not touch anton.app") — substantive behavior beyond the structured hints.

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?

Four short sentences, front-loaded with the mutation's effect, followed by semantics, failure mode, and scope. Every sentence carries distinct information and none is padding.

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?

For a three-parameter idempotent mutation with no output schema, the description covers effect, side effects, error case, and return value. Nothing an agent needs before calling it is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns an extra point by explaining the side effect tied to the status parameter: completed records the time while other statuses clear it. Its note/status guidance largely restates schema text, so it does not reach 5.

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 ("Changes the status ... or the note of a local assignment") plus the lookup key, and the closing "Does not touch anton.app" separates it from any remote/anton-app mutation siblings. An agent can tell this apart from list_assignments or delete_assignment 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 Guidelines4/5

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

Explicitly points to list_assignments as the source of the id and states the failure condition for an unknown id, which is clear context for correct invocation. It stops short of naming the alternative mutation (delete_assignment) or saying when to cancel versus delete, so it is not a full when/when-not map.

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