Skip to main content
Glama

Produce the project

produce_project

Make the project from its plan. Always call it first without max_credits: it returns the exact total for the current plan version and a confirmation id. Show the plan and the total to the user and wait for a clear yes, then call it again with the same arguments plus max_credits (that total) and confirmation (that id). Nothing is charged without both, and if the plan changes in between the old confirmation stops working. stage storyboard makes only the pictures (cheap, to check before video); shot_ids makes or remakes single shots. Failed steps are refunded. Then call get_project for progress and the finished video.

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": {
      "project_id": "<project_id>"
    },
    "name": "produce_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
redoNoSet true to remake shots that were already made (for example after the user disliked one).
stageNoall (default): everything, then the finished video. storyboard: only the picture for every shot, to look at before paying for video.
shot_idsNoOptional: only these shots (ids from the plan).
project_idYesThe project_id.
max_creditsNoRequired to start: the quoted total the user agreed to. Leave it out to get the quote; nothing is charged without it.
confirmationNoRequired to start, together with max_credits: the confirmation id from the quote, passed back exactly. It only covers the plan version and total the user saw; if the plan or material changes, get a new quote and ask the user again.

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?

The annotations only say it is a non-read-only, non-idempotent, open-world write; the description goes far beyond that by disclosing that credits are charged, that nothing is charged without both max_credits and confirmation, that an old confirmation stops working if the plan changes, and that failed steps are refunded. Those are exactly the risks an agent needs to know before invoking a spending operation.

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 action and the quote-then-confirm sequence, with no filler sentences; every clause carries operational information. It is dense and slightly run-on in the middle (the two-call protocol is packed into one sentence), which costs a point but not much readability.

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 spending, multi-step, non-idempotent operation with no output schema, the description supplies everything needed: the two-phase flow, the return value of the first call (total plus confirmation id), the invalidation rule, the refund behavior, and the tool to call afterward for progress and the finished video.

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 is 3, but the description adds protocol-level meaning: max_credits is the quoted total the user agreed to, confirmation must match the exact plan version and total, and reusing a stale one fails. It does not add meaning for the redo flag beyond what the schema already states, which keeps it from a 5.

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?

"Make the project from its plan" states a specific verb and resource immediately, and the rest of the definition separates it from siblings: get_project for progress, storyboard stage for pictures only, shot_ids for individual shots. An agent can distinguish it from get_project, get_project_plan, and estimate_cost without opening a schema.

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?

Explicit when-to-use and how-to-sequence guidance: call first without max_credits to get a quote, show the user, wait for a clear yes, then call again with max_credits plus confirmation. It also routes to alternatives for cheaper partial work (stage storyboard) and for single-shot work (shot_ids), and names the follow-up (get_project).

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.