Skip to main content
Glama

update_template

Update a template's name and/or fields (partial update — omit unchanged fields)

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": {
      "id": "<id>"
    },
    "name": "update_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameNo
envIdNoEnvironment the content lives in — defaults to the org's production environment
fieldsNo
titleFieldNoKey of a text field to use as each entry's display title; pass null to clear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only PATCH-style semantics; it does not say whether the `fields` array replaces the template's entire field set (a potentially destructive consequence), whether existing entries are affected, what permissions are needed, or what is returned.

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?

One compact sentence with the resource and the partial-update constraint front-loaded, and the parenthetical earns its place by encoding the calling convention. It is arguably too terse rather than padded, but there is no wasted wording.

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

Completeness3/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 annotations, no output schema and a deeply nested `fields` array, the description is thinner than ideal — the replace-vs-merge question for `fields` is the single most consequential unknown and is left unanswered. It does at least establish that this is a partial update keyed by `id`, which is the minimum an agent needs to attempt a call.

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 only 40%, so the description must compensate and does not. It names `name` and `fields` but adds no meaning about the nested field objects, and says nothing at all about `envId` or `titleField` (including the null-to-clear convention), leaving the agent to read the schema unaided.

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?

The description states a specific verb and resource ("Update a template's name and/or fields") and scopes it to the updatable attributes, which cleanly separates it from create_template, delete_template and get_template. It does not need to differentiate against update_entry or update_mdx_component since the resource noun already does that work, but it stops short of noting any sibling relationship explicitly.

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?

"partial update — omit unchanged fields" gives an implied calling convention: send only what changes. There is no statement of when to prefer this over create_template (e.g. to add a field) or when not to use it, and no prerequisites such as required permissions are mentioned.

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