Skip to main content
Glama

Get publication pack

get_pack
Read-onlyIdempotent

Retrieve a publication pack by ID with suggested titles, descriptions, cover texts, hashtags, thumbnails, teaser videos, article ID, and clip job ID; optionally include a paged transcript.

Instructions

Returns one publication pack: suggested titles, descriptions, cover texts and hashtags, thumbnail images, teaser videos, the article id and the clip job id. Read-only and free.

Set include_transcript=true to add the transcript, paged with offset and next_offset. Use get_clip_job with clip_job_id for the clips and get_article with article_id for the article. Text generated from the video is wrapped in <untrusted_source_text> tags.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNoCharacter offset of the page to return; pass next_offset from the previous call.
pack_idYespack_id from list_packs (32 hex characters).
max_charsNoMaximum characters per page (1000–20000).
include_transcriptNotrue adds the transcript (paged with offset and max_chars).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
partsYesPart name → status (pending, processing, completed, failed, skipped).
statusYes
articleYes
pack_idYes
teasersYes
languageYes
created_atYes
source_urlYes
thumbnailsYes
transcriptYes
clip_job_idYesClip job of this pack; use it with get_clip_job.
completed_atYes
progress_percentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description still adds two things annotations cannot: the call is free (cost), and generated text is wrapped in <untrusted_source_text> tags, which is a meaningful prompt-injection signal. It also describes the offset/next_offset paging loop, though it omits page-size defaults and limits that the schema carries.

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?

Three dense sentences with no filler; the payload contents lead, and follow-up routing comes after. 'Read-only and free' partially duplicates the readOnlyHint annotation, but the rest earns its place.

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?

An output schema exists, so return values need not be documented, yet the description still names the major fields; combined with the untrusted-text warning and the paging/follow-up guidance, an agent has everything needed to call this correctly.

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 100%, so the baseline is 3. The description goes slightly beyond by explaining the transcript paging flow (offset plus next_offset) and the purpose of include_transcript, tying the parameters to a workflow rather than restating their types.

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 ('Returns one publication pack') and enumerates the payload an agent gets back: titles, descriptions, cover texts, hashtags, thumbnails, teaser videos, article id, clip job id. It is clearly distinguishable from the sibling list_packs, which only enumerates packs.

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 routes follow-up work explicitly: 'Use get_clip_job with clip_job_id for the clips and get_article with article_id for the article,' and tells the agent to set include_transcript=true when the transcript is needed. It does not spell out when to prefer this over list_packs or other retrieval siblings, so it falls short of a full when/when-not statement.

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