Skip to main content
Glama

sage_task

Create or update persistent backlog tasks that survive across sessions, track planned work, ideas, and bugs, and update status or link related memories.

Instructions

Create or update a task in your persistent backlog. Tasks are memories that don't decay while open — they persist until explicitly completed or dropped. Use this to track planned work, feature ideas, bug reports, and anything that should survive across sessions. To create: provide content; an omitted domain uses your approved app-v23 owned home domain, while an explicit domain is never remapped. To update status: provide memory_id + status. To link related memories without changing status: provide memory_id + link_to (array of memory IDs). Task content is immutable after creation. Creation is permanently idempotent: when idempotency_key is omitted, SAGE derives one from the caller, resolved domain, and canonical task content. Repeating the same semantic task returns the original task at its current status, including done or dropped; it never silently creates another task. To intentionally create another task with identical content and domain, supply a new explicit idempotency_key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sage_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoDomain tag for the task. Omit to use your approved app-v23 owned home domain (legacy nodes use general). Explicit values are never silently remapped.
statusNoTask status. New tasks default to planned; existing tasks require an explicit mutable status.
contentNoTask description (for creating new tasks): the work itself in a full sentence, without TODO:/Task: prefixes; status belongs in status
link_toNoMemory IDs to link this task to (max: 20)
memory_idNoExisting task memory ID (for updates). A unique prefix of at least 8 characters is accepted and resolved against this agent's open tasks, so a predecessor named only by prefix in an older entry can be closed directly; an ambiguous prefix returns an error naming the matches.
idempotency_keyNoOptional permanent creation identity. Omit to derive one deterministically from the caller, resolved domain, and canonical task content; every later identical call returns that existing task even after it is done or dropped. Supply a new explicit key only when intentionally creating another task with the same content and domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv11.25.2
    • changedInput schema / properties / content / description
      Previous value: -"Task description (for creating new tasks)"New value: +"Task description (for creating new tasks): the work itself in a full sentence, without TODO:/Task: prefixes; status belongs in status"
  2. Changed1 schema field changedv11.20.2
    • changedInput schema / properties / memory_id / description
      Previous value: -"Existing task memory ID (for updates)"New value: +"Existing task memory ID (for updates). A unique prefix of at least 8 characters is accepted and resolved against this agent's open tasks, so a predecessor named only by prefix in an older entry can be closed directly; an ambiguous prefix returns an error naming the matches."
  3. Changed2 schema fields changedv11.17.4
    • changedInput schema / properties / link_to / description
      Previous value: -"Memory IDs to link this task to"New value: +"Memory IDs to link this task to (max: 20)"
    • addedInput schema / properties / link_to / maxItems
      Added value: +20
  4. Changed3 schema fields changedv11.16.2
    • removedInput schema / properties / domain / default
      Removed value: -"general"
    • changedInput schema / properties / domain / description
      Previous value: -"Domain tag for the task"New value: +"Domain tag for the task. Omit to use your approved app-v23 owned home domain (legacy nodes use general). Explicit values are never silently remapped."
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional permanent creation identity. Omit to derive one deterministically from the caller, resolved domain, and canonical task content; every later identical call returns that existing task even after it is done or dropped. Supply a new explicit key only when intentionally creating another task with the same content and domain.",
      +  "type": "string"
      +}
  5. Addedv11.14.2
  6. Removedv11.13.8
  7. Addedv8.1.0
  8. Removedv8.0.0
  9. Addedv7.6.1
  10. Removedv7.5.9
  11. First observedv4.5.2

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and meets it: content immutability after creation, permanent idempotency including returning done/dropped tasks, deterministic key derivation from caller+domain+canonical content, non-remapping of explicit domains, and prefix-resolution errors on ambiguity. These are exactly the non-obvious behaviors an agent would otherwise get wrong.

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?

It is front-loaded with purpose and persistence semantics, then walks create/update/link modes in order, so the agent can scan the branch it needs. It is dense but nearly every sentence is load-bearing; the idempotency explanation runs long and could be tightened.

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 6-parameter, multi-mode mutation tool with no annotations and no output schema, the description covers creation, mutation, linking, immutability, and idempotency edge cases. An agent has enough to call every mode correctly.

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, but the description adds real meaning beyond the schema: the default-to-approved-home-domain rule, the planned-by-default status, the max-20 link semantics, and the explicit rule for escaping idempotency via a new key. Only minor overlap with the schema's own parameter descriptions 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 verb+resource ('Create or update a task') and immediately defines the resource's distinguishing trait: tasks are memories that don't decay while open. It explicitly separates the create path (content) from the update path (memory_id + status) and the link path (memory_id + link_to), so an agent can distinguish it from siblings like sage_remember or sage_backlog 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 concrete when-to-use guidance ('track planned work, feature ideas, bug reports, and anything that should survive across sessions') and routes each operation mode to its required parameters. It does not explicitly compare itself to named sibling tools such as sage_remember or sage_forget, so the agent must infer that boundary rather than being told it.

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