Skip to main content
Glama

Approve a held post

approve_post
Destructive

Approve a post that is waiting for approval: it goes back on the schedule and publishes at its time (at once if that time passed). Needs the publish permission, as in the app. Returns the id and the new status ("scheduled", or "awaiting_plan" when the organization has no trial or plan yet). The id is from list_pending_approvals.

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": {
      "id": "<id>"
    },
    "name": "approve_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

The annotations only say non-read-only, destructive, non-idempotent, open-world; the description goes well beyond them by disclosing the actual consequence (the post republishes, possibly immediately if the scheduled time already passed), the required publish permission, and the returned id plus new status. The "awaiting_plan" edge case when an organization has no trial or plan is a genuinely useful behavioral disclosure an agent could not infer from structured fields.

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 tight sentences, front-loaded with the action and effect, then permission, then return values. Every clause carries information; nothing is redundant padding.

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 mutation with no output schema, the description supplies the return shape (id and new status), the permission requirement, and the plan-related status edge case. Minor gaps remain around error conditions or re-approving an already-approved post, which matters given idempotentHint=false, but overall it is well covered.

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 50%: organizationId is documented in the schema, while id is a bare string. The description compensates by explaining that the id comes from list_pending_approvals, which gives the agent a concrete way to source the value. It adds nothing for organizationId, but nothing is needed there.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Approve a post that is waiting for approval" is a specific verb plus resource, and the follow-on sentence states the exact effect (returns to the schedule, publishes at its time or immediately if that time passed). That distinguishes it from reject_post or cancel_post without needing to name them. It also points to list_pending_approvals as the source of the id, though it never explicitly contrasts itself with the sibling tools.

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?

"Waiting for approval" states the precondition clearly and the ordering cue (get the id from list_pending_approvals) tells the agent where to start. It does not spell out when-not to use it or name the alternative (reject_post) for declining, so there is no explicit exclusion 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