Skip to main content
Glama

Kalpana Designer

Name the template

set_template_info
Destructive

Save a template's name, description and what each input may hold; each field given replaces the old value, and fields left out keep theirs. Name: short and specific, e.g. "Ember Roasters autumn menu". Description: a sentence on what it is and where it is used. inputs: a description per text or image layer, by its id or name, saying what it holds and how long it can be, as characters and lines ("Headline: 10 to 45 characters, up to 2 lines"); batches show it to whoever fills the rows. Inputs merge by layer: one left out keeps its description, and "" clears it. Every text and image layer is an input until fixed marks it true: slide numbers, arrows and labels that never change per row (false makes it an input again). It also saves every change still waiting to be saved, so call it last: the template is then ready to fill with data. Returns the template's id, name, description, describedInputs (how many inputs now have a description) and fixedLayers, with a note when a change could not be saved. Use it once at the end of a design (measuring input limits: design_guide topic batch); to rename a single page use rename_page.

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": {
      "template_id": "<template_id>"
    },
    "name": "set_template_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
fixedNoLayer id or name to true to keep it as designed (not a batch input), false to make it an input again.
inputsNoLayer id or name to its input description: what it holds and its length limit.
descriptionNo
template_idYesThe template, from create_design or search_templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fixed
      Added value: +{
      +  "additionalProperties": {
      +    "type": "boolean"
      +  },
      +  "description": "Layer id or name to true to keep it as designed (not a batch input), false to make it an input again.",
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / template_id / description
      Added value: +"The template, from create_design or search_templates."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare a non-read-only, destructive, closed-world mutation; the description goes well beyond them by explaining partial-update merge semantics (omitted fields keep old values, "" clears an input description), the fixed-layer rule, and that the call flushes all pending unsaved changes. It even discloses the return payload (id, name, description, describedInputs, fixedLayers) and the partial-failure note, which matters for a destructive write.

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 purpose and the call-it-last constraint are front-loaded, and nearly every clause carries new information. It is a dense single paragraph, however, and a few clauses (the slide-numbers/arrows example, the parenthetical about design_guide) could be tightened without losing meaning.

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 five-parameter, nested-object, destructive mutation with no output schema, the description covers input formats, merge semantics, ordering constraints, side effects on pending changes, and the return values. Nothing an agent needs in order to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is only 60% and two parameters are nested objects, yet the description fully compensates: it explains that inputs and fixed are keyed by layer id or name, gives a concrete value format ("Headline: 10 to 45 characters, up to 2 lines"), and defines merge-vs-clear behavior for both maps. That is meaning well beyond what the schema conveys.

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+resource: "Save a template's name, description and what each input may hold," and distinguishes the tool from rename_page ("to rename a single page use rename_page") and from design_guide ("measuring input limits"). An agent can tell exactly what this tool does and what it does not do.

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?

It states explicit timing ("Use it once at the end of a design"), a sequencing constraint ("call it last"), and a named alternative for a nearby task (rename_page). The only minor omission is that it does not say when to call it repeatedly during a session, but "once at the end" effectively covers that.

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