Skip to main content
Glama

Approve review drafts

approve_review_drafts

Approve AI ticket drafts from a review session and create the real tickets (with acceptance criteria and the keyframe as a 'before' image). Pass draft_ids to approve specific ones, or omit to approve all still-draft ones. Never auto-runs — a human calls this.

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": {
      "session_id": "<session_id>"
    },
    "name": "approve_review_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idsNoSpecific draft UUIDs (omit = all drafts still in 'draft')
session_idYesReview session UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and idempotentHint=false; the description adds the important behaviors: this materializes real tickets, attaches acceptance criteria and a before image, and omitting draft_ids silently converts to a bulk 'approve all drafts' operation. The human-invoked constraint is also stated, which is meaningful context beyond the annotation set.

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 short sentences, each earning its place: the action and its side effects first, the parameter behavior second, the invocation constraint last. No filler or 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 two-parameter, fully documented mutation with no output schema, the key facts an agent needs (what gets created, the default bulk scope, human-only invocation) are present. It omits what the call returns and what state the approved drafts end up in, a minor gap given the absence of an output schema.

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% and the schema already states that omitting draft_ids means all drafts still in 'draft'. The description restates that semantics in prose and clarifies that draft_ids targets 'specific ones', but adds no format, ordering, or failure-mode detail beyond the schema. Baseline 3 applies.

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 pairs a specific verb and resource ('Approve AI ticket drafts from a review session') with the concrete downstream effect ('create the real tickets'), including what the created tickets carry (acceptance criteria, keyframe as a 'before' image). This clearly separates it from a plain create_ticket or a review-session reader such as get_review_session.

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 explicit conditional usage for the optional parameter: pass draft_ids for specific drafts, omit to approve everything still in 'draft'. It also constrains invocation with 'Never auto-runs — a human calls this.' It does not compare itself to any alternative (e.g., creating a ticket directly), so it stops short of full when-not guidance.

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