Skip to main content
Glama

Approve, redo or drop variants of one piece

decide_approval_group
Destructive

[PUBLISHES to social accounts · publish scope] Decides several variants of a group from list_approval_groups at once, each as decide_approval would: members "all" (open variants), an array of approvalIds, or {axis: value} (e.g. {"audio":"voice"}). "approve" marks them approved (a manual approval is NOT posted; a workflow approval resumes its run, which may publish — GOES LIVE); "redo" rejects with the Redo reason; "drop" rejects (note = reason). Already-decided variants are skipped. Needs the explicit approve scope (admin does not include it). Agency plan. Confirm the count with the user first. (Wraps POST /api/v2/approval-groups/{groupId}/decide.)

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": {
      "groupId": "<groupId>",
      "decision": "<decision>"
    },
    "name": "decide_approval_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOn drop/redo: the reason. Optional unless the org requires one.
groupIdYesA groupId from GET /api/v2/approval-groups.
membersNo"all" (default): every open variant. An array: those approval ids. An object: the variants whose labels match every axis value, e.g. {"audio":"voice"}.
decisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses that a manual approval is NOT posted, that a workflow approval resumes its run and may publish (GOES LIVE), that only particular decisions write a reason note, and that the admin scope does not include the required approve scope. That is exactly the kind of consequence and permission context destructiveHint/openWorldHint cannot convey.

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?

Front-loaded with the publishing consequence and scope before mechanics; every clause carries information. The density (backticks, quoted enum values, a trailing parenthetical about the wrapped POST route) makes it slightly harder to scan than necessary, but nothing is filler.

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 destructive, open-world mutation with no output schema, the description covers the missing pieces: required scope and plan, per-decision side effects, skip behavior for already-decided items, and a user-confirmation step. Nothing an agent needs before invoking it destructively is absent.

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

Parameters5/5

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

Schema coverage is 75%, and the description compensates on the weakest spot: the `decision` enum has no schema description, yet the text defines each of approve/redo/drop including side effects and note usage. It also repeats the `members` modes with a concrete example ('{"audio":"voice"}') and flags 'all' as default, adding meaning beyond the JSON schema text.

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?

Specific verb (decides) + resource (several variants of an approval group) with explicit scope, and it positions itself against siblings by naming list_approval_groups as the source and saying each variant is decided 'as decide_approval would'. An agent can distinguish it from decide_approval and decide_review 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 Guidelines5/5

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

States when to use it (bulk decision over a group's variants), how members select the targets ('all', approvalIds array, or {axis: value} filter), and what happens to already-decided variants (skipped). It also gives an operational prerequisite — 'Confirm the count with the user first' — and an access gate (explicit approve scope, agency plan).

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