Skip to main content
Glama

Approve, reject or archive many held items at once

approvals_bulk_decide
Destructive

[DESTRUCTIVE] Decides 1–100 held-content items from approvals_list (ids) in one call, each exactly as approvals_decide would. action "approve" marks content approved (NOT posted) or resumes a parked workflow run (which may publish — GOES LIVE); "reject" sends content back to draft and cancels a parked run (note = reason, required when the org asks for one); "archive" closes the approval and archives the content (restorable). Ad budget requests ("ad_budget") and rotation drafts are NEVER bulk-approved: they come back skipped; approve those one at a time with approvals_decide. Already-decided, unknown or other-brand ids are skipped too, per id, with code and error. Call with dryRun: true first, show the user the would_approve / would_reject / would_archive list with each item's caption, and get a clear yes before the real call. Needs approve or approvals:decide on the Agency plan. (Wraps POST /api/v2/approvals/bulk.)

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": {
      "ids": "<ids>",
      "action": "<action>"
    },
    "name": "approvals_bulk_decide"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesFormat: array; e.g. ["Example"]. Record identifiers returned by the corresponding list tool.
noteNoFormat: string; e.g. "Example". On reject: the reason. Optional unless the org requires one. On approve: recorded with the decision.
actionYesFormat: string; e.g. "reject". Operation to perform.
dryRunNoFormat: boolean; e.g. false. Preview the result without applying changes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description corroborates and enriches that rather than contradicting it. It discloses non-obvious effects an agent could not infer: approve does NOT post except when resuming a parked run ("GOES LIVE"), reject cancels a parked run, archive is restorable, and ineligible items return `skipped` with per-id `code` and `error`. The only omission is rate limits or partial-failure atomicity beyond the per-id skip note.

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?

The "[DESTRUCTIVE]" marker and the 1–100 scope are front-loaded, and nearly every clause carries new information (per-action semantics, skip rules, permission requirement, endpoint). It is dense and somewhat parenthetical-heavy, but the length is justified by the number of distinct behaviors covered.

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 bulk mutation with no output schema, the description covers return shape (`skipped`, `code`, `error`, would_* lists), permissions ("Needs `approve` or `approvals:decide` on the Agency plan"), and the recommended confirmation workflow. Nothing an agent needs to call it safely is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes further by giving each `action` enum value a concrete consequence and clarifying that `note` is the reject reason and is required only when the org asks. It also names the source of `ids` (items from approvals_list) and the expected use of `dryRun` as a preview step.

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 with scope: "Decides 1–100 held-content items from approvals_list (`ids`) in one call." It also explicitly positions itself against the sibling, saying each item is handled "exactly as approvals_decide would," so an agent can tell bulk from single without opening either 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?

Gives explicit routing rules and exclusions: ad_budget requests and rotation drafts are "NEVER bulk-approved" and must be taken to approvals_decide one at a time. It also prescribes a workflow — call with `dryRun: true` first, show the would_* lists with captions, and get a clear yes — which is unusually concrete 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