Skip to main content
Glama

elaichi__template__update

Update a template’s name or description (not entries — use template.set_entries). MERGE: fields you omit keep their current values. description takes a string, or null to clear it; any other type is rejected rather than silently wiping the field. Returns the updated { template, entries } detail — the same NESTED shape template.get returns, so the name is result.template.name, never result.name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTemplate id (`tpl_…`) from template.list.
nameNoNew name. Omit to leave unchanged.
descriptionNoNew description; null clears it. Omit to leave unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only indicate this is non-read-only and non-idempotent; the description adds substantial behavior: omitted fields keep their values, null clears description, non-string descriptions are rejected rather than silently wiping, and the return value is nested. This goes well beyond the structured annotations.

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?

Three sentences, each carrying essential information: scope, merge/validation behavior, and return shape. The most important distinction is front-loaded, and there is no filler.

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 mutation tool with no output schema, the description fully compensates by specifying the nested return shape and how to read it (result.template.name). It also covers validation behavior and the sibling alternative, so nothing critical is left unexplained.

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% and already documents each parameter's type and basic behavior. The description adds extra meaning by clarifying merge semantics, null-clearing, and the rejection of unexpected types rather than silent data loss, which earns it above the baseline.

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 states the exact action — updating a template's name or description — and explicitly excludes entries, which distinguishes it from the template.set_entries sibling. The verb and resource are specific and unambiguous.

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 explicitly names the alternative when entries are involved ('not entries — use template.set_entries'), and explains the merge behavior for omitted fields. An agent can decide when to use this tool without inference.

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