Skip to main content
Glama

Check a take log against its plan

shoot_plan_validate_takes
Read-only

Checks a log of takes against the plan it was shot from, before you rely on it. It finds shots that are not in the plan, take numbers used twice, one op_id used for two different takes, file names written as paths, and a log made for another film or another revision of the plan. Each problem has a path into the log and a fix. A log with errors is a normal answer, not an error. The log is text about recordings (shot ids, verdicts, file names, timecodes). The tools take text only, never video or audio, and no AI model runs. Input: plan (a dpl.plan/1 object) and takes (a dpl.takes/1 object). Output: dpl.diagnostics/1 with valid (true or false) and each diagnostic with its fix. We don't keep the plan or the take log. Needs an agent key from a Shoot Plan account. Free, and it does not count towards the account's 3 free projects a month. Plans up to 8 MB and 120 calls a minute (5,000 a day).

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": {
      "plan": "<plan>",
      "takes": "<takes>"
    },
    "name": "shoot_plan_validate_takes"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesThe plan itself: a dpl.plan/1 JSON object (not text inside a string). Call shoot_plan_format for the schema links and an example.
takesYesThe take log: a dpl.takes/1 JSON object, {format, work_id, takes: [...]}. Each take has op_id, shot (the plan's shot id), kind and verdict; file names and timecodes are optional. A take log holds text about recordings: the tools take no video or audio.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations say readOnlyHint=true and openWorldHint=false; the description is fully consistent and adds substantial behavior beyond them: no storage of the plan or take log, no AI model involved, text-only input (never video/audio), agent-key auth requirement, 8 MB payload ceiling, 120 calls/min and 5,000/day rate limits, and free-tier accounting (does not count toward 3 free projects).

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 checks, then behavior, then limits — good ordering and every sentence is informative. There is mild redundancy between "The log is text about recordings..." and "The tools take text only, never video or audio, and no AI model runs," and the input/output format sentence duplicates structured schema data.

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?

Given an output schema exists, the description need not spell out return shape, but it does note valid plus per-diagnostic fixes, which is helpful. Auth, limits, storage semantics, and error interpretation are all covered; the only missing piece is a pointer to what to do with the returned fixes (shoot_plan_apply_fix).

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 coverage is 100%, so the schema already documents both parameters and their dpl.plan/1 and dpl.takes/1 formats. The description's "Input: plan (a dpl.plan/1 object) and takes (a dpl.takes/1 object)" largely restates that, adding little new meaning; baseline 3 applies.

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?

Specific verb+resource: "Checks a log of takes against the plan it was shot from," followed by an enumerated list of the exact defects it detects (shots not in the plan, duplicate take numbers, op_id collisions, path-like filenames, wrong film/revision). That is far more than a restated title. It only references shoot_plan_format as a helper for schema links and never contrasts itself with siblings like shoot_plan_check or shoot_plan_merge_takes, so it stops short of a 5.

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?

Gives clear usage timing ("before you rely on it") and a crucial interpretation rule: "A log with errors is a normal answer, not an error." It does not name alternatives or exclusions — e.g., that shoot_plan_apply_fix is what consumes the diagnostics, or how this differs from shoot_plan_check — leaving routing to inference.

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