Skip to main content
Glama

Correct an approved decision's scope and owners

dm.update_decision_metadata
DestructiveIdempotent

Correct the applicability scope (project, decision thread, repository, environment) and the accountable owner / follow-up identities of an APPROVED decision. Requires the delegated human's OAuth grant, the decisions.edit permission and confirm=true after the user agrees. Every changed field is compare-and-set: pass expected. with the value you last read from dm.get_decision_context.scope; a stale value returns metadata_conflict. The approved statement, rationale and authority are immutable here: use review/supersession instead. A decision event records the before/after ids.

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": {
      "decision_id": "<decision_id>",
      "expected": "<expected>"
    },
    "name": "dm.update_decision_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true after the user agrees to change an approved decision's metadata.
expectedYesThe current value of each field being changed, as last read (null = unbound).
project_idNo
decision_idYes
repository_idNo
environment_idNo
owner_identity_idNoPERSON or GROUP identity id of the accountable owner.
decision_thread_idNoCanonical organizational DecisionThread id (not a meeting id).
follow_through_identity_idNoPERSON identity id accountable for follow-up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, readOnly=false), the description discloses auth requirements, a human-confirmation gate, compare-and-set conflict behavior with the metadata_conflict error, and an audit side effect (a decision event recording before/after ids). What it does not spell out is the payload returned or whether partial failure across multiple changed fields is atomic — meaningful but secondary gaps.

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?

Purpose is front-loaded and every sentence carries distinct information: permissions, compare-and-set, immutability boundary, audit. It is dense with dotted identifiers and error codes in a single unbroken paragraph, which slightly slows scanning, but there is no filler to cut.

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 9-parameter mutation with no output schema, the definition covers the safety profile (permission, confirmation), the concurrency model (compare-and-set plus conflict error), what cannot be changed, and the audit record. An agent has enough to decide, prepare the call, and interpret the main failure mode.

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 56% and a nested expected object, the description adds real meaning the schema does not: expected.<field> must carry the last-read value, a stale value yields metadata_conflict, and the source of truth is dm.get_decision_context.scope. It does not explain the omit-vs-null distinction (that lives only in the schema) or enumerate which fields pair with which identity types, so it stops short of full compensation.

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 the exact resource: correcting applicability scope (project, thread, repository, environment) and accountable owner/follow-up identities of an APPROVED decision. It clearly bounds the operation as metadata-only, which an agent can distinguish from review/supersession and from dm.get_decision_context 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 Guidelines5/5

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

It gives the when (correct scope/owners on an already approved decision), the when-not (statement, rationale and authority are immutable here; use review/supersession instead), the prerequisite path (delegated human OAuth, decisions.edit, confirm=true after the user agrees), and where to source values (dm.get_decision_context.scope). Alternatives and exclusions are explicit rather than inferred.

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