Skip to main content
Glama

update_template_api_email_templates__template_id__put

Update Template

Edit a template's subject, body, or name.

Responses:

200: Successful Response (Success Response) Content-Type: application/json

Example Response:

{
  "id": "Id",
  "name": "Name",
  "subject": "Subject",
  "body": "Body",
  "usage_count": 1,
  "reply_count": 1,
  "reply_rate": 1.0
}

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": "update_template_api_email_templates__template_id__put"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
nameNo
subjectNo
template_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the return shape via an example payload (id, name, subject, body, usage_count, reply_count, reply_rate), which is real added value since no output schema exists, but it omits partial-update semantics (only template_id is required, so what happens to omitted fields?), permissions/ownership requirements, and which errors occur for an unknown template_id.

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 one-line purpose is front-loaded and the response example earns its space because no output schema exists. Minor redundancy between the 'Update Template' heading and the sentence that follows, plus auto-generated boilerplate around the response block.

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?

The response example partially compensates for the missing output schema and annotations. Still, for a mutation tool with 0% parameter documentation, the missing guidance on partial updates and on what a call cannot do leaves a material gap.

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 0%, so the description must compensate. It names three of the four parameters (subject, body, name) as the editable fields, but never explains template_id, all-optional nullability, or that supplying a subset performs a partial update.

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?

States a specific verb and resource ('Edit a template's subject, body, or name') so the agent knows it mutates an existing email template. It does not differentiate itself from nearby siblings such as regenerate_templates or list_templates, but the purpose itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to use this versus regenerate_templates (bulk regeneration) or list_templates, nor any prerequisite about the template already existing. Usage is only inferable from the word 'Edit'.

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