Skip to main content
Glama

Chat with a chatbot

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. Also accepts an OAuth access token with scope assistant:write.

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": {
      "botId": "<botId>",
      "message": "<message>"
    },
    "name": "smartwebchat_chat"
  }
}

Input 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.3/5.0
Behavior5/5

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

Beyond the annotations it discloses the consequential behavior an agent needs: the call records a conversation, consumes the account's message quota, requires a full-access key, returns 403 for read-only keys, and accepts an OAuth token with assistant:write scope. These auth and cost side effects are the high-value details annotations alone do not convey.

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 sentences, front-loaded with the core action, then the usage rationale, then the permission and quota constraints. No sentence is redundant and nothing is buried.

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?

No output schema exists, and the description covers the essentials for a stateful, quota-consuming write-ish call: return behavior in visitor-visible terms, session continuation via schema, quota consumption, and exact auth requirements. There is little an agent would need to know before calling it that 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 description coverage is 100%, so botId, message, and sessionId are all documented in the schema itself, including the max-length bound and session continuation. The description adds no further meaning such as message formatting rules or session lifetime; baseline 3 applies.

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 states a specific verb and resource ("Send a visitor message to a chatbot and get its reply") and clarifies the framing ("exactly as a website visitor would see it"). It is clear what the tool does but never explicitly distinguishes itself from siblings such as smartwebchat_prepare_handoff or smartwebchat_diagnose.

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?

It gives concrete when-to-use guidance: testing how the chatbot answers, or checking whether its knowledge base covers a topic. There are no explicit when-not conditions or named alternatives, so it stops short of full routing guidance.

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