Skip to main content
Glama

Share drafts with a client for approval

share_drafts_for_approval

Make a client approval link for one or more drafts (from create_draft or list_posts with status draft) and return its url. Every draft must be postable: one whose problems list is not empty is refused, since the client could approve it but it couldn't be posted. The client opens it without an account and, for each draft, presses Approve or Request changes with a note. Approving a draft that has an account, media and a planned time in the future schedules it at that time with the same rules as schedule_post. It keeps the settings chosen when the draft was saved in the composer (TikTok: who can see it, comments, duet, stitch, disclosure; YouTube: made for kids). Settings never chosen, as on drafts from create_draft, take the defaults of schedule_post (TikTok: public, comments on). A draft missing any of these is marked approved for the user to schedule. Anyone with the link can approve, so give it only to the user to send to their client. The link expires after expires_in_days (default 14) and can be revoked with revoke_approval_link. See each draft's answer in the approval field of get_post or list_posts.

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": {
      "post_ids": "<post_ids>"
    },
    "name": "share_drafts_for_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idsYesDraft ids, up to 50, all from this workspace
client_nameNoOptional name shown on the page and on approved drafts, like "Acme". Up to 80 characters.
expires_in_daysNoHow long the link works. Default 14.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), it discloses the key behavioral facts: anyone with the link can approve, the link expires and is revocable, and approval can have a scheduling side effect governed by schedule_post rules with inherited composer settings and defaults. It stops short of describing the returned payload shape or any rate limits, so it is strong but not exhaustive.

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 action and the return value, then the refusal rule, then behavior, then caveats – a sensible order. The middle section on composer settings is dense and slightly sprawling, but nearly every clause carries operational meaning, so no significant trimming is warranted.

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 mutation tool with no output schema, the description covers the return value (the url), the consumer-facing flow (Approve / Request changes), side effects and their governing rules, expiry and revocation, and where to read results (approval field of get_post or list_posts). 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all three parameters are already documented, including the 14-day default and the 50-id cap. The description adds the eligibility rule for post_ids (drafts must be postable) and reiterates the expiry default, but contributes nothing about client_name beyond what the schema says, so the schema does most of the work.

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 artifact ('Make a client approval link for one or more drafts') and the return value ('return its url'), and it pins down which drafts qualify ('from create_draft or list_posts with status draft'). This clearly separates it from scheduling siblings such as schedule_post and from link-management siblings such as revoke_approval_link.

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 preconditions for use (every draft must be postable; a draft with a non-empty problems list is refused) and names the alternative paths: schedule_post rules for approval-scheduling and revoke_approval_link for revocation. It also includes a distribution constraint ('give it only to the user to send to their client'), which is exactly the kind of when-to-use guidance an agent needs.

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