Skip to main content
Glama

Get PDF generation status

get_pdf_status
Read-only

Poll a PDF job with the job_id generate_pdf returned. status is processing → complete (with a url) or failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob ID from generate_pdf

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe job — status (processing, complete or failed) and the download url once it is complete.
successYesTrue when the call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / properties / data / description
      Previous value: -"The job — status (pending, processing, complete or failed), the download url once it is complete, and the error when it failed."New value: +"The job — status (processing, complete or failed) and the download url once it is complete."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the call succeeded. A failure comes back as an error result instead."New value: +"True when the call succeeded."
  2. 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 meaningful behavioral detail by describing the status lifecycle: processing → complete (with a url) or failed, which goes 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 concise sentence that front-loads the action and resource, then efficiently communicates the status transitions. 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?

With an output schema present, return values are already documented. The description covers the key workflow context (job_id origin and status progression), making it complete for a simple polling tool.

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 coverage is 100% and the parameter description already states 'Job ID from generate_pdf'. The tool description reinforces this by mentioning the job_id source, but adds no new format or usage details beyond what the schema provides, so the baseline of 3 is appropriate.

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 states a specific verb ('Poll') and resource ('a PDF job') and ties it directly to the job_id returned by generate_pdf. This clearly distinguishes it from sibling tools, especially generate_pdf, by focusing on status retrieval rather than creation.

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 explicitly says to use the job_id that generate_pdf returned, establishing the correct context for polling. It doesn't explicitly state when not to use it, but the polling workflow and the named sibling make the usage context clear.

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