Skip to main content
Glama

create_digest_drafts

Idempotent

Submit a batch of platform drafts for one engine artifact (e.g. a digest issue). Same mechanism as create_drafts, kept under an older name. Drafts are ALWAYS created pending_approval and NEVER auto-publish: a human must approve_draft (or use the dashboard) before anything is scheduled. Idempotent on external_ref: resending a batch updates still-pending drafts, never resurrects approved or rejected drafts, and never overwrites a draft a human edited in the dashboard. Returns the created or updated drafts per variant. Per-field rules (platform aliases, thread segments, schedule_hint, account_ids) are on the variants fields. STYLE: follow the server writing-style instructions: write like the human owner, read list_posts first, no em or en dashes, 0-1 hashtags. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

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": {
      "external_ref": "<external_ref>",
      "variants": "<variants>"
    },
    "name": "create_digest_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoBrand/niche attribution tag for per-play rollups (e.g. "emplaw-watchdog"); NOT the AI BrandVoice writing-style profile
variantsYesOne entry per platform draft to create; each is reviewed and approved separately.
external_refYesYour own stable id for this batch (e.g. the digest id). Reusing it updates the same drafts instead of duplicating them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • changedInput schema / properties / external_ref / description
      Previous value: -"Engine-side id for idempotency (e.g. digest id)"New value: +"Your own stable id for this batch (e.g. the digest id). Reusing it updates the same drafts instead of duplicating them."
    • addedInput schema / properties / variants / description
      Added value: +"One entry per platform draft to create; each is reviewed and approved separately."
    • addedInput schema / properties / variants / items / properties / link / description
      Added value: +"URL (e.g. an archive link) appended to the final segment at approval when not already present."
    • addedInput schema / properties / variants / items / properties / media / description
      Added value: +"Images or video to attach to this draft."
    • addedInput schema / properties / variants / items / properties / media / items / properties / alt / description
      Added value: +"Alt text describing the media for accessibility."
    • addedInput schema / properties / variants / items / properties / media / items / properties / url / description
      Added value: +"Public URL of the media file."
    • addedInput schema / properties / variants / items / properties / platform / description
      Added value: +"Provider key to draft for, e.g. twitter, linkedin, instagram, tiktok, wordpress, tumblr. The aliases x, x_post and x_thread all map to twitter."
    • addedInput schema / properties / variants / items / properties / provider_metadata / properties / pinterest / description
      Added value: +"Pinterest pin fields."
    • addedInput schema / properties / variants / items / properties / provider_metadata / properties / pinterest / properties / altText / description
      Added value: +"Accessibility alt text describing the image."
    • addedInput schema / properties / variants / items / properties / provider_metadata / properties / pinterest / properties / dominantColor / description
      Added value: +"Optional hex color hint, e.g. \"#6B4F3B\"."
    • addedInput schema / properties / variants / items / properties / provider_metadata / properties / pinterest / properties / link / description
      Added value: +"Destination URL the pin links to."
    • addedInput schema / properties / variants / items / properties / provider_metadata / properties / pinterest / properties / title / description
      Added value: +"Pin title."
    • changedInput schema / properties / variants / items / properties / schedule_hint / description
      Previous value: -"\"optimal\" or a future ISO datetime"New value: +"When to publish after approval: \"optimal\" picks a time from the org's own best-times model at approval; otherwise a future ISO 8601 datetime with timezone. Omit to let the approver choose."
    • addedInput schema / properties / variants / items / properties / segments / description
      Added value: +"Post text. One element is a single post; two or more on twitter become a thread, one tweet per element, published as chained replies."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by spelling out the exact lifecycle (always pending_approval, never auto-publish, human approval required) and the precise idempotency contract on external_ref (updates pending drafts, never resurrects approved/rejected ones, never overwrites human dashboard edits). It also discloses the return shape and that the operation is safe for a draft-only agent token, which annotations alone do not convey.

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 identity and the safety-critical 'never auto-publishes' fact, then idempotency, then style. It runs long and the STYLE and CAPABILITY blocks read as boilerplate, but each carries operational guidance rather than 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?

For a mutating batch-create with no output schema, the description covers the approval gate, idempotent re-send behavior, what is returned, and the downstream approval dependency. An agent has everything needed to call it correctly and predict the outcome.

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 platform aliases, thread segments, schedule_hint, account_ids, media and provider_metadata are already documented in the schema. The description only points at those field-level rules and restates the external_ref batching idea, adding little meaning beyond the existing property descriptions.

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 ('submit a batch of platform drafts for one engine artifact') and explicitly positions itself against the sibling create_drafts ('same mechanism ... kept under an older name'), so an agent can tell the two apart without opening either schema.

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?

Clear workflow context: drafts land in pending_approval and require approve_draft or the dashboard, and it instructs reading list_posts first plus following server writing style. The one gap is that it never says when to prefer create_drafts over this legacy alias, leaving the routing decision implicit.

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.