Skip to main content
Glama

Storiez

Generate posts for calendar item

trigger-generation
Destructive

Generates posts for one calendar item, one per destination: research, copy, headline and image in the persona's voice. Running it again deletes the item's existing posts and writes new ones. Returns post IDs immediately; generation takes 1 to 3 minutes. Finished posts are SCHEDULED (publish publicly at their time) on connections without approval, otherwise READY_TO_APPROVE. Costs 30 credits per post (15 with an uploaded image), deducted when each post finishes. Can read the page at a given URL.

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": {
      "contentEventId": "<contentEventId>"
    },
    "name": "trigger-generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOverride the source URL for generation
textNoOverride the text input for generation
scenesNoScene IDs for scene-based generation
imageUrlNoUploaded image URL (skips AI image generation, costs 15 credits instead of 30)
inputTypeNoOverride the input type (defaults to the content event's inputType)
contentEventIdYesThe content event ID to generate posts for
selectedConnectionsNoOverride which connection IDs to generate for (defaults to content event's selection)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that repeat invocation is destructive to existing posts, that the call is asynchronous ('Returns post IDs immediately; generation takes 1 to 3 minutes'), what terminal states result (SCHEDULED vs READY_TO_APPROVE depending on connection approval), the credit cost and when it is deducted, and that the tool reads external pages. This is the exact behavioral context the destructiveHint/openWorldHint flags can only hint at.

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?

Front-loads what the tool produces, then immediately follows with the destructive re-run caveat, the async contract, the resulting statuses, and cost. Every sentence carries decision-relevant information with no filler, despite the density.

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 7-parameter, expensive, destructive, asynchronous tool with no output schema, the description supplies the missing return contract (post IDs immediately), timing expectations, terminal states, and billing. An agent can call this correctly and set user expectations without any other source.

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 all seven parameters are already documented, establishing a baseline of 3. The description adds only marginal meaning beyond the schema — the cost implication of an uploaded image and the note that a URL can be read — while per-parameter overrides (text, scenes, inputType, selectedConnections) are left entirely to the schema.

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 resource ('Generates posts for one calendar item'), then scopes the output ('one per destination: research, copy, headline and image in the persona's voice'). The singular 'one calendar item' implicitly distinguishes it from the bulk sibling generate-for-content-events without the agent needing to open either 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?

Gives clear usage context: call it per calendar item, and re-running is a replace operation ('deletes the item's existing posts and writes new ones'), which is exactly the condition an agent needs to decide whether to re-invoke. It does not explicitly name an alternative for multi-item batching, so it stops short of full when-to-use/when-not guidance.

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