Skip to main content
Glama

Imagelato Image Processing

Change a resize preset

update_template
DestructiveIdempotent

Use this when the user wants to update selected name, output-format or width fields on one existing Imagelato resize preset. Returns the updated template after replacing only the fields given, and fires the template.updated webhook; it cannot move the preset to another project. Not for creating a preset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew preset name, from 1 to 120 characters
sizesNoNew output widths in pixels, one to ten strings from 1 to 9999; replaces the current list
formatsNoNew output formats, one to five of jpg, png, webp, gif or svg; replaces the current list
templateIdOrNameYesExact template id or name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / formats / description
      Previous value: -"Replacement output formats"New value: +"New output formats, one to five of jpg, png, webp, gif or svg; replaces the current list"
    • changedInput schema / properties / name / description
      Previous value: -"Replacement template name"New value: +"New preset name, from 1 to 120 characters"
    • changedInput schema / properties / sizes / description
      Previous value: -"Replacement output pixel widths"New value: +"New output widths in pixels, one to ten strings from 1 to 9999; replaces the current list"
    • changedInput schema / properties / templateIdOrName / description
      Previous value: -"Exact template id or name from list_templates or get_template"New value: +"Exact template id or name"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=true) by disclosing the webhook side effect ('fires the template.updated webhook'), the return payload, the partial-update semantics ('replacing only the fields given'), and a hard scope limit ('cannot move the preset to another project'). No contradiction with destructiveHint, since sizes/formats replace the prior list.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences: trigger and scope first, side effects and constraints second. The mention of the return value is mildly redundant with the output schema but costs only a clause and reinforces the partial-update behavior.

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 four-parameter mutation with full schema coverage, an output schema, and safety annotations, the description supplies everything else an agent needs: the webhook side effect, the partial-replace semantics, and the project-move limitation.

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 description coverage is 100%, so the baseline is 3; the description names the updatable fields but adds no syntax, constraints, or format detail beyond what the schema already documents for name, sizes, formats and templateIdOrName.

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?

States a specific verb+resource ('update ... fields on one existing Imagelato resize preset'), names the exact fields touched (name, output-format, width), and explicitly excludes the create case, which separates it from add_template. An agent can distinguish it from every sibling 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with an explicit trigger ('Use this when the user wants to update...') and adds a negative boundary ('Not for creating a preset'). It does not name add_template as the alternative, but the exclusion is unambiguous enough for correct routing.

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.

Resources