Skip to main content
Glama

prepare_post

Checks a finished clip meets the platform's vertical, length, size, and audio rules, then creates a cover image, trims hashtags to the limit, and writes a paste-ready post text file for TikTok, Reels, or Shorts.

Instructions

Pre-flight a finished clip for TikTok ('tiktok'), Instagram Reels ('reels') or YouTube Shorts ('shorts'): checks it is vertical, short enough, small enough and has audio, makes a cover image, cleans the hashtags to the platform's sensible limit and writes a paste-ready post text file. Write the title/caption yourself from the video's facts (hook first, then a question to get comments). Limits are conservative and can change: the result says so. It does not upload anything.

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": {
      "video_path": "<video_path>"
    },
    "name": "prepare_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
captionNo
cover_atNo
hashtagsNo
platformNotiktok
video_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly meets it: it discloses that the tool performs validation, generates a cover image, mutates hashtags to a platform limit, and writes a file to disk (a side effect). It also flags that limits are conservative and may change and that the result reports this. Gaps remain around where the file is written, whether existing files are overwritten, and what happens when a check fails.

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?

The core capabilities are front-loaded in the opening sentence, followed by authoring advice and a caveat about limits, so structure is sound and every sentence carries information. It is dense and the first sentence runs long with a stacked list, which costs some readability but no content is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, unannotated tool with no output schema, the description covers the important ground: what is validated, what artifacts are produced, that nothing is uploaded, and that results report the applied limits. Remaining omissions (file output location, failure behavior when a check fails, cover_at units) are meaningful but secondary.

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 description coverage is 0%, so the description must compensate, and it does for the most important gap: it supplies the accepted platform values ('tiktok', 'reels', 'shorts') that the schema lacks as an enum. It also implies the roles of title, caption, hashtags, cover image, and the clip path. The cover_at parameter, however, is never explained (no mention that it is a timestamp in seconds), and defaults like platform='tiktok' are not discussed.

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 names a specific action (pre-flight a finished clip) and enumerates the concrete operations: vertical/size/duration/audio checks, cover image generation, hashtag cleanup, and writing a paste-ready post text file. It also names the three target platforms with their literal string values. No sibling in the catalog does clip post preparation, so an agent can identify this tool's role 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 Guidelines4/5

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

It states the triggering condition clearly ('a finished clip') and sets a hard scope boundary with 'It does not upload anything', which tells the agent this is preparation only. It also gives the caller a directive about authoring title/caption themselves. There is no explicit when-not or named alternative, but no sibling tool overlaps this function, so the practical guidance is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.