Skip to main content
Glama

Plan loop

plan_loop

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. WRITE when write=true (else READ): close the program before the end card on a shot that rhymes with its first frame (a loop on the feed).

Input Schema

NameRequiredDescriptionDefault
writeNo
min_simNo
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, and the description usefully resolves the dual-mode behavior the annotations cannot express: write=true performs a WRITE, otherwise the call is a READ. It also discloses that the call is strictly project-scoped and returns the project identity with its result, which matters given there is no output schema. It stops short of permissions, rate limits, or what happens when no rhyming shot is found.

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?

Two dense sentences with the scope constraint and mode switch front-loaded ahead of the editorial explanation; there is essentially no filler. The final clause is verbose but carries the definition of the loop, so it earns its place.

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?

For a 3-parameter tool with no output schema, the description covers scope, read/write mode, and rough return content, and the annotations cover the safety profile. Gaps remain: min_sim is never addressed, it is ambiguous whether write=true commits the loop edit or only records a plan, and no preconditions are given.

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 only 33%: project_id is well documented in the schema, write has no schema description but is explained in the description (write=true selects WRITE mode). min_sim, the second most consequential parameter, is left entirely unexplained — only the word 'rhymes' hints at its meaning, so the description only partially compensates for low coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys the editorial construct it targets ('close the program before the end card on a shot that rhymes with its first frame (a loop on the feed)') and the scope, but the verb/action itself is only implied by the tool name and the phrasing is heavily metaphorical. It does not distinguish this planning tool from siblings such as plan_to_music.

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?

'WRITE when write=true (else READ)' gives conditional usage context, and the loop-on-the-feed framing implies the situation it is for. However, no alternative tools are named and no prerequisites (e.g., needing shots found first) or when-not-to-use conditions are stated.

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.