Skip to main content
Glama

msgsms__CreateTemplate

Creates an SMS message template with its name, content, type, and application ID, enabling reusable text definitions for Huawei Cloud message delivery.

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": {
      "app_id": "<app_id>",
      "project_id": "<project_id>",
      "region": "<region>",
      "template_content": "<template_content>",
      "template_name": "<template_name>",
      "template_type": "<template_type>"
    },
    "name": "msgsms__CreateTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes应用主键ID
regionYes地域
sign_idNo签名主键ID,只有地域为国内时,该字段有效
bracketsNo中括号类型。支持枚举值:
project_idYes项目ID。获取方法请参见 [获取帐号、用户、项目的名称和ID](https://support.huaweicloud.com/api-msgsms/sms_05_0020.html)。
flow_statusNo流程状态
send_countryNo发送国家id列表,只有地域为国际时,该字段有效
template_descNo模板描述
template_nameYes模板名称
template_typeYes模板类型。只有地域为国内时,该字段有效。支持枚举值:
template_contentYes模板内容
universal_templateNo是否为通用模板
variable_attributesNo模板参数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare create action. It does not explain permissions, side effects, validation behavior, idempotency, versioning, or what happens to required parameters like app_id and template_content.

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 description is a single short sentence with no redundant wording and the action is front-loaded. It is concise, though its brevity reflects under-specification rather than efficient information design.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 13 parameters, 6 required fields, no annotations, and no output schema, making it a complex create operation. A one-line tautological description is inadequate for conveying when and how to invoke it, even though the input schema is well described.

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 all 13 parameters are documented in the input schema itself. The description adds no parameter meaning or usage context, which is the baseline expectation when the schema already does this work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description only says the API is used to create a template, which essentially restates the tool name msgsms__CreateTemplate. It does not clarify what kind of template, its scope, or how it differs from sibling template operations beyond the obvious create/read/update/delete distinction.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as UpdateTemplate or ShowTemplate. The agent is left to infer the appropriate context entirely from the tool name and schema.

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