Skip to main content
Glama

doc2x_parse_pdf_status

Check the status of a PDF parsing task to monitor progress or retrieve results. Returns processing status, completion percentage, and error details if needed.

Instructions

Query parse task status by uid. Returns {status, progress, detail}. status is one of processing/failed/success; progress is an integer 0..100; detail is populated only when status=failed. Fetch parsed content via doc2x_convert_export_*.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesDoc2x parse task uid returned by doc2x_parse_pdf_submit.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the return structure ({status, progress, detail}), status values (processing/failed/success), progress range (0..100), and when detail is populated (only when status=failed). It also mentions the dependency on doc2x_parse_pdf_submit for obtaining the uid. However, it doesn't cover potential errors, rate limits, or authentication needs.

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 efficiently structured in two sentences: the first explains the tool's purpose and return values, the second provides critical usage guidance. Every sentence adds essential information without redundancy, making it easy for an agent to parse quickly.

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?

Given the tool's moderate complexity (single parameter, no output schema, no annotations), the description is largely complete. It explains the return structure and tool relationships well. However, it could benefit from mentioning error handling or timeouts, which would make it fully comprehensive for a status-checking operation.

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 schema already documents the uid parameter. The description adds meaningful context by explaining that the uid comes from doc2x_parse_pdf_submit, which helps the agent understand the parameter's origin and relationship to other tools. This goes beyond the schema's technical description.

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 states the specific action ('Query parse task status') and resource ('by uid'), distinguishing it from sibling tools like doc2x_parse_pdf_submit (which submits tasks) and doc2x_parse_pdf_wait_text (which waits for completion). It explicitly identifies the tool's role in checking status rather than initiating or retrieving content.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool: after submitting a parse task via doc2x_parse_pdf_submit (referenced in the parameter description) and before fetching content via doc2x_convert_export_* tools. It clearly differentiates this status-checking tool from content-retrieval alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NoEdgeAI/doc2x-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server