Skip to main content
Glama

Send a post for client approval

request_approval
Destructive

The approval flow: a client reviewer (not a Shager user) gets a link, opens it on their phone without logging in, sees the post per account and approves, asks for changes (with a comment) or rejects. The post moves to IN_REVIEW; get_approval shows the decision; an APPROVED post can be scheduled as long as its content is unchanged. Returns the link to send (and a WhatsApp link when the reviewer has a phone); send_email emails it. When the workspace has approval_required, Shager emails the link to the reviewer itself (reviewer_email and send_email: true are required) and the link is not returned, so the agent can't approve its own post. Useful anyway when a human should look first. (Not available in an unclaimed sandbox.)

Input Schema

NameRequiredDescriptionDefault
post_idYes
send_emailNo
workspace_idYesWorkspace id from list_workspaces
reviewer_nameYes
reviewer_emailNo
reviewer_phoneNo
idempotency_keyNoAny unique string you choose (REST: the Idempotency-Key header works too). Retrying with the same key and body returns the first result instead of creating a second one. Kept 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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: the post moves to IN_REVIEW, an APPROVED post can be scheduled only if content is unchanged, emails may be sent on the agent's behalf, and in approval_required workspaces the link is not returned so the agent can't self-approve. This is exactly the side-effect disclosure a destructive, open-world mutation needs.

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-loads the core flow in the first sentence and keeps every subsequent sentence informative (side effects, return value, sandbox restriction). It is a dense single paragraph, so the conditional approval_required branch is slightly buried, but there is no 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?

With no output schema, the description still explains the return value (the link, plus a WhatsApp link) and the exception case where no link is returned. Combined with the disclosed side effects and sandbox restriction, an agent has everything needed to call it correctly.

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 low (29%) and the description compensates for several gaps: it explains that reviewer_email and send_email: true become required when the workspace has approval_required, and that a phone yields a WhatsApp link. It still doesn't clarify send_email's default or the reviewer_phone/reviewer_name semantics, but the conditional requirements are the highest-value information.

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 (send a post for client approval), then details the full reviewer flow: link opened without login, per-account view, approve/request-changes/reject. It distinguishes itself from siblings by naming get_approval as the tool that shows the decision and by explaining how send_email interacts here.

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 when to use it ('useful anyway when a human should look first'), what the alternative is ('send_email emails it'), and when it is unavailable ('Not available in an unclaimed sandbox'). It also states the special approval_required workspace path that changes required parameters and withholds the link.

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