Job Status
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
read - Catalog version:
2026-07-12.3 - Descriptor hash:
6b2cb25ed661a0770fae7047d63d456ff82b68dbb16d783a808294eaabdffd6d
Use this to read the complete status, progress, outputs, QA, and safe error summary for a previously returned job ID. It does not retry or mutate jobs.
Request Body
{
"jsonrpc": "2.0",
"id": "ffmpeg-job-status-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_status",
"arguments": {
"job_id": "job_id_123"
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"description": "Stable processing job ID returned by an FFmpeg operation."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"status",
"state"
],
"properties": {
"qa": {
"type": "object",
"description": "Normalized QA outcome.",
"additionalProperties": true
},
"error": {
"type": "string",
"description": "Safe processing error summary when failed."
},
"state": {
"type": "string",
"description": "Normalized queued, running, success, error, or unknown state."
},
"report": {
"type": "object",
"description": "Optional analysis report.",
"additionalProperties": true
},
"result": {
"type": "object",
"description": "Optional workflow or iteration result.",
"additionalProperties": true
},
"status": {
"type": "string",
"description": "Provider job status."
},
"ranking": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Optional comparison ranking."
},
"progress": {
"type": "integer",
"description": "Progress percent when known."
},
"cache_hit": {
"type": "boolean",
"description": "Whether the job result came from cache."
},
"error_code": {
"type": "string",
"description": "Normalized recoverable error category."
},
"logs_short": {
"type": "string",
"description": "Bounded sanitized job log summary."
},
"started_at": {
"type": "string",
"description": "UTC start timestamp when known."
},
"finished_at": {
"type": "string",
"description": "UTC completion timestamp when known."
},
"progress_pct": {
"type": "integer",
"description": "Compatibility alias for progress."
},
"last_log_line": {
"type": "string",
"description": "Last non-empty sanitized log line."
},
"output_asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Completed output asset IDs."
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ffmpeg-job-status-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_status",
"arguments": {
"job_id": "job_id_123"
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "ffmpeg-job-status-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_status",
"arguments": {
"job_id": "job_id_123"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "ffmpeg-job-status-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_status",
"arguments": {
"job_id": "job_id_123"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool ffmpeg.job_status executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}