Skip to main content
Glama

Rename or archive organizational context

dm.update_context
DestructiveIdempotent

Rename an item by id, set a Decision Thread description, or archive/reactivate it (status with confirm=true after the user agrees). Requires the delegated human's OAuth grant and a workspace role that permits the change. expected_name guards against overwriting a concurrent rename.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "dm.update_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
kindYes
nameNo
statusNoarchived or active (reactivate). Requires confirm=true.
confirmNoMust be true to archive or reactivate.
descriptionNoDecision thread only.
expected_nameNoOptimistic check: fail with expected_name_mismatch unless the current name matches.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the delegated human's OAuth grant and a permitted workspace role are required, and that expected_name protects against concurrent rename conflicts. These are meaningful operational details for a destructive, idempotent mutation.

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?

The description is compact and front-loaded, moving from the supported operations to permission requirements and then to the concurrency guard. Every sentence adds relevant information without repetition.

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 7-parameter mutation tool without an output schema, the description covers the major operations, authorization context, confirmation flow, and concurrency safeguard. It could say more about the kind parameter and expected return behavior, but the core behavior is adequately described.

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?

The description adds useful meaning for status, confirm, expected_name, and thread descriptions, partially compensating for the 57% schema description coverage. It still leaves the required kind parameter's enum meanings and the name parameter's role under-explained.

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?

The description clearly states the operations: rename an item by id, set a Decision Thread description, or archive/reactivate an item. This is more specific than the title alone, though it does not explicitly distinguish this tool from sibling update/context tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It gives important usage constraints for archiving/reactivating: status requires confirm=true and should be used after the user agrees. However, it does not explain when to choose this tool over alternatives such as dm.update_decision_metadata or dm.ensure_context.

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