Skip to main content
Glama

Claim, note, hand off or finish an agent task

update_agent_task
Destructive

Claim, annotate, hand off, complete, fail, or cancel open agent tasks, using lease-based claiming and shared logs so multiple agents can coordinate work.

Instructions

Claim an open agent task, add to its shared log, hand it to the Slatebox agent or any agent, or complete, fail or cancel it.

Work a task. Work an agent task. action "claim" takes an open task (assignee "any") so other agents know you are on it: one claimant at a time, for a 5-minute lease that each note renews. Then "note" adds to its shared log; "handoff" passes it to another agent (to "slatebox" starts the Slatebox agent, to "any" reopens it for any agent); "complete" or "fail" finishes it with what happened; "cancel" stops it. "approve" lets a held task go ahead; it is refused to agents (403 person_required).

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": {
      "shareId": "<shareId>",
      "taskId": "<taskId>",
      "action": "<action>"
    },
    "name": "update_agent_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoFor handoff: "slatebox" or "any".
modeNosave (the default) writes; preview returns what would change and saves nothing. The response says which happened.save
textNoWhat you did, found or want next, for the shared log.
actionYes
taskIdYesThe task, from agentTasks.list.
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
shareIdYesThe slate ID from its address: /canvas/<shareId>.
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=false), the description discloses the actual mechanics: one claimant at a time, a 5-minute lease renewed by each note, and that approve is refused to agents with 403 person_required. It doesn't spell out what complete/fail/cancel destroy or whether they are reversible, which is the main remaining behavioral gap.

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 action semantics are front-loaded and dense, but the opening fragment pair "Work a task. Work an agent task." is keyword filler that adds no information to the agent. Everything after that earns its place, but those two sentences could be cut.

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 tool with no output schema, the description covers action semantics and the lease/permission model well, which is what an agent most needs to call it correctly. The confirmation (confirm/idempotencyKey) path is left entirely to the schema, so an agent reading only the description would not know a task action may return confirmation_required.

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 schema coverage at 88%, the baseline is 3, but the description genuinely adds meaning for values the schema only enumerates: what "slatebox" versus "any" does on handoff, that text feeds the shared log, and what each action value does. The confirm/idempotency confirmation flow is only carried by the schema, not the description, which keeps it from a 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?

The description names a specific resource (agent task) and enumerates each verb it supports: claim, note, handoff, complete, fail, cancel, approve. Each verb is given a one-clause meaning, so an agent can distinguish update_agent_task from list_agent_tasks or ask_agent 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?

It gives clear context for each action's use, including that claim only works on an open task with assignee "any" and that handoff to "slatebox" starts the Slatebox agent while "any" reopens the task. It stops short of naming an explicit alternative tool for adjacent needs (e.g., listing tasks), so it is strong but not a full when/when-not routing statement.

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

Deploy Server

Other Tools