Skip to main content
Glama

create_post

Idempotent

Schedule a post to one or more channels. idempotency_key is required; retries with the same key never double-post or double-charge. Optional max_price_usd refuses a price above your cap. Preview: posts are validated and priced in the sandbox, not published yet.

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": {
      "idempotency_key": "<idempotency_key>",
      "brand_id": "<brand_id>",
      "body": "<body>",
      "scheduled_at": "<scheduled_at>",
      "channels": "<channels>"
    },
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesPost text, max 5000 chars; each network's own limit is checked too (see list_networks).
brand_idYesBrand id from list_brands.
channelsYesChannel ids from list_channels (1-20).
media_urlsNoUp to 10 public https URLs of images or video, e.g. ["https://example.com/a.jpg"].
scheduled_atYesWhen to deliver, ISO 8601 UTC with Z, e.g. "2026-12-01T15:00:00Z".
max_price_usdNoOptional cap in USD for the whole post, e.g. 0.10. The post is refused if the price is higher.
idempotency_keyYesYour own unique string (8-128 chars), e.g. a UUID. Reuse it on retries so the action happens once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Post text, max 5000 chars; each network's own limit is checked too (see list_networks)."
    • addedInput schema / properties / brand_id / description
      Added value: +"Brand id from list_brands."
    • addedInput schema / properties / channels / description
      Added value: +"Channel ids from list_channels (1-20)."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Your own unique string (8-128 chars), e.g. a UUID. Reuse it on retries so the action happens once."
    • addedInput schema / properties / max_price_usd / description
      Added value: +"Optional cap in USD for the whole post, e.g. 0.10. The post is refused if the price is higher."
    • addedInput schema / properties / media_urls / description
      Added value: +"Up to 10 public https URLs of images or video, e.g. [\"https://example.com/a.jpg\"]."
    • addedInput schema / properties / scheduled_at / description
      Added value: +"When to deliver, ISO 8601 UTC with Z, e.g. \"2026-12-01T15:00:00Z\"."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and openWorldHint=true, and the description builds on that usefully: retries with the same key never double-post or double-charge, a price cap can refuse the request, and posts are validated/priced in a sandbox rather than published immediately. That last point is important behavioral context an agent would otherwise misread as an immediate live publish, though the return value and the exact state a scheduled post lands in are still unstated.

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?

Three tight sentences, front-loaded with the action, then the required idempotency contract, then the optional cost guard and sandbox caveat. Each sentence carries information, though the max_price_usd sentence largely restates the schema and could be trimmed.

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 an open-world, cost-incurring create operation with no output schema, the description omits what the call returns (post id, price, status) and how the scheduled post later transitions to published. The safety and idempotency picture is well covered, but an agent cannot predict the response shape from this text alone.

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 every parameter including idempotency_key and max_price_usd is already documented, which sets the baseline at 3. The description adds only marginal meaning beyond the schema (the retry/no-double-charge framing of idempotency_key), and says nothing extra about media_urls, body limits, or channel cardinality that the schema does not already carry.

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?

"Schedule a post to one or more channels" gives a specific verb plus resource, and the scope (multi-channel, scheduled rather than immediate) is unambiguous. It does not explicitly contrast with siblings like cancel_post or get_quote, but the core action is unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the reader infers this is the tool for creating scheduled posts, and the schema pointers (list_brands, list_channels, list_networks) hint at prerequisite lookups. There is no explicit when-not guidance and no named alternative, e.g., nothing tells the agent to call get_quote first for pricing or request_owner_approval when needed.

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