Skip to main content
Glama

Save Template

save_template
Destructive

Create a canonical company template, or replace one by passing template_id with expected_revision. Send typed GenerationCommand objects; updates are complete replacements. This persists the template and does not generate images. If a generation_preset create fails structurally, or legacy keys appear (camera_quantities, step2_operations, operations, fixed_context, variable_context, input_policy, cameraQuantities, step2Operations, fixedContext, variableContext, inputPolicy, or their camelCase forms), these describe a batch workflow — use template_kind=batch_workflow. front + back is one batch workflow: Step 1 front generation, Step 2 back camera edit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTemplate name
payloadYesVersioned template payload containing canonical generation commands
descriptionNoOptional sentence explaining when to use the template
template_idNoTemplate ID when replacing an existing template
catalog_scopeNoTemplate catalog scope: library or owner_onlylibrary
template_kindYesTemplate kind: generation_preset or batch_workflow
expected_revisionNoCurrent revision when replacing an existing template; omit for create

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that updates are complete replacements, that the operation persists the template, and that it does not generate images. It also surfaces the structural failure/legacy-key condition that changes the correct template_kind, which is valuable behavioral context not available in annotations.

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?

The description is dense but every sentence carries load-bearing information: create/replace semantics, full-replacement behavior, no image generation, and batch-workflow routing. The legacy key list is long but useful; the text is slightly verbose, yet not padded with filler.

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 7-parameter tool with nested payload types and no output schema, the description covers the critical semantic decisions: whether to create or replace, which template_kind to use, and that commands must be typed GenerationCommand objects. It does not describe return values, but the schema and annotations already provide substantial context.

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 description coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining that the payload must contain typed GenerationCommand objects, that updates are full replacements, and by detailing when template_kind=batch_workflow is the correct value based on legacy keys and workflow structure.

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 opens with a specific verb and resource: 'Create a canonical company template, or replace one by passing template_id with expected_revision.' This clearly distinguishes the tool from siblings like get_template, list_templates, and delete_template while also covering both create and replace modes.

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?

The description gives explicit routing guidance within the tool: if a generation_preset create fails structurally or legacy keys appear, use template_kind=batch_workflow, and it explains that front + back is one batch workflow. It does not explicitly contrast save_template with sibling tools, but the resource-specific guidance is strong enough to make invocation choices clear.

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.

TDQS

A3.5/5.0
Disambiguation3/5

Most tools target distinct resources and have detailed descriptions, but several closely related families exist: create_credit_checkout_session vs mcp_create_credit_checkout_session, the propose_brief/confirm_brief/update_brief lifecycle, and the many avatar/upload entry points. An agent must read long caveats carefully to avoid selecting the wrong tool.

Naming Consistency4/5

The vast majority of tool names follow a predictable snake_case verb_noun pattern (list_*, get_*, create_*, update_*, propose_*). The mcp_* prefix group and varied creation verbs (create/upload/save/add/generate) are minor deviations, though mcp_create_credit_checkout_session duplicating create_credit_checkout_session adds some confusion.

Tool Count1/5

With 67 tools, this is an extreme mismatch by the rubric's own 50+ threshold, far beyond the typical 3-15 well-scoped range. Many tools are narrow lifecycle steps such as two-phase local uploads, app-only montage internals, and multiple ArtDirection authoring variants, making the agent-facing surface very heavy.

Completeness3/5

The core generation, brief, montage, and QA workflows are covered thoroughly with polling and result retrieval. However, notable lifecycle gaps exist: outfits, locations, avatars, and tags mostly have create/list/get but no update or delete, and delete_template is the only delete tool in the entire set.

Resources