Skip to main content
Glama

get_frame

Look at a document: a still image of the moment time seconds into a version, rendered as it will play, returned as the image itself and a signed URL (url, which downloads it). Use it to check an edit. It's a render, so it costs credits the first time; the same frame again is free. A first render can take longer than this call waits (45 seconds): it then answers frame.rendering while the render goes on, and calling again right away with the same arguments returns it, billed once; a running export can make that take longer. Each frame is also saved in the workspace's renders/ folder, as the asset that asset names.

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": {
      "document_id": "<document_id>",
      "time": "<time>"
    },
    "name": "get_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesThe moment to show, in seconds from the start. It shows the frame the moment falls in, and a moment past the end shows the last frame.
aliasNoAn alias, such as `latest`; `latest` when neither this nor `version` is given.
widthNoThe image's width in pixels; the video's when neither width nor height is given. With only one of them, the other follows the video's aspect ratio; with both, the image is the largest that fits in them.
formatNo`jpg` (the default), `png` or `webp`.
heightNoThe image's height in pixels.
versionNoA version, by number.
document_idYesThe document to look at, `doc_…`.

Output Schema

NameRequiredDescriptionDefault
urlYesThe image, signed: it downloads without an API key until `expires_at`.
timeYesWhen the frame it shows starts, in seconds.
assetYesThe asset it's saved as, in the workspace's `renders/` folder.
widthYesThe image's width, in pixels.
formatYes
heightYesThe image's height, in pixels.
versionYesThe version it shows.
expires_atYesRFC 3339.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description goes well beyond the annotations, which only say readOnlyHint=false and destructiveHint=false: it discloses credit cost on first render, free repeat renders, a 45-second wait followed by frame.rendering, idempotent re-calling billed once, possible delay from a running export, and the renders/ output location. The one gap is that it does not say what the signed URL's expiry or the rendering status payload looks like, though the output schema likely covers that.

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?

It is front-loaded with what the tool returns before covering cost and async behavior, and every clause carries information. It is dense and sentence-heavy, but none of it is filler.

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

Completeness5/5

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

For a 7-parameter render tool with an output schema, the definition supplies the async lifecycle, billing model, retry semantics, and output destinations. An agent has everything needed to call it, handle the rendering status, and avoid duplicate charges.

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

Parameters4/5

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

Schema coverage is 100% and each parameter is described there (time clamping past the end, alias default latest, format default jpg, width/height aspect behavior), so the baseline is 3. The description still adds meaning by tying `time` and `version` to a playable render and by explaining that `asset` names the saved file in renders/.

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?

The description names a specific verb and resource ("Look at a document: a still image of the moment `time` seconds into a version") and states exactly what is produced (the image plus a signed URL). An agent can distinguish this from metadata readers like get_document or get_asset purely from the text.

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?

"Use it to check an edit" gives one concrete scenario, and the cost and polling notes imply when the tool is expensive. However, there is no explicit when-not condition and no named alternative for cheaper metadata-only needs, so routing still requires inference from sibling names.

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