Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

remove_template

Deletes a message template and all its language versions by name, enabling removal of obsolete templates from the 1msg Chat API.

Instructions

Delete a message template by name (all language versions of that name).

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.10
    • addedInput schema / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / payload
      Removed value: -{
      -  "additionalProperties": {},
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • addedInput schema / required
      Added value: +[
      +  "name"
      +]
  2. First observedv1.2.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does disclose an important non-obvious trait: the deletion cascades across every language version sharing that name, which is exactly the kind of blast-radius information an agent needs. It omits irreversibility, required permissions, and what happens when the name does not exist.

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?

One sentence, front-loaded with the action and resource, and the scoping caveat placed in a compact parenthetical. There is no filler and nothing the agent must read twice.

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 one-parameter mutation tool with no output schema, the definition covers the essential facts: what is deleted, how it is identified, and that the effect spans all language versions. Remaining gaps such as error behavior and reversibility are secondary for a tool this simple.

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% for the single `name` parameter, so the description is the only source of meaning. It tells the agent that `name` keys the template and that all language variants of that name are affected, which is genuinely useful scope information, but it never states the expected format or examples of a valid template name.

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 gives a specific verb ('Delete') and resource ('message template'), and names the keying parameter. Against siblings such as add_template, list_templates and send_template, an agent can immediately tell this is the destructive removal variant without inspecting any schema.

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?

Usage is implied by the verb rather than stated: there is no explicit guidance on when to prefer this over alternatives, no mention of prerequisites such as template existence or account permissions, and no warning about checking with list_templates first. The parenthetical clarifying that all language versions are removed does serve as one useful scoping note for prospective callers.

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