Skip to main content
Glama

Approve a review proposal

dm.approve_review_proposal
Destructive

Approve a decision candidate through the governed review path. Requires the authenticated installation's grant and an authorized human reviewer; it is the only path here that makes a candidate durable approved knowledge. Pass the expected_version returned by dm.get_review_proposal; a candidate that changed since review is rejected (candidate_version_changed) and must be re-reviewed.

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": {
      "candidate_id": "<candidate_id>",
      "confirm_approval": "<confirm_approval>",
      "expected_version": "<expected_version>"
    },
    "name": "dm.approve_review_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
candidate_idYes
confirm_approvalYes
expected_versionYesThe candidate ``version`` returned by dm.get_review_proposal that the human reviewed; approval is rejected if the candidate has since changed.
expected_payload_hashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructive=true and non-idempotent, and the description adds material context beyond them: the authorization model (installation grant plus human reviewer authority), the durable state effect (candidate becomes approved knowledge), and a named failure mode with error code (candidate_version_changed) plus the required remedy. This is exactly the kind of consequence-level detail a mutating tool needs.

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?

Three sentences, front-loaded with purpose, then prerequisites, then the version-conflict rule. No filler, no repetition of the title, and the most operationally critical constraint (version must match) is placed last as a distinct actionable instruction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Authorization, durability, and conflict handling are well covered for a destructive mutation, but the definition leaves gaps that matter at call time: the role of notes and expected_payload_hash is unexplained, and with no output schema there is no signal about what an approval returns (e.g., resulting version or outcome record). Adequate but not complete for a 5-parameter destructive tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, so the description must carry parameter meaning, but it only reinforces expected_version, which the schema already documents in full. It says nothing about confirm_approval (a const-true gate), notes, or expected_payload_hash, leaving three of five parameters without guidance anywhere.

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 ("Approve a decision candidate") and immediately scopes it to "the governed review path," then differentiates it from the other review siblings by declaring it "the only path here that makes a candidate durable approved knowledge." An agent can distinguish this from dm.reject_review_proposal or dm.update_review_proposal without opening any 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?

Gives clear preconditions (installation grant plus an authorized human reviewer) and a concrete calling rule (pass the expected_version from dm.get_review_proposal, otherwise the call is rejected and the candidate must be re-reviewed). It never explicitly says when not to use it or names the reject/update siblings as alternatives, which keeps it just short of a 5.

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