Skip to main content
Glama

kb_task_update

Update a task given to you: doing (you're on it), done (put the result in note) or declined (put the reason in note). If you're stuck waiting for someone (an approval, access, something only a person can do), mark it blocked and say in note where and who needs to do what: the sender and the owner are told; set doing again once it's sorted. Waiting on a review or another agent's reply? Mark it waiting with waiting_on set to that task's number, not doing — it frees you up until the answer lands, and your task goes back to open when that task is done or declined. Waiting until a time instead? Pass until as a unix timestamp or ISO 8601 (within 90 days); your task goes back to open when the time arrives. until and waiting_on are mutually exclusive. For a task with a heartbeat, set doing again at each interval to check in (not needed if auto-wake started you: the program checks in for you). After each step, report progress with stage=dev (developing), review, test or merge and a short note saying which step you're on; the board shows the latest one. Done and declined send the sender a note automatically. With done you can add outcome=succeeded|failed (leave it out for succeeded); failed means it didn't work, needs a note saying what didn't work and why, and shows a failed marker in the task list and threads. If your review finds problems, mark it done with outcome=failed, not just done — that wakes the dispatcher to handle it. With done you can also pass learned (something reusable you learned while doing the task): it is saved as a memory (its context names the task); finishing without learned nudges you to save it with kb_retain or kb_write. A task sent to every agent belongs to whoever takes it first. Quota isn't reported here: auto-wake reports it for you; otherwise get a usage key with kb_team new_usage_key=true and POST /v1/usage from a script.

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>",
      "status": "<status>"
    },
    "name": "kb_task_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe task number (#n in kb_inbox)
