Skip to main content
Glama

Create chatbot

smartwebchat_create_chatbot

Create a new website chatbot for a business, including its greeting, personality and initial FAQ knowledge. Writes to the account: confirm the business details with the user before calling. 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": {
      "name": "<name>",
      "businessName": "<businessName>",
      "industry": "<industry>"
    },
    "name": "smartwebchat_create_chatbot"
  }
}

Input Schema

NameRequiredDescriptionDefault
faqsNoQuestion and answer pairs the chatbot should know from the start
nameYesDisplay name of the chatbot
greetingNoFirst message the chatbot sends to a visitor
industryYesIndustry of the business, e.g. 'Arztpraxis', 'Restaurant', 'Handwerk'. Used verbatim in the chatbot's prompt, so keep the user's own wording and language.
websiteUrlNoURL of the website the chatbot will run on
descriptionNoWhat the business does — background knowledge for the chatbot
personalityNoTone of voice. The values are German and go to the API verbatim: 'freundlich' (friendly), 'professionell' (professional), 'locker' (casual).
businessNameYesName of the business the chatbot speaks for
idempotencyKeyNoOptional. A unique string you choose for this one creation (1-128 characters: letters, digits, '_' or '-'). If the call is retried with the same key, the account returns the chatbot created the first time (for 24 hours) instead of creating a second one. Use a new key for each new chatbot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Optional. A unique string you choose for this one creation (1-128 characters: letters, digits, '_' or '-'). If the call is retried with the same key, the account returns the chatbot created the first time instead of creating a second one. Use a new key for each new chatbot."New value: +"Optional. A unique string you choose for this one creation (1-128 characters: letters, digits, '_' or '-'). If the call is retried with the same key, the account returns the chatbot created the first time (for 24 hours) instead of creating a second one. Use a new key for each new chatbot."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the write side effect ("Writes to the account"), the exact auth requirements (full-access key required, read-only key returns 403 here, OAuth token needs assistant:write scope), and the human-confirmation step. Annotations only say readOnlyHint=false and openWorldHint=true; the description supplies the failure modes and credential constraints an agent needs before invoking.

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?

Four short sentences, each doing distinct work: purpose, side effect plus confirmation rule, then credential requirements. Mutation and safety information is front-loaded before the auth details, and there is no redundant 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 9-parameter creation tool with no output schema, the description covers side effects, auth, and preconditions thoroughly. The one notable gap is that it never indicates what comes back (e.g. the new chatbot's identifier), which an agent would need to chain into subsequent update or chat calls.

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%, including detailed field descriptions for industry, personality enum values, and idempotencyKey, so the schema carries the parameter burden. The description only loosely maps the creatable inputs ("greeting, personality and initial FAQ knowledge") without adding syntax or format meaning beyond that. Baseline 3 is appropriate here.

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?

Opens with a specific verb and resource ("Create a new website chatbot for a business") and immediately scopes what is created: greeting, personality, and initial FAQ knowledge. This is distinguishable from read-oriented siblings like list_chatbots or get_fit 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?

Gives a concrete precondition for calling: "confirm the business details with the user before calling," which is a real usage rule rather than a restatement. It lacks an explicit when-not or a named alternative sibling (e.g. for modifying an existing bot), so it falls 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