Skip to main content
Glama

Plan a post or carousel

plan_content

Plan a piece of content end to end: caption plus, for each slide, its idea and a detailed art-directed image prompt with a shared visual style. Written in this brand's voice — as the company, or as the person or character it speaks as. This is the right first step for a carousel: plan it, then feed each imagePrompt to generate_image, then create_post with the caption and the resulting URLs. Costs 35 AI credits per plan (the images are charged separately by generate_image); nothing is charged if it fails. For a week or a month of content use plan_campaign (to go through the plan with the user) or run_autopilot (to create it all as drafts). SPENDS AI CREDITS ONLY WITH confirm: true. Call it first without confirm: nothing runs and nothing is charged, you get the quote (what it will do and the credits). Tell the user, in your own words, exactly that — including the options you chose, so they can change them — and wait for a clear yes before calling again with the same arguments and confirm: true. One yes covers the plan they approved (e.g. every line of an approved voice-over with the chosen voice); anything new or different needs a new yes.

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": {
      "platform": "<platform>"
    },
    "name": "plan_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoContent format. Defaults to post.
topicNoBrief or topic.
confirmNotrue ONLY after the user said yes to the quote (what it does and the credits). Without it nothing runs and nothing is charged.
languageNo
platformYesTarget network.
keywordCtaNoLet the plan close with a keyword CTA ("comment WORD and I'll send it"). It may only offer something the brand actually has on file — see `deliverables` in get_brand_profile. With nothing on file, no CTA is produced. Off by default.
slideCountNoNumber of images to plan (1 for a single post, 3-5 for a carousel).
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, and the description goes well beyond them by disclosing the 35-credit cost, that failure costs nothing, that image generation is billed separately, and the quote-then-confirm gate. However it says a repeat with the same idempotencyKey yields the original result and does nothing twice, while annotations set idempotentHint=false — this reads as an opt-in key making it effectively idempotent, not a direct contradiction, but the tension is left unexplained. It also never says whether planning has side effects beyond the charge (e.g. whether a plan record is persisted and visible to the user).

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?

It is front-loaded with purpose, then workflow, then cost, then the confirm protocol — a sensible order for a credit-spending tool. The cost/charge idea is restated several times ('Costs 35 AI credits', 'nothing is charged if it fails', 'SPENDS AI CREDITS ONLY WITH confirm: true', and the schema repeats it again), which is more repetition than a single pass would need.

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 9-parameter, credit-spending generative tool with no output schema, the description covers what is produced, what it costs, when it is charged, how to confirm safely, and which siblings handle adjacent jobs. Very little an agent would need in order to call it correctly is missing.

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 89%, so the baseline is 3, and the description earns above that by explaining confirm's charging semantics and by tying slideCount to the per-slide output model ('for each slide'). The keywordCta behavior (only offers what the brand has on file, off by default) is already in the schema, so the description adds little there, and language/topic remain purely schema-documented.

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 description opens with a specific verb and resource — 'Plan a piece of content end to end' — and immediately names the concrete artifacts produced (caption, per-slide idea, art-directed image prompt, shared visual style). It also distinguishes itself from siblings by routing carousel planning here and longer horizons to plan_campaign/run_autopilot, so an agent can select it without opening another 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 gives an explicit ordered workflow for the primary case ('this is the right first step for a carousel: plan it, then feed each imagePrompt to generate_image, then create_post') and explicitly hands off other cases to plan_campaign and run_autopilot. It also states the confirm-gate protocol — call without confirm first, relay the quote, wait for a clear yes — which is when-to-use guidance at the call-sequence level.

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