Skip to main content
Glama

save_proposal

Save a proposal document for user review before implementing a complex project. The proposal MUST include a Models section listing the friendly names of the planned image/still and video models, a "💰 Estimated Cost" section with one estimated USD total and a spending ceiling for the planned project, and a concrete numbered scene/shot or beat list. Default project models are Nano Banana 2.1 (google-nano-banana-2-1) for character/location/shot still images and Gemini Omni 1.2 Flash (google-gemini-omni-1-2) for videos after still-image approval. Keep those raw IDs in tool arguments and use friendly model names in user-facing proposal text. Do not use source-file references such as "from script.md" or vague language such as "approximately X shots" instead of enumerating the planned work. Save the complete proposal but show only a short summary in chat, including models, cost and approval scope. Provide a View full proposal link using the returned reviewUrl and ask for approval or changes in chat. Use native question controls only when the host provides an approval-capable tool. Never require clicking approval in Sequencer or fabricate buttons. Open the link only when the user requests it.

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": {
      "workspaceId": "<workspaceId>",
      "editId": "<editId>",
      "proposalMarkdown": "<proposalMarkdown>"
    },
    "name": "save_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
editIdYesThe edit ID to save the proposal to
threadIdNoOptional chat thread ID
sourceMediaNoUploaded media from the original Spark request that must remain available after proposal approval
workspaceIdYesThe workspace ID
productionPlanNoExact production jobs, starting-image media IDs, settings and per-job cost limits. Required for combined plan/image/budget approval.
proposalSummaryNoShort user-facing summary, about 100 to 150 words: concept, runtime/format, shot count, visual/audio direction, friendly models, cost, uncertainty and approval scope. Full script and shot details belong in proposalMarkdown.
estimatedCostUsdNoTotal estimated USD generation cost before the separate spending ceiling. Include for a paid proposal without exact production jobs so Sequencer can check available credits before paid approval.
proposalMarkdownYesThe full proposal content in Markdown format, including concrete numbered scenes/shots or beats. If based on a script or beat sheet, extract and enumerate the planned shots; do not merely reference the file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / estimatedCostUsd
      Added value: +{
      +  "description": "Total estimated USD generation cost before the separate spending ceiling. Include for a paid proposal without exact production jobs so Sequencer can check available credits before paid approval.",
      +  "maximum": 10000,
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed6 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / productionPlan / properties / jobs / items / properties / modelSettings / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / productionPlan / properties / jobs / items / properties / sourceMediaId / $ref
      Removed value: -"#/properties/productionPlan/properties/jobs/items/properties/jobId"
    • addedInput schema / properties / productionPlan / properties / jobs / items / properties / sourceMediaId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,200}$"
    • addedInput schema / properties / productionPlan / properties / jobs / items / properties / sourceMediaId / type
      Added value: +"string"
    • removedInput schema / properties / sourceMedia / items / additionalProperties
      Removed value: -false
  3. Changed1 schema field changed
    • addedInput schema / properties / productionPlan
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Exact production jobs, starting-image media IDs, settings and per-job cost limits. Required for combined plan/image/budget approval.",
      +  "properties": {
      +    "budgetUsd": {
      +      "maximum": 10000,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "creativeScope": {
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "jobs": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aspectRatio": {
      +            "type": "string"
      +          },
      +          "duration": {
      +            "exclusiveMinimum": 0,
      +            "maximum": 600,
      +            "type": "number"
      +          },
      +          "jobId": {
      +            "pattern": "^[A-Za-z0-9_-]{1,200}$",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "enum": [
      +              "video",
      +              "audio"
      +            ],
      +            "type": "string"
      +          },
      +          "maxCostUsd": {
      +            "maximum": 10000,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "model": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "modelSettings": {
      +            "additionalProperties": {
      +              "type": [
      +                "string",
      +                "number",
      +                "boolean"
      +              ]
      +            },
      +            "type": "object"
      +          },
      +          "prompt": {
      +            "maxLength": 12000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "resolution": {
      +            "type": "string"
      +          },
      +          "sourceMediaId": {
      +            "$ref": "#/properties/productionPlan/properties/jobs/items/properties/jobId"
      +          },
      +          "stylePrompt": {
      +            "type": "string"
      +          },
      +          "voiceId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "jobId",
      +          "kind",
      +          "model",
      +          "prompt",
      +          "duration",
      +          "maxCostUsd"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 40,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "creativeScope",
      +    "budgetUsd",
      +    "jobs"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / proposalSummary
      Added value: +{
      +  "description": "Short user-facing summary, about 100 to 150 words: concept, runtime/format, shot count, visual/audio direction, friendly models, cost, uncertainty and approval scope. Full script and shot details belong in proposalMarkdown.",
      +  "maxLength": 1800,
      +  "minLength": 1,
      +  "type": "string"
      +}
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly succeeds: it discloses the required proposal content, the default model IDs, the friendly-name-vs-raw-ID convention, the returned reviewUrl and the follow-up approval flow. It does not say whether calling it overwrites an existing proposal, whether it is idempotent, or what happens on validation failure.

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 purpose, then requirements, then chat-presentation rules, with no filler sentences. It is dense and long, but nearly every clause carries a constraint an agent would otherwise get wrong; a few presentation rules could be tightened.

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?

For a nested-schema save tool with no output schema and no annotations, it covers the essentials: required content, model defaults, cost ceiling, and the post-save review URL handoff. Gaps remain around overwrite semantics, failure behavior, and when to prefer update_proposal for an existing proposal.

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 baseline is 3, and the description adds real value beyond it: it defines what the markdown must contain (Models section, '💰 Estimated Cost' total and spending ceiling, numbered scene/beat list) and the rule to keep raw model IDs in arguments while writing friendly names in proposal text. It does not clarify the split between productionPlan and estimatedCostUsd, leaving that entirely to the schema.

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?

The first sentence states a specific verb and resource ('Save a proposal document') plus its purpose ('for user review before implementing a complex project'). It is clearly distinguishable from mutation siblings like update_proposal by the pre-implementation approval framing, though no sibling is named explicitly.

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 strong conditional guidance: use before implementing a complex project, show only a short summary in chat, ask for approval or changes, use native question controls only when the host provides an approval-capable tool, and never fabricate buttons. It also states exclusions ('Do not use source-file references... or vague language'). What it lacks is any routing signal between save_proposal vs update_proposal vs get_proposal.

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.