Skip to main content
Glama

Kite Discord Bot Builder

Update message template

update_message
Destructive

Changes the name, description or content of a message template. data replaces the whole message, so start from get_message. Keep the flow_source_id of existing buttons and select menus, or their flows are deleted.

Input Schema

NameRequiredDescriptionDefault
dataNoThe message like Discord's API takes it: content, embeds, components and flags.
nameNo
app_idYesThe ID of the app, from list_apps.
versionNoThe version from get_message, so the update fails instead of overwriting changes made since you read it.
message_idYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description earns its keep by explaining the mechanism of destruction: data is a full replacement, and dropping the flow_source_id of existing buttons or select menus deletes their flows. That is exactly the kind of consequence an annotation cannot convey. It does not discuss permissions, reversibility, or recovery after a bad write.

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?

Two dense sentences, front-loaded with the operation, followed by the replacement warning and the concrete pitfall. No restated name/title, no filler.

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

Completeness4/5

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

For a 6-parameter mutation tool with a nested free-form object, no output schema, and intermediate schema coverage, the description supplies the prerequisite read step and the highest-risk side effect. Minor gaps: whether omitted fields are left unchanged versus cleared, and what a version conflict returns (the latter is partly handled by the version parameter's schema text).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, and the description compensates by mapping 'name, description or content' to the name/description/data parameters and by adding a nested-object constraint on data ('keep the flow_source_id of existing buttons and select menus') that the schema leaves completely open. message_id and the partial-update semantics of optional fields remain unaddressed.

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?

States a concrete verb and resource ('Changes the name, description or content of a message template') and enumerates the mutable fields, so the agent knows exactly what is modified. It is clearly distinct from create_message/get_message by implication, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit workflow guidance: 'data replaces the whole message, so start from get_message.' That is a real when-to-use rule that routes the agent to a prerequisite tool. It lacks an explicit when-not-to-use clause (e.g. prefer create_message / edit_flow), so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.