Skip to main content
Glama

Add suggested message

add_suggested_message

Add a suggested message (a clickable prompt shown to visitors). For type "ai" (default) provide a prompt - the message sent when clicked. For redirect/email types provide an action (a URL or email address).

Input Schema

NameRequiredDescriptionDefault
nameYesThe button label shown to visitors (max 100), e.g. "Pricing Plans".
typeNoai (default), redirect, email, intercom, follow_up, follow_up_link, follow_up_email, escalate.
actionNoA URL or email (max 200). Required for type redirect, email, follow_up_link, follow_up_email.
promptNoThe message sent when clicked (max 200). Required for type ai and follow_up.
chatbot_idYesThe chatbot id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a write operation (readOnlyHint=false), non-destructive, and closed-world, so the safety profile is covered without description help. The description adds the type-dependent field requirements, but says nothing about permissions, limits on number of messages, or what is returned on success.

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?

Two compact sentences, front-loaded with the purpose and then the conditional field rules. No wasted words, though the second sentence duplicates what the schema already states about type-dependent requirements.

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?

With no output schema, the description doesn't hint at what a successful add returns. It also covers only three of the nine enumerated types (ai, redirect, email) and leaves intercom, follow_up*, and escalate behavior unexplained, which is a meaningful gap for an agent choosing parameters.

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 every parameter is already documented in the schema (including the required-when-type conditions). The description largely restates those same type-to-field mappings and adds only the 'ai is default' detail, so the baseline of 3 is appropriate.

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 gives a specific verb+resource (add a suggested message) and parenthetically defines what the resource is ('a clickable prompt shown to visitors'), which an agent can't get from the name alone. It doesn't explicitly name or contrast with the sibling tools (list_suggested_messages, update_suggested_message, remove_suggested_message), but the create semantics are unambiguous.

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?

It provides conditional guidance keyed on the 'type' value (ai vs redirect/email), which is genuinely useful for filling the form. However, it gives no when-to-use/when-not guidance relative to siblings and no prerequisites or conditions under which adding a suggested message is appropriate.

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.

Resources