Skip to main content
Glama

generate_social_package

Read-only

Creates a ready-to-paste title, description, and tags for a short about your topic, returning the text directly in seconds without rendering or publishing a video.

Instructions

Write the post text for a short about a topic. Use it when the user needs a title, description and tags to paste; it makes no video and publishes nothing (publish_video does that, and already knows the text of videos made here). Returns the text directly, no job, usually within seconds (up to about a minute when the AI is slow): a JSON object with title, description and tags (a list) from the configured AI model. When the AI cannot be reached it is a generic template instead, and when the engine is not installed the keys are title, description, hashtags, tiktok_caption and reels_caption, so check the wording. Side effect: the topic is sent to the configured AI text provider.

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": {
      "topic": "<topic>"
    },
    "name": "generate_social_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoFormat of the video, which shapes the text (FACTS frames it as a 'two truths and a lie' quiz).FACTS
topicYesWhat the video is about, e.g. 'Why the sky is blue'. Required.
categoryNoBroad category used for the wording and tags, e.g. 'science' or 'history'.general

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.9.5
    • changedInput schema / properties / category / description
      Previous value: -"Broad category used to pick hashtags, e.g. 'science' or 'history'."New value: +"Broad category used for the wording and tags, e.g. 'science' or 'history'."
    • changedInput schema / properties / mode / description
      Previous value: -"Format of the video, which shapes the tone of the text."New value: +"Format of the video, which shapes the text (FACTS frames it as a 'two truths and a lie' quiz)."
    • addedInput schema / properties / topic / minLength
      Added value: +1
  2. Changed4 schema fields changedv0.1.1
    • addedInput schema / properties / category / description
      Added value: +"Broad category used to pick hashtags, e.g. 'science' or 'history'."
    • addedInput schema / properties / mode / description
      Added value: +"Format of the video, which shapes the tone of the text."
    • addedInput schema / properties / mode / enum
      Added value: +[
      +  "FACTS",
      +  "EXPLAINER",
      +  "STORY",
      +  "WYR",
      +  "TOP_5",
      +  "CHAT_STORY",
      +  "HORROR",
      +  "TRUE_CRIME",
      +  "BIBLE",
      +  "ARTICLE",
      +  "UGC",
      +  "EMOJI_GUESS",
      +  "REDDIT",
      +  "TRIVIA",
      +  "QUOTE",
      +  "NEWS",
      +  "RIDDLE"
      +]
    • changedInput schema / properties / topic / description
      Previous value: -"Topic or title of the video"New value: +"What the video is about, e.g. 'Why the sky is blue'. Required."
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint true, openWorldHint true, idempotentHint false, destructiveHint false) it discloses return shape, synchronous behavior ('no job, usually within seconds... up to about a minute'), two distinct degraded fallback modes with different key sets, and an explicit side effect ('the topic is sent to the configured AI text provider'). None of this is derivable from the annotations, and it is consistent with readOnlyHint since only text is generated, not persisted.

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?

Purpose, exclusion and return behavior are front-loaded, and nearly every clause carries information an agent needs (timing, fallback key sets, side effect). It loses a point for being a single dense run-on with stacked parentheticals, which makes the fallback key-set detail harder to parse than it needs to be.

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?

With no output schema, the description carries the return-value burden and does it: it names the JSON keys (title, description, tags as a list), documents the substitute key set when the engine is missing, and flags that the agent should 'check the wording'. Latency, side effect and fallback behavior are all covered for a tool that calls an external AI provider.

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%, so topic, mode and category are already documented with examples and enum semantics ('two truths and a lie' for FACTS). The description only implies the topic parameter with 'about a topic' and adds no format or interaction detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and artifact ('Write the post text for a short about a topic') and immediately disambiguates from the sibling that publishes ('it makes no video and publishes nothing (publish_video does that)'). An agent can tell this apart from publish_video and from a video-generating sibling without opening any 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?

Gives an explicit when-to-use condition ('when the user needs a title, description and tags to paste'), an explicit when-not ('makes no video and publishes nothing'), and names the alternative that handles the publishing case. This is the full when/when-not/alternative triad.

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