Skip to main content
Glama

Social media studio

Generate And Schedule

generate_and_schedule
Destructive

Generate AI content, create a post, and schedule it — all in one call. A DEV_TO post requires metaData.devToTitle; ask the user for the article title if they have not given one.

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>",
      "socialMedia": "<socialMedia>",
      "topic": "<topic>",
      "scheduledAt": "<scheduledAt>"
    },
    "name": "generate_and_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
toneNoTone of the content (default: professional)
topicYesTopic or context for the content
metaDataNoPlatform-specific publishing options, as in create_post. Required per platform: DEV_TO needs devToTitle (the article title, up to 128 characters not counting spaces; text is the Markdown body, at most 800 KB; optional devToTags, comma-separated, up to 4). DEV_TO cannot carry a video: a video post there publishes the article without the video and answers with a VIDEO_LEFT_OUT warning. PINTEREST needs boardId (from list_pinterest_boards). REDDIT needs subreddit and redditTitle. WORDPRESS needs wpTitle. SLACK needs slackChannelIds (from list_slack_channels). A post without its required key is rejected before it is saved: ask the user for it (for example the Dev.to article title) rather than making one up. Caption (text) limits, refused with 400 before the post is saved: TWITTER 280 weighted (links 23, emoji 2); BLUESKY 300 graphemes and 3000 bytes; THREADS 500 (emoji count as UTF-8 bytes), at most 5 links; MASTODON 500 graphemes (each link counts 23, @user@domain counts as @user, metaData.mastodonContentWarning counts too); INSTAGRAM 2200, at most 30 hashtags and 20 @mentions; TIKTOK 2200 for a video, 4000 for a photo post; FACEBOOK 63206; LINKEDIN 3000; PINTEREST 800 (metaData.title 100); DISCORD 2000; GOOGLE_MY_BUSINESS 1500; REDDIT 40000 (metaData.redditTitle 300); DEV_TO text (the body) at most 800 KB (819200 bytes), metaData.devToTitle 128 not counting spaces; DRIBBBLE at most 12 metaData.tags; YOUTUBE: the title is metaData.title, or text when metaData.title is unset, at most 100 characters and no < or >; the description at most 5000 bytes. A title is never made from the caption. GET /post/platform-rules lists them. A post over a limit is rejected with 400 (TEXT_TOO_LONG, TITLE_TOO_LONG, YOUTUBE_TITLE_TOO_LONG, YOUTUBE_TITLE_INVALID_CHARS, YOUTUBE_DESCRIPTION_TOO_LONG, TOO_MANY_HASHTAGS, TOO_MANY_MENTIONS, TOO_MANY_LINKS): shorten the text or ask the user, never cut it yourself without saying so.
platformYesTarget platform for AI generation
accountIdNoSocial account ID to post from
scheduledAtYesISO date for scheduling (must be future)
socialMediaYesSocial media for the post

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the core safety profile is covered. The description adds only that generation, post creation, and scheduling happen atomically in one call, plus a fallback instruction to prompt the user; it does not disclose irreversibility (an already-scheduled post publishing), whether a draft is also created, or how failures mid-pipeline are handled.

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?

Two sentences, front-loaded with the core action, with no filler. The second sentence duplicates the schema's devToTitle requirement, which is mild redundancy but also serves as a behavioral instruction (ask the user rather than invent), so it mostly earns its place.

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?

The rich schema and annotations cover most of what an agent needs for a 7-parameter tool with a nested object. However, with no output schema, the description never says what comes back (e.g., post ID, schedule confirmation, or a partial-success signal), which matters for a tool that both creates and schedules.

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 description coverage is 100% and the nested metaData object is documented exhaustively, so the schema carries the parameter burden. The description's DEV_TO title note restates what metaData.devToTitle already says, adding no new syntax or format detail; baseline 3 applies.

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?

States a concrete composite action — generate AI content, create a post, and schedule it — in one call, which is a specific verb+resource statement an agent can match to an intent. The phrase 'all in one call' implicitly contrasts it with running generate_content/create_post/schedule_post separately, but no sibling is named, so differentiation is left to inference.

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 only implied via 'all in one call'; there is no explicit statement of when to prefer this over the separate generate/schedule tools, nor when not to use it. It does give one actionable precondition (ask the user for metaData.devToTitle when missing), but that is per-parameter rather than a when-to-use rule.

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