Skip to main content
Glama

删除业务消息协议模板

mqtt_template_remove

Deletes a defined MQTT business message template by name, so you can remove reusable templates that are no longer needed.

Instructions

删除一个已定义的业务协议模板。

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

Input Schema

NameRequiredDescriptionDefault
nameYes模板名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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 behavioral burden, and it discloses almost nothing beyond "delete." It does not say whether the deletion is permanent, whether in-use templates can be removed, what happens if the name is unknown, 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?

The description is one short, front-loaded sentence with no filler. It is efficient, though its brevity comes at the cost of the missing detail noted above, so it is not a 5.

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?

For a destructive operation with no annotations and no output schema, the description should say what gets removed, whether the change is reversible, and what the agent should expect on failure. None of that is present, so it is not complete enough for an agent to call the tool confidently.

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?

There is a single required parameter, name, and schema description coverage is 100%, so the schema already documents it fully. The description adds no extra meaning, such as whether the name is case-sensitive or whether an exact match is required, so the baseline of 3 applies.

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

Purpose3/5

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

The description states a verb (delete) and a resource (business protocol template), which is more than a bare restatement of the name, but it adds no scope detail and no differentiation from siblings such as mqtt_template_save or mqtt_templates. An agent can guess the purpose, yet nothing in the text confirms how this differs from other template operations.

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 use this tool versus mqtt_template_save or mqtt_templates, and no statement of preconditions such as the template existing or not being in active use. The agent must infer all of this from the name alone.

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