Skip to main content
Glama

Approve pipeline item

approve_pipeline_item
Destructive

Approve a content item for publishing — or REJECT it with approved:false. Use when user says "approve it", "looks good", "publish that" (approve), or "reject it", "drop that duplicate", "don't publish" (approved:false).

[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYesID of the pipeline output to approve (get from get_pending_approvals)
approvedNoDefault true. Pass false to REJECT: the item is marked rejected and leaves the approval queue — it never publishes. An explicit false can never approve.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / approved
      Added value: +{
      +  "description": "Default true. Pass false to REJECT: the item is marked rejected and leaves the approval queue — it never publishes. An explicit false can never approve.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond annotations by explaining the sensitive-tier manager approval flow, the distinction between 'from-now-on' and 'just-once' approvals, and the instruction that the card itself is confirmation of success. It also clarifies that approved:false means rejection and never publishes, which is important given destructiveHint=true.

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?

The opening sentence is a crisp, front-loaded summary of the core action. The bracketed sensitivity note is dense but compact, covering manager approval, consent types, and call timing without waste.

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 simple 3-parameter tool with full schema coverage and clear annotations, the description adds the only missing context: the sensitive-tier behavior and how to handle the confirmation. No output schema is needed here; the tool's effects and usage are fully covered.

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%, with each parameter already documented including the 'approved' default and the reject semantics. The description adds no new parameter information beyond the schema, so the baseline of 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 states a specific verb ('Approve') and a resource ('a content item for publishing'), and immediately clarifies the dual action: 'or REJECT it with approved:false'. It gives concrete user phrases ('approve it', 'looks good', 'publish that') that distinguish this tool from siblings like publish_pipeline_item or get_pending_approvals.

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?

Explicitly says 'Use when user says...' and lists triggers for both approval and rejection. It also gives behavioral guidance: 'Call it on the first clear ask; the card is the yes — do not re-ask in chat.' This tells the agent exactly when to invoke and how to handle the interaction.

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