Skip to main content
Glama

Send posts for approval

request_approval
Destructive

Send up to 20 posts to approvers as ONE batch: each approver gets one email with one link to review them, and any one approver can decide each post. This EMAILS people outside PostRite and holds the posts: scheduled posts leave the schedule and sit in PENDING_APPROVAL until someone decides (cancel_post takes one back out). Every post must be a draft, scheduled or rejected post with a real scheduledAt more than 1 hour in the future (a draft has none: schedule it first with update_post, scheduledAt and submissionIntent "schedule"), and none may already be pending approval; the link expires at least 1 hour before the earliest publish time. For one post, create_post/update_post with requiresApproval and approvalEmail does the same. Returns { requestId, postIds }; follow up with get_approval_events or resend_approval.

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": {
      "postIds": "<postIds>",
      "approverEmails": "<approverEmails>"
    },
    "name": "request_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdsYesThe posts to bundle (1-20, from list_posts)
approverEmailsYesApprover emails (1-5); each receives the request — ask the user before using an address they did not give
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
postIdsNo
requestIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that this emails external people, that scheduled posts leave the schedule and sit in PENDING_APPROVAL, that a link expires one hour before the earliest publish time, and that the batch is non-idempotent in effect. This directly explains why destructiveHint=true and openWorldHint=true apply, rather than merely restating them.

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 core action and the batching model, then preconditions, then return value and follow-ups. Every clause carries information, but the middle section is one long run-on parenthetical that is harder to parse than it needs to be.

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, externally-visible mutation, the description covers side effects, preconditions, the single-post alternative, the return shape ({ requestId, postIds }), and next steps. An output schema exists, so return-value detail is a bonus rather than a requirement, and nothing an agent needs before calling 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 adds real eligibility meaning not in the schema: every post must be draft/scheduled/rejected with a real scheduledAt more than an hour out, none may already be pending, and a draft must first be scheduled via update_post. It does not restate the 1-5 approver cap, which the schema already carries.

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: 'Send up to 20 posts to approvers as ONE batch', and clarifies the batching semantics (one email, one link, any approver decides). It also names the single-post alternative explicitly, so an agent can distinguish this from create_post/update_post without opening a 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: use this for multiple posts, and 'For one post, create_post/update_post with requiresApproval and approvalEmail does the same.' It also names the exit path ('cancel_post takes one back out') and the follow-up tools (get_approval_events, resend_approval).

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