Skip to main content
Glama

workspace_update_capsule

Update one capsule section—State, Decisions, Next, or Session log—while preserving other sections; append session entries and revise locked decisions only when deliberately reversed.

Instructions

Update one section of a capsule, or append an entry to its Session log. Other sections are preserved untouched. Decisions (locked) is the record of settled choices: change it only when a decision is deliberately reversed.

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": {
      "agent": "<agent>",
      "slug": "<slug>",
      "section": "<section>",
      "text": "<text>"
    },
    "name": "workspace_update_capsule"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe capsule's short identifier.
textYesThe new section content, or the log entry to append for "Session log".
agentYesYour registered agent name.
tokenNoYour per-agent token, on a token-enforced bus.
sectionYesWhich section to write. "Session log" appends; the others replace that section.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.5.12
    • addedInput schema / properties / agent / description
      Added value: +"Your registered agent name."
    • addedInput schema / properties / section / description
      Added value: +"Which section to write. \"Session log\" appends; the others replace that section."
    • addedInput schema / properties / slug / description
      Added value: +"The capsule's short identifier."
    • addedInput schema / properties / text / description
      Added value: +"The new section content, or the log entry to append for \"Session log\"."
    • addedInput schema / properties / token / description
      Added value: +"Your per-agent token, on a token-enforced bus."
  2. First observedv0.5.11

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world. The description usefully confirms partial semantics ('Other sections are preserved untouched') and explains why it is not idempotent for Session log (append). It does not mention token enforcement beyond the schema field, failure behavior for unknown slugs, or whether a new capsule can be created.

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?

Three short sentences, front-loaded with the core action, then the preservation guarantee, then the section-specific caution. No filler; only slight redundancy with the enum description of section.

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 a 5-parameter mutation with no output schema, the description covers what is written, what is preserved and the risky section. Missing only edge-case behavior: creating a missing capsule, errors on invalid slug, and whether the token is required in practice.

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%, so the schema already documents slug, text, agent, token and the section enum including its append-vs-replace behavior. The description adds the Decisions (locked) editorial rule, which is genuinely new meaning, but the rest restates the schema.

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?

Names a specific verb and resource (update one section of a capsule) and immediately adds the append variant for Session log, so the operation's two modes are distinguishable. It does not name a sibling (e.g. workspace_get_capsule) to contrast against, so it falls short of the top mark.

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?

Gives explicit writing guidance: Session log appends, the other sections replace, and Decisions (locked) should be changed only when a decision is deliberately reversed. That is solid when-to-use context, but it never states prerequisites (the capsule must already exist) or what to do when a section should be read rather than written.

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