Skip to main content
Glama

msgsms__DeleteTemplate

Deletes an existing SMS message template by template ID and project ID, removing unused or obsolete templates from Huawei Cloud MSGSMS.

Instructions

[MSGSMS] 该接口用于用户删除已创建的模板信息。

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>",
      "project_id": "<project_id>"
    },
    "name": "msgsms__DeleteTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes模板ID
project_idYes项目ID。获取方法请参见 [获取帐号、用户、项目的名称和ID](https://support.huaweicloud.com/api-msgsms/sms_05_0020.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden. It says 'delete' but does not state that the operation is destructive and irreversible, whether the deletion is hard or soft, whether dependent data (signatures, variables) is affected, or what permissions are required.

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?

A single short sentence that is front-loaded with the action, with no filler. The bracketed '[MSGSMS]' prefix is mild noise but harmless, and the sentence would be better used to convey the irreversibility warning.

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?

This is a simple two-parameter delete whose parameters are fully documented in the schema, so the minimum information needed to call it exists. However, with no annotations and no output schema, the destructive nature and the result of the call are left entirely unstated.

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% – both id and project_id are documented in English/Chinese with length constraints, a pattern, and a link for obtaining the project id. The description adds no meaning beyond the schema, so the baseline 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 states a specific verb (delete) and resource (an already-created SMS template), so an agent can tell what the tool does at a glance. It does not differentiate from sibling delete tools (e.g. msgsms__DeleteSignature) or from msgsms__ShowTemplate/UpdateTemplate, so it stops short of a 5.

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 guidance on when to choose this tool versus the other template tools, and no preconditions such as needing a valid template id or ownership of the template. The only implicit cue is 'created' templates, which is too weak to route an agent reliably.

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