Skip to main content
Glama

create_post

Create and publish (or schedule) a video or image post to connected platforms. Media must be supplied as a publicly reachable URL (mediaUrl / imageUrls) or base64 (mediaBase64) — this is a hosted server and cannot read files from your machine. Omit scheduledFor to publish immediately.

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": {
      "caption": "<caption>",
      "platforms": "<platforms>",
      "mediaKind": "<mediaKind>"
    },
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional title (YouTube)
captionYesMain text/caption of the post
mediaUrlNoPublicly reachable URL of the video or single image
timezoneNoIANA timezone, default "UTC"
imageUrlsNoMultiple image URLs for a carousel
mediaKindYes
platformsYes
mediaBase64NoBase64-encoded media bytes, if you have no public URL
scheduledForNoISO datetime; omit to publish immediately
mediaFilenameNoFilename for mediaBase64, e.g. clip.mp4 — sets the MIME type

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / scheduledFor / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, and the description adds genuinely useful context beyond them: this is a hosted server that cannot read local files, so media must arrive as a public URL or base64, and omitting scheduledFor means immediate publish. It stops short of disclosing what happens when a multi-platform publish partially fails or whether the call returns per-platform results.

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

Conciseness5/5

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

Three tight sentences with zero filler: the action first, then the media constraint, then the scheduling default. Every sentence carries information an agent needs to call the tool correctly.

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 a 10-parameter mutation tool with no output schema, the description covers input sourcing and timing well but leaves the return contract unstated — an agent does not learn whether it gets back a post ID usable with get_post/retry_post, or how per-platform outcomes are reported. Adequate but with clear gaps for a tool of this complexity.

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 already 80%, so the baseline is 3. The description does add real meaning by explaining why both mediaUrl/imageUrls and mediaBase64 exist (no local file access) and the scheduling default, but it says nothing about timezone, mediaFilename/MIME inference, or the platform metadata object that points to external docs.

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 ('Create and publish (or schedule) a video or image post') plus the target scope ('connected platforms'), which cleanly separates it from update_post, get_post, and list_posts siblings. An agent knows exactly what this tool produces without opening the schema.

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?

It gives practical calling guidance ('Omit scheduledFor to publish immediately') and hard constraints on media sourcing, but never states when to choose create_post over update_post or retry_post, nor any prerequisite such as having a connected account. Usage is implied by the create verb rather than explicitly routed.

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.