Skip to main content
Glama

create_posts_from_source

Turn RAW MATERIAL into platform-native post drafts. Give it one or more URLs, pasted text, or both, and TimeToPost fetches + extracts them, brings out the claims (every claim must be backed by a verbatim quote from the source, unquotable claims are deterministically dropped, so it will not invent facts), plans genuinely DIFFERENT angles across platforms (an X thread and a LinkedIn post never carry the same claims), drafts each one in a real native format, and runs length/groundedness/originality gates. The drafts land PENDING in the human approval queue, this NEVER publishes and never schedules on its own; a human (or approve_draft, after they say yes) is what turns a draft into a post. Returns 202 with an ingestId: poll get_source_status until status is READY (then read the drafts), EMPTY (the page had too little text, ask the user to paste the article text and call again with text) or FAILED. Only platforms this org has CONNECTED are drafted for. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_posts_from_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoPasted raw text to draft from. Use this when the URL is paywalled/JS-rendered (get_source_status returns EMPTY) or when there is no URL at all.
urlsNoPublic http(s) article or page URLs to read and draft from. Private or internal addresses are refused.
brandNoOptional brand/niche attribution tag for per-play rollups.
titleNoOptional title for the pasted text.
platformsNoPlatforms to draft for. Defaults to every connected platform among the allowed ones.
scheduleHintNoWhen to publish once a human approves: "optimal" picks a time from the org's own best-times model, otherwise a future ISO 8601 datetime with timezone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / platforms / description
      Previous value: -"Platforms to draft for (default: every connected one of these four)."New value: +"Platforms to draft for. Defaults to every connected platform among the allowed ones."
    • changedInput schema / properties / scheduleHint / description
      Previous value: -"\"optimal\" or a future ISO datetime, applied when a human approves."New value: +"When to publish once a human approves: \"optimal\" picks a time from the org's own best-times model, otherwise a future ISO 8601 datetime with timezone."
    • changedInput schema / properties / urls / description
      Previous value: -"Up to 5 http(s) URLs to read. Private/internal addresses are refused."New value: +"Public http(s) article or page URLs to read and draft from. Private or internal addresses are refused."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only supply readOnly=false, openWorld=true, idempotent=false, destructive=false; the description goes far beyond by disclosing the 202 + ingestId async contract, the READY/EMPTY/FAILED status states, the human approval queue destination, and that unquotable claims are deterministically dropped. It also notes only connected platforms are drafted for and that the `draft` capability is safe for a draft-only agent token. What it omits is whether re-calling with the same source creates duplicates (relevant given idempotentHint=false) or what rate limits apply to fetching URLs.

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

Conciseness3/5

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

The core pipeline and the async status handling are front-loaded, which is good, but the paragraph is dense and overstuffed with ALL-CAPS emphasis and a STYLE block ('no em or en dashes, 0-1 hashtags') that is house style rather than tool selection information. The parenthetical '(or approve_draft, after they say yes)' is redundant with the preceding clause about human approval.

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 an async, open-world ingestion tool with no output schema, the description covers everything an agent needs: input modes, the 202/ingestId return, the polling contract with all three terminal states and what to do in each, the approval-queue destination, and the platform scoping rule. Nothing material about invoking or interpreting the call is left unstated.

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 a 3 would be the floor, but the description adds real operational meaning: it ties the `text` parameter to the EMPTY-status recovery flow and confirms `platforms` defaults to every connected platform. It adds nothing new for `scheduleHint` or `brand` beyond the schema, which keeps this below a 5.

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?

The opening sentence names a concrete verb and resource ('Turn RAW MATERIAL into platform-native post drafts') and immediately enumerates the pipeline stages (extract, claims, angles, draft, gates). It distinguishes itself from siblings by naming get_source_status, approve_draft, and list_posts in their specific roles, so an agent can tell this apart from create_drafts or autoseo_generate_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?

It states exactly what inputs to supply (URLs, pasted text, or both) and gives a conditional recovery path: if get_source_status returns EMPTY, ask the user to paste the article text and call again with `text`. It also draws the boundary against publishing ('this NEVER publishes and never schedules on its own') and points to approve_draft as the human-gated next step.

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.