Skip to main content
Glama

Create a carousel (PDF)

create_carousel

Render a swipeable LinkedIn carousel as a PDF from a title, 3-15 content slides and a call to action, and save PNG previews to review before posting with create_post or schedule_post.

Instructions

Render a swipeable LinkedIn carousel as a PDF: a title slide, 3 to 15 content slides (heading plus body text, bullets or a big number) and an end slide with a call to action, at 1080x1350 per page. Also saves PNG previews of the first slides so you can show the user. Made locally in a separate headless browser: no AI, no account, no cost. Text shrinks to fit each slide; warnings name any slide whose text is too long. Nothing is sent to LinkedIn. To post it, pass document: {path, title} from the result to create_post or schedule_post, after showing the previews.

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": {
      "title": "<title>",
      "slides": "<slides>"
    },
    "name": "create_carousel"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNo
brandNoOverrides for this image only. Defaults come from brand settings in config.json.
themeNoLook: midnight (near-black with warm amber highlights and a geometric sans); paper (warm cream pages, an editorial serif and burnt-orange accents, with dark title slides); cobalt (bold cobalt-blue title slides with a yellow highlight; clean white content slides); mono (black and off-white only, generous space, tight type). Defaults to the brand theme, else midnight.
titleYesTitle slide headline. Short and specific works best (under about 60 characters).
authorNo
kickerNoSmall label above the title, e.g. 'Founder notes'.
slidesYesThe content slides, in order.
subtitleNoOne line under the title.
preview_countNoHow many PNG previews of the first slides to save.
document_titleNoTitle LinkedIn shows on the document. Defaults to the title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations, which only say not read-only/open-world and not destructive/idempotent. The description discloses the rendering mechanism (local headless browser, no network, no account, no cost), the side effect of saving PNG previews, autofit behavior ('Text shrinks to fit'), and a warning mechanism that names slides whose text is too long. That is exactly the behavioral context an agent needs before calling a file-producing tool.

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-loaded with the output artifact, then constraints, then the follow-up action — the order an agent needs it. Each sentence carries distinct information (structure, side effects produced, cost/account posture, overflow handling, next step) with no filler.

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 10-parameter nested-object tool with no output schema, the description covers the essential missing piece: what the result contains (a document path plus PNG previews) and how to hand it off to posting tools. Combined with 80% schema coverage and existing annotations, an agent can call this correctly without further clarification.

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 coverage is already 80%, so the schema carries most parameter definitions. The description still adds meaning the schema does not: the composition of a slide (heading plus body text, bullets, or a big number), the 3-to-15 slide count as a content rule, and the physical page geometry. It does not explain what preview_count or the brand/theme overrides do beyond what the schema states, so it is above baseline rather than fully additive.

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?

Uses a specific verb and resource — 'Render a swipeable LinkedIn carousel as a PDF' — and then enumerates the artifact's structure (title slide, 3–15 content slides with heading plus body/bullets/big number, end slide with CTA, 1080x1350 per page). That is enough for an agent to know this produces a document rather than a post, image, or quote card.

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?

Explicitly routes what happens next: show the previews to the user, then pass document: {path, title} from the result to create_post or schedule_post. It also clears up a likely misconception by stating 'Nothing is sent to LinkedIn.' The only gap is that it never says when to choose this over sibling visual tools like create_quote_card or generate_image.

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