Skip to main content
Glama

Create a restore

create_restore

Start a cloud restore of an old video (tape, DVD, film scan, old phone clip): denoise, deinterlace, rebuild detail and upscale. Returns an upload_url; PUT the video there, then call start_restore. With an agent key it is paid from the balance now (pay_with 'balance'), and refunded to the balance if it fails. With pay_with 'checkout' (or no key) the user pays through a checkout link that start_restore returns. Up to 2 GB; standard up to 30 minutes, enhanced and studio_max up to 10 minutes.

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": {
      "filename": "<filename>",
      "content_type": "<content_type>",
      "duration_seconds": "<duration_seconds>"
    },
    "name": "create_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoNeeded for pay_with 'checkout': where the receipt goes.
widthNoFrame width in pixels. Bigger frames cost more; the GPU checks the real file.
heightNoFrame height in pixels.
qualityNostandard: denoise, deinterlace, 2x upscale. enhanced: adds AI detail reconstruction, for badly degraded footage. studio_max: enhanced, delivered at up to 4K.enhanced
filenameYesThe video's file name, e.g. wedding-1994.mp4.
pay_withNoDefault: balance when this connection has a key, otherwise checkout.
size_bytesNoFile size in bytes, up to 2 GB.
content_typeYesThe video's MIME type, e.g. video/mp4.
duration_secondsYesLength in seconds. The GPU checks it; a file much longer than declared is refused and refunded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / height / description
      Added value: +"Frame height in pixels."
    • addedInput schema / properties / size_bytes / description
      Added value: +"File size in bytes, up to 2 GB."
    • addedInput schema / properties / width / description
      Added value: +"Frame width in pixels. Bigger frames cost more; the GPU checks the real file."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses the upload workflow, that balance charges are immediate and refunded on failure, that GPU-side validation can reject a file (with refund), and concrete size and duration ceilings per quality tier. That is substantial operational context not carried by the annotation set.

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-loaded with the purpose, then the workflow, then payment, then limits — a logical order with no filler sentences. It is dense but slightly long, with some constraint detail duplicating schema content.

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?

For a 9-parameter creation tool with no output schema, the description explains the immediate return (upload_url) and the cost/refund model. It does not say how the finished restore is retrieved (presumably get_restore), a minor omission for an otherwise complete flow description.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter already has documented meaning, tier definitions, and limits. The description mainly restates those (2 GB cap, duration limits, pay_with behavior) rather than adding new parameter-level meaning, so the baseline 3 is appropriate.

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?

Opens with a specific verb+resource ('Start a cloud restore of an old video') and enumerates the processing performed (denoise, deinterlace, detail rebuild, upscale). It also names the follow-up sibling start_restore, so an agent can distinguish create_restore from the tools that begin or inspect the job.

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 gives explicit sequencing: create_restore returns an upload_url, the file is PUT there, then start_restore is called. It also states the payment branch conditions (agent key → balance, no key or 'checkout' → checkout link), which tells the caller when each mode applies.

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