Skip to main content
Glama

submit_parse_job

Submit a PDF for asynchronous parsing into structured JSON with configurable schemas.

Instructions

Submit one PDF for async processing via /api/v1/pdf/upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
use_ocrNo
pdf_pathYes
schema_idNo
ocr_engineNosurya
schema_nameNo
webhook_urlNo
response_modeNocompact
max_estimated_tokens_overrideNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations provided, and the description only mentions 'async processing' without disclosing return type, job lifecycle, rate limits, or error handling. The API path adds little value beyond the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is concise but overly terse. Front-loads the core action but omits necessary detail for correct usage.

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

Completeness1/5

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

With 8 parameters, 0% schema coverage, and no output schema usage, the description is severely incomplete. It provides no guidance on parameter semantics, return values, or job tracking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain any of the 8 parameters (e.g., use_ocr, schema_id, webhook_url). Entirely missing parameter context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it submits one PDF for async processing and provides the API endpoint. However, it does not differentiate from siblings like submit_parse_batch or parse_pdf_sync.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., parse_pdf_sync for sync, submit_parse_batch for batch). No context on prerequisites or exclusions.

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/risha-max/0xpdf-mcp'

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