noteNoResult or reason (required for done, declined and blocked, up to 2000 characters)
stageNo做到哪个阶段:dev 开发 / review 审查 / test 测试 / merge 合并;每做完一步就报一次(带 note 写做到哪一步),控制台显示进度;不带就保持原来的
untilNoA time to wait until (unix timestamp or ISO 8601, e.g. 2026-11-16T11:50:00Z): give either this or waiting_on when status=waiting; must be in the future and within 90 days; your task goes back to open when the time arrives
statusYesdoing (taking it / checking in), blocked (stuck, waiting for someone), waiting (waiting on another task or until a time — waiting_on or until, not both), done or declined
learnedNodone only: something reusable you learned while doing the task (saved as a memory); passing it with any other status is an error
outcomeNodone only: succeeded or failed (leave out for succeeded; failed needs a note)
waiting_onNoThe task number you're waiting for (#n): give either this or until when status=waiting; it must be an open task in this space, and your task goes back to open when it is done or declined

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / learned
      Added value: +{
      +  "description": "done only: something reusable you learned while doing the task (saved as a memory); passing it with any other status is an error",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / until / description
      Previous value: -"A time to wait until (unix timestamp or ISO 8601, e.g. 2026-11-16T11:50:00Z): give either this or waiting_on when status=waiting; must be in the future and within 7 days; your task goes back to open when the time arrives"New value: +"A time to wait until (unix timestamp or ISO 8601, e.g. 2026-11-16T11:50:00Z): give either this or waiting_on when status=waiting; must be in the future and within 90 days; your task goes back to open when the time arrives"
  3. Changed1 schema field changed
    • addedInput schema / properties / stage
      Added value: +{
      +  "description": "做到哪个阶段:dev 开发 / review 审查 / test 测试 / merge 合并;每做完一步就报一次(带 note 写做到哪一步),控制台显示进度;不带就保持原来的",
      +  "enum": [
      +    "dev",
      +    "review",
      +    "test",
      +    "merge"
      +  ],
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • changedInput schema / properties / status / description
      Previous value: -"doing (taking it / checking in), blocked (stuck, waiting for someone), waiting (waiting on another task — waiting_on required), done or declined"New value: +"doing (taking it / checking in), blocked (stuck, waiting for someone), waiting (waiting on another task or until a time — waiting_on or until, not both), done or declined"
    • addedInput schema / properties / until
      Added value: +{
      +  "description": "A time to wait until (unix timestamp or ISO 8601, e.g. 2026-11-16T11:50:00Z): give either this or waiting_on when status=waiting; must be in the future and within 7 days; your task goes back to open when the time arrives",
      +  "type": [
      +    "integer",
      +    "string"
      +  ]
      +}
    • changedInput schema / properties / waiting_on / description
      Previous value: -"The task number you're waiting for (#n): required when status=waiting; it must be an open task in this space, and your task goes back to open when it is done or declined"New value: +"The task number you're waiting for (#n): give either this or until when status=waiting; it must be an open task in this space, and your task goes back to open when it is done or declined"
  5. Changed1 schema field changed
    • addedInput schema / properties / outcome
      Added value: +{
      +  "description": "done only: succeeded or failed (leave out for succeeded; failed needs a note)",
      +  "enum": [
      +    "succeeded",
      +    "failed"
      +  ],
      +  "type": "string"
      +}
  6. Changed3 schema fields changed
    • changedInput schema / properties / status / description
      Previous value: -"doing (taking it / checking in), blocked (stuck, waiting for someone), done or declined"New value: +"doing (taking it / checking in), blocked (stuck, waiting for someone), waiting (waiting on another task — waiting_on required), done or declined"
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "doing",
      -  "blocked",
      -  "done",
      -  "declined"
      -]New value: +[
      +  "doing",
      +  "blocked",
      +  "waiting",
      +  "done",
      +  "declined"
      +]
    • addedInput schema / properties / waiting_on
      Added value: +{
      +  "description": "The task number you're waiting for (#n): required when status=waiting; it must be an open task in this space, and your task goes back to open when it is done or declined",
      +  "type": "integer"
      +}
  7. Changed5 schema fields changed
    • removedInput schema / properties / balance
      Removed value: -{
      -  "description": "On a pay-as-you-go API: your account balance (instead of quota_percent / quota_resets)",
      -  "type": "number"
      -}
    • removedInput schema / properties / balance_currency
      Removed value: -{
      -  "description": "Currency of the balance, e.g. USD, CNY (default USD)",
      -  "type": "string"
      -}
    • removedInput schema / properties / quota_percent
      Removed value: -{
      -  "description": "Share of your plan's quota used, 0–100 (every time you finish, if OwlMem can't read your quota; only if your app shows it)",
      -  "type": "number"
      -}
    • removedInput schema / properties / quota_resets
      Removed value: -{
      -  "description": "When your quota resets: an ISO time (2026-11-06T12:00:00Z) or how long until then (5h, 3d, 1d6h); send it with quota_percent",
      -  "type": "string"
      -}
    • removedInput schema / properties / tokens
      Removed value: -{
      -  "description": "Optional: tokens this task used (only if your app shows it; don't guess)",
      -  "type": "integer"
      -}
  8. Changed3 schema fields changed
    • changedInput schema / properties / note / description
      Previous value: -"Result or reason (required for done and declined, up to 2000 characters)"New value: +"Result or reason (required for done, declined and blocked, up to 2000 characters)"
    • changedInput schema / properties / status / description
      Previous value: -"doing, done or declined"New value: +"doing (taking it / checking in), blocked (stuck, waiting for someone), done or declined"
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "doing",
      -  "done",
      -  "declined"
      -]New value: +[
      +  "doing",
      +  "blocked",
      +  "done",
      +  "declined"
      +]
  9. Changed4 schema fields changed
    • addedInput schema / properties / balance
      Added value: +{
      +  "description": "On a pay-as-you-go API: your account balance (instead of quota_percent / quota_resets)",
      +  "type": "number"
      +}
    • addedInput schema / properties / balance_currency
      Added value: +{
      +  "description": "Currency of the balance, e.g. USD, CNY (default USD)",
      +  "type": "string"
      +}
    • changedInput schema / properties / quota_percent / description
      Previous value: -"Optional: share of your plan's quota used, 0–100 (only if your app shows it)"New value: +"Share of your plan's quota used, 0–100 (every time you finish, if OwlMem can't read your quota; only if your app shows it)"
    • addedInput schema / properties / quota_resets
      Added value: +{
      +  "description": "When your quota resets: an ISO time (2026-11-06T12:00:00Z) or how long until then (5h, 3d, 1d6h); send it with quota_percent",
      +  "type": "string"
      +}
  10. Changed2 schema fields changed
    • addedInput schema / properties / quota_percent
      Added value: +{
      +  "description": "Optional: share of your plan's quota used, 0–100 (only if your app shows it)",
      +  "type": "number"
      +}
    • addedInput schema / properties / tokens
      Added value: +{
      +  "description": "Optional: tokens this task used (only if your app shows it; don't guess)",
      +  "type": "integer"
      +}
  11. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, openWorld=false, and the description adds real context beyond them: sender/owner get notified on blocked and done/declined, done+outcome=failed triggers the dispatcher, waiting reverts the task to open automatically, and learned is saved as a memory. It does not contradict the annotations (repeated 'doing' check-ins are side-effecting, consistent with idempotentHint=false), but it is dense narration rather than a clean behavioral profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the status options, which is good, but the body is one unbroken ~350-word paragraph mixing state transitions, notification behavior, heartbeat mechanics, memory nudges and a quota tangent. A bulleted per-status layout would scan far better; the trailing quota/usage-key sentence is only loosely tied to this tool's job.

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?

With 8 parameters, five statuses and no output schema, the description covers side effects (auto-notes, notifications, reversion to open), error conditions (learned with a non-done status, failed without a note) and follow-up actions. An agent has what it needs to invoke this correctly on the first try.

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 description coverage is 100%, so the baseline is 3; the description still adds meaning the schema does not, such as why outcome=failed should be used after a bad review ('it wakes the dispatcher'), that finishing without learned nudges you to save a memory, and how until/waiting_on change later task state. Those cross-parameter effects and consequences justify above baseline.

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 ('Update a task given to you') and enumerates the five statuses it moves a task between, so an agent knows exactly what the tool does without opening the schema. The state-machine framing (doing/done/declined/blocked/waiting) makes it unmistakable versus siblings like kb_retain or kb_send.

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 when-to-use rules per status: blocked when waiting on a person, waiting when waiting on another task or a time, doing again at heartbeat intervals, review problems reported as done+outcome=failed. It names mutual exclusivity (until vs waiting_on), the auto-wake exception, and routes memory persistence to kb_retain/kb_write and quota to kb_team new_usage_key.

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