Skip to main content
Glama

save_production_template

Destructive

Save a versioned production template for product ads, 3 to 5 shot stories, or image localization. Templates use {{parameter}} placeholders and produce editable projects when run.

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>",
      "definition": "<definition>"
    },
    "name": "save_production_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
definitionYes
templateIdNo
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / definition / additionalProperties
      Removed value: -false
    • removedInput schema / properties / definition / properties / shots / items / additionalProperties
      Removed value: -false
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already flag this as a non-read-only, non-idempotent, destructive write, so the description must add the operational consequences — and it does not say what gets overwritten if templateId is passed, whether saving is an upsert or a new version, or whether existing templates are affected. The only added context is that templates hold {{parameter}} placeholders and yield editable projects when run, which is descriptive rather than behavioral for a destructive 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?

Two compact sentences, front-loaded with the action and then the payoff, with no filler. Minor loss of clarity from the compressed phrase '3 to 5 shot stories' and 'image localization', which read as domain jargon rather than precise conditions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent write with a nested, entirely undocumented schema and no output schema, the description leaves the agent without the information needed to call it safely: what templateId does, whether saving replaces an existing template, and what the response contains. It covers intent but not the risk surface of the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the definition is a nested object with roughly eleven sub-fields, so the description should carry the meaning — instead it clarifies only the kinds and the placeholder convention (which the schema's prompt field already documents). The optional templateId, the workspace scope, shot count/limits (schema allows 1-8 items while the text says '3 to 5 shot stories'), model, resolution, and aspectRatio are all left unexplained.

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?

States a specific verb and resource ('Save a versioned production template') and enumerates the three use domains (product ads, 3-5 shot stories, image localization), which map to the kind enum. It also explains the artifact's nature (parameterized templates producing editable projects), so an agent knows what is being created, though it never contrasts itself with save_* siblings or validate/run tools.

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?

Usage is only implied: the description conveys that this persists a reusable template rather than executing one, which hints at run_production_template/validate_production_template being the alternatives. It gives no explicit when-to-use or when-not-to-use rule, and nothing about whether to validate first or when to supply templateId versus omit it.

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.