Skip to main content
Glama

Cut a smaller plan out of a big one

shoot_plan_slice
Read-only

Cuts out part of a plan, so that you can send a smaller plan when your context is short: the scenes, the shots or the sequence you name, with everything they refer to (characters, places, props, sound and the rest) and their times unchanged. The slice is a valid plan of its own, so you can send it to shoot_plan_check, and it says which whole plan it was cut from (slice_of). It is for reading and editing one part: to change the film, change the whole plan and check that. Input: plan, and exactly one of scenes (scene ids), shots (shot ids) or sequence (one sequence id). Ids may be a name, a comma-separated list, or a list of names. An id the plan does not have is refused, and the refusal says what to change. Output: the sliced dpl.plan/1 with slice_of. A slice of shots that leaves gaps in a scene is judged as if the shots on either side of a gap were neighbours: treat its check as advice. No AI model runs. We don't keep the plan. We log a one-way fingerprint (hash) of it, its size, the tool, the type of client, the result and the time taken. 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>"
    },
    "name": "shoot_plan_slice"
  }
}

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.
shotsNoSlice these shots: shot ids (a name, a comma-separated list, or a list of names).
scenesNoSlice these scenes: scene ids (a name, a comma-separated list, or a list of names).
sequenceNoSlice this one sequence: a sequence id.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint it discloses a lot: no AI model runs, the plan is not stored, only a one-way hash plus size/tool/client/result/timing is logged, an agent key is required, the tool is free and exempt from the 3-projects quota, and limits of 8 MB and 120 calls/minute (5,000/day). It also specifies error behavior — an unknown id is refused with a message saying what to change.

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?

Purpose and the one-of input rule are front-loaded, then behavior, then output, then limits — a sensible order with no filler sentences. It is dense and runs long, with compliance details (hash logging, quota exemption) that an agent only marginally needs, which keeps it just short of top marks.

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 4-parameter tool with a nested plan object, an output schema, and read-only annotations, the definition covers input exclusivity, id formats, error semantics, the slice_of provenance field, and the gap caveat. Nothing an agent needs in order to call it correctly is missing.

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%, so the baseline would be 3, but the description adds a constraint the schema does not encode: 'exactly one of scenes, shots or sequence' must be supplied. It also restates the accepted id formats (single name, comma-separated list, or list), which the schema already covers, so the gain is real but not exhaustive.

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 gives a precise verb+resource: it cuts a sub-plan (scenes, shots, or a sequence) out of a larger plan, keeping all referenced entities and times intact. It distinguishes itself from siblings by naming shoot_plan_check as a consumer of its output and shoot_plan_format as the schema source, and by contrasting itself with editing the whole plan.

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?

It states the selecting condition explicitly ('when your context is short') and adds a clear when-not: 'to change the film, change the whole plan and check that', which routes whole-plan editing elsewhere. It also warns that a check on a gapped shot slice is only advice, so the agent knows how much to trust downstream validation.

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