Skip to main content
Glama

smartwebchat_chat

Send a visitor message to a chatbot and get its reply, exactly as a website visitor would see it. Use this to test how the chatbot answers, or to check whether its knowledge base covers a topic. Records a conversation and uses the account's message quota, so it needs a key with full access; a read-only key gets 403 here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botIdYesID of the chatbot, taken from smartwebchat_list_chatbots
messageYesThe visitor message to send (max. 2000 characters)
sessionIdNoOptional: pass the same session ID again to continue an existing conversation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description fully carries the behavioral burden: it discloses that a conversation is recorded, that the account's message quota is consumed, that a full-access key is required, and that a read-only key yields a 403. This is exactly the side-effect and auth context an agent needs before calling a write-ish operation.

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?

Three tightly written sentences, front-loaded with the core action, then usage context, then constraints and side effects. No filler and nothing repeated.

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

Completeness5/5

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

For a tool with no annotations and no output schema, the description covers purpose, use cases, side effects (recorded conversation, quota consumption), and auth failure mode. Nothing material to correct invocation is missing.

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 coverage is 100%, so botId, message, and sessionId are already documented in the schema, including the session-continuation behavior. The description adds no syntax or format detail 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.

Purpose5/5

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

States a specific verb ('Send a visitor message') and resource ('to a chatbot and get its reply'), with the scope framed as the visitor's perspective. It is clearly distinguishable from siblings like smartwebchat_list_chatbots or smartwebchat_create_chatbot without opening any schema.

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?

Explicitly states when to use it: to test how the chatbot answers or to check whether its knowledge base covers a topic. It gives no named alternatives or exclusions, but the intended context is unambiguous.

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