Skip to main content
Glama

get_ad_generation

Read-only

Fetch one Ad Lab generation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesAd Lab job id from generate_ad, generate_ad_tip_pack, generate_ad_proof_pack, or generate_ad_explain.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoAd Lab job id.
kindNostatic, tip_pack, proof_pack, or explain.
statusNoJob status such as pending, queued, in_progress, completed, or failed.
outputUrlNoDownload or playback URL when the job has finished.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only safety profile is covered. The description adds the singular retrieval scope but does not mention error cases, job-state requirements, or idempotency, all of which are minor for a simple getter.

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 with no filler. Every word contributes to specifying the action and the resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The definition is mostly complete for a single-parameter getter: output schema covers return values, annotations cover safety, and the parameter is well documented. It lacks explicit guidance on preferring this over list_ad_generations, but the core call information is sufficient.

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?

The schema documents the only parameter with 100% coverage. The parameter description adds meaningful provenance by specifying that jobId must come from generate_ad, generate_ad_tip_pack, generate_ad_proof_pack, or generate_ad_explain, which helps the agent supply a valid value.

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 uses a specific verb, 'Fetch', and a specific resource, 'one Ad Lab generation'. This distinguishes it from list_ad_generations and from other lab-specific getters like get_image_lab_generation or get_video_lab_generation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description itself does not explicitly state when to use this tool versus alternatives. However, the schema's parameter description implies follow-up use after generate_ad-family calls, and the singular 'one' lightly contrasts with list_ad_generations. This is implied usage rather than explicit 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