Skip to main content
Glama

Samuelz® Marketing

Freigabe vorbereiten

prepare_public_post_draft
Idempotent

After explicit user instruction prepare the exact saved durable authored draft using postId, expectedRevision and requestKey UUID. The stored target chooses the native workflow. Google still requires concrete editorial evidence and retains original UTM, CTA, library image and UTC/IANA scheduling; then show_maps_approval with its protected content/term review. Facebook supports exact Page text and Instagram one owned JPEG with current rights and private preview. X supports URL-free NFC Latin text up to280characters, using the saved own user target and protected per-post payer/app/tariff/prepaid-credit review. Opening the review never grants money authority; its .020USD API-consumption quote is not an overall payment cap. LinkedIn supports company-admin organization targets only, text up to3000characters and an optional LEARN_MORE link appended verbatim to the final reviewed text; member targets, images and BOOK buttons remain private drafts. These four platforms also retain the saved UTC/IANA future term. The protected exact content/term view accepts one finite scheduled execution on the same queue; preparation never authorizes it. Changed content, revoked original Owner/session/grant, credentials or rights stop execution. Other platforms and unsupported links or CTA stay private. No review, approval, provider POST or delivery is created by preparation. Never infer human approval from chat or call App-only confirmation from the model. POST /api/v1/tenant/write/prepare_public_post_draft.

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": {
      "postId": "<postId>",
      "expectedRevision": "<expectedRevision>",
      "requestKey": "<requestKey>"
    },
    "name": "prepare_public_post_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
evidenceNoEvidence for the exact post: situation, source URL, image rights and novelty; all fields are required and human reviewed.
requestKeyYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / evidence / description
      Added value: +"Evidence for the exact post: situation, source URL, image rights and novelty; all fields are required and human reviewed."
    • addedInput schema / properties / evidence / properties / imageRights / description
      Added value: +"Documented authority to use this exact image, 15–500 characters; no invented rights."
    • addedInput schema / properties / evidence / properties / novelty / description
      Added value: +"What is new relative to existing posts, 15–300 characters."
    • addedInput schema / properties / evidence / properties / situation / description
      Added value: +"Concrete current situation that justifies this post, 15–300 characters."
    • addedInput schema / properties / evidence / properties / sourceUrl / description
      Added value: +"HTTPS evidence source for the post claims; no credentials or custom port."
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "postId",
      -  "expectedRevision",
      -  "requestKey",
      -  "evidence"
      -]New value: +[
      +  "postId",
      +  "expectedRevision",
      +  "requestKey"
      +]
  3. Added

TDQS

A3.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the authority boundary ('Opening the review never grants money authority', the .020USD quote is not a payment cap), failure/abort conditions ('Changed content, revoked original Owner/session/grant, credentials or rights stop execution'), what is preserved from the draft (UTM, CTA, library image, UTC/IANA schedule), and platform capability limits. This is exactly the kind of context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Roughly 180 words of run-on platform enumeration in a single block, with the most important safety fact ('No review, approval, provider POST or delivery is created by preparation') placed after four sentences of platform minutiae. Semicolon-chained clauses about character limits and payer/tariff reviews pad the text without helping the agent decide whether to call the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex mutation-flow tool with a nested evidence object and no output schema, the description covers preconditions, platform branching and abort conditions well, but never says what preparation returns (a prepared handle? a pending approval reference? a revision?) — information an agent needs with no output schema. Revision/key parameter semantics are also left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema description coverage is only 25% — postId, expectedRevision and requestKey carry patterns but no prose. The description merely restates that these three values are used; it never explains that expectedRevision is an optimistic-concurrency guard, that requestKey provides idempotency, or what a revision mismatch does, even though 'Changed content ... stop execution' is only an adjacent hint. Evidence subfields are documented in the schema itself, so the description adds little meaning overall.

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?

The opening clause states a specific verb and object: 'prepare the exact saved durable authored draft using postId, expectedRevision and requestKey UUID', and later clauses carve out what it is NOT ('No review, approval, provider POST or delivery is created by preparation'), which separates it from save/edit/confirm siblings. The core statement is buried after platform-specific prose and the German title 'Freigabe vorbereiten' does not help an English-reading agent, but the operation is identifiable.

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?

It states a clear precondition ('After explicit user instruction') and a prohibition ('Never infer human approval from chat'), plus a next-step pointer to show_maps_approval and its protected content/term review. It also scopes where the tool does NOT apply ('Other platforms and unsupported links or CTA stay private'). It does not explicitly name the sibling a caller should use instead (e.g. save_public_post_draft before preparation, confirm_public_post_publication after), so routing is good but not exhaustive.

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