Skip to main content
Glama
FirstReply MCP Server

FirstReply MCP Server

Official
by FirstReply

Template Update

template_update

Updates an existing reply template by changing only the fields you specify, including name, plain text, HTML, language, or parent variant.

Instructions

Update a reply template. Only provide fields to change.

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": {
      "organizationId": "<organizationId>",
      "templateId": "<templateId>"
    },
    "name": "template_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoNew HTML; defaults to the new plain text when only that is given.
nameNoNew name.
plainNoNew plain text.
languageNoTwo-letter language code of the text.
parentIdNoId of the template this one is a language variant of.
templateIdYesThe template id (see template_list).
organizationIdYesThe organization id. Use organization_list to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is carried by structured data. The description adds the meaningful behavioral detail that unmentioned fields are left untouched, but says nothing about what happens with an invalid templateId, concurrent edits, or whether sending only `plain` regenerates HTML (that only appears in the schema).

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?

Two short sentences, front-loaded with the action, with no filler. It is efficient, though the second sentence could have carried a bit more operational detail at no real length cost.

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?

With 7 parameters, 2 required, full schema coverage and annotations, the essentials for calling the tool are present. Gaps remain around language-variant semantics (language + parentId) and error behavior, which matter for a mutation tool with no output schema to fall back on.

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 each of the 7 parameters is already documented, including the html-defaults-from-plain behavior and the template_list/organization_list pointers. The description only reinforces optionality with "only provide fields to change" and adds no new per-parameter meaning, so the baseline of 3 applies.

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 gives a specific verb and resource ("Update a reply template"), which is enough to distinguish it from template_create, template_get, template_delete and template_list by intent. It stops short of naming those siblings or clarifying scope beyond the mutation verb.

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?

"Only provide fields to change" communicates the partial-update contract, which is real usage guidance for a PATCH-style tool. There is no statement of when to prefer this over template_create (e.g., creating a language variant) or any prerequisites such as required permissions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools