Skip to main content
Glama
PDF.co MCP Server

PDF.co MCP Server

Official
by pdfdotco

Check job status

get_job_check
Read-only

Check the status and results of a background job by ID, showing whether it is working, successful, failed, aborted, or unknown.

Instructions

Check the status and results of a job Status can be:

  • working: background job is currently in work or does not exist.

  • success: background job was successfully finished.

  • failed: background job failed for some reason (see message for more details).

  • aborted: background job was aborted.

  • unknown: unknown background job id. Available only when force is set to true for input request.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "get_job_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe ID of the job to get the status of
api_keyNoPDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)

Output Schema

NameRequiredDescriptionDefault
tipsNo
statusYes
contentYes
credits_usedNo
credits_remainingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.0.12
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / api_key / title
      Removed value: -"Api Key"
    • removedInput schema / properties / job_id / title
      Removed value: -"Job Id"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "content": {},
      +    "credits_remaining": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null
      +    },
      +    "credits_used": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "tips": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "content"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3/5.0
Behavior2/5

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

The readOnlyHint annotation already establishes that this is a safe read, and the status enumeration adds useful semantic detail. But the description references a 'force' input that does not exist in the schema, which is misleading, and it gives no indication of polling expectations (rate limits, retry cadence) despite being a status-check tool.

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

Conciseness4/5

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

The description is front-loaded with the purpose and then uses a clean bulleted list for the status values. It is efficient apart from the stray 'force' reference, which consumes a line with incorrect information.

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

Completeness3/5

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

The output schema and full parameter descriptions are present, so the description only needs to add status semantics and routing guidance. It does the former well but omits any guidance relative to wait_job_completion and includes a phantom parameter, so it is adequate rather than complete.

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

Parameters2/5

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

Schema coverage is 100%, so the baseline would be 3, but the description actively introduces a nonexistent 'force' parameter in the 'unknown' status bullet. That contradicts the two-parameter schema and is worse than saying nothing about parameters.

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?

The first line states a specific verb and resource (check status and results of a job), and the status list makes the scope concrete. It does not, however, distinguish this from the sibling wait_job_completion, which is the obvious alternative for blocking on a job.

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?

Usage is only implied by the async-job workflow: an agent can infer this is a polling/status-query tool. There is no explicit when-to-use or when-not-to-use guidance, and the sibling wait_job_completion is never mentioned as the alternative for waiting on completion.

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