Skip to main content
Glama

PennyCompute

Submit an FFmpeg job

submit_ffmpeg_job

Submit a transcode, stitch, audio mix, caption burn, timeline export, frame grab, or audio job. Video is $0.00375 per SD minute, $0.0075 per HD minute, or $0.015 per 4K minute; audio is $0.0015 per minute, with a 1-second minimum. Use estimate_job for an image. Failed jobs are free.

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": {
      "service_id": "<service_id>",
      "input": "<input>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "submit_ffmpeg_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
priorityNonormal
service_idYes
output_uploadNo
idempotency_keyYes
client_referenceNo
max_output_bytesNo
max_wait_secondsNo
webhook_endpoint_idNo

Output Schema

NameRequiredDescriptionDefault
idYes
resultNo
statusYes
priorityNo
created_atNo
service_idYes
started_atNo
updated_atNo
output_fileNo
completed_atNo
failure_codeNo
failure_messageNo
output_deliveryNo
client_referenceNo
charged_fee_microsNo
outstanding_microsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the load, and it does disclose real behavior: per-minute pricing by resolution and audio tier, a 1-second minimum, and that failed jobs are free. It never explains the asynchronous job lifecycle — that submission returns a job handle to be polled via get_job_status/get_job_result, or that idempotency_key is required to dedupe retries — which is the most important behavioral fact for a submit 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?

Front-loads the job types, then pricing, then the sibling redirect in two short sentences. Dense but every clause carries usable information; the only mild redundancy is 'audio mix ... or audio job' listing audio twice.

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?

An output schema exists, so return values need not be described. But for a tool this complex — 9 params, nested anyOf variants, an output_upload destination, a max_wait_seconds window — the description should at minimum say the job is queued and must be polled, and that an idempotency_key guards against duplicate submissions. Those omissions leave the submission contract incomplete.

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 description coverage is 0% across 9 parameters, several of them deeply nested heterogeneous objects (input, output_upload, max_wait_seconds, priority). The description adds meaning only for service_id, by narrating the job types; it says nothing about output_upload, client_reference, priority, max_output_bytes, or which input shape pairs with which service_id, leaving the agent to reverse-engineer a very large anyOf.

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?

States a specific verb (Submit) plus resource (job) and enumerates the seven job kinds — transcode, stitch, audio mix, caption burn, timeline export, frame grab, audio — which map directly to the service_id enum. An agent can tell this is the FFmpeg media-processing endpoint and not an image or render endpoint.

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?

Explicitly routes images elsewhere with 'Use estimate_job for an image', which is a genuine exclusion naming a real sibling. It gives no guidance on when to prefer submit_h3_clip or submit_remotion_render, but those distinctions are not inferable from names alone, so this is clear context without full exclusions.

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