Skip to main content
Glama

get_generation_publication

Read-only

Get whether a library generation is public, and its public URL if it is.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clipIdYesLibrary clip id to check publication status for.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoAbsolute public URL, or null when unpublished.
pathNoSite path such as /p/{id}, or null when unpublished.
publishedNoTrue when this generation has a live public page.
publicationNoPublic page payload when this tool returns the full record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by noting the conditional nature of the public URL ('if it is'). This goes slightly beyond the annotations.

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?

The description is a single, front-loaded sentence that states the primary purpose first and adds the conditional detail. Every word earns its place with no redundancy.

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?

The tool is simple, has one well-documented parameter, safe read-only annotations, and an output schema. Nothing essential is missing for an agent to correctly invoke and interpret the result.

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?

The input schema has 100% coverage with a clear description of clipId, so the schema does the heavy lifting. The tool description adds no extra parameter meaning, which matches the baseline of 3.

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 clearly identifies the specific action ('Get whether...is public, and its public URL'), the resource ('library generation'), and the conditional output. This distinguishes it from broader getters like get_public_generation and write tools like publish_generation.

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?

The description clearly implies the tool is used when checking the publication status of a library clip and retrieving its public URL. It does not explicitly exclude alternatives, but the context is specific enough that an agent knows when to select it.

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