Skip to main content
Glama

Create a Chatbot Connector

createDigitalConnector

Save a chatbot connector: where a chat channel is and how to reach it. For a chat widget on a web page that is the page address. Other kinds need a credential from the chat provider: do not ask a person to paste a secret into a conversation; those kinds are added in the web app. Saves the connector and contacts nothing. If a required value was not given (the phone number, what should be heard, what counts as success), ask for it; do not invent one. Say which optional settings are being left at their defaults. Use when: a chatbot is to be tested and listDigitalConnectors shows no connector for it.

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>",
      "type": "<type>",
      "targetRef": "<targetRef>",
      "config": "<config>"
    },
    "name": "createDigitalConnector"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
typeYesImmutable after creation — determines every field in `config`.
configYesThe target object minus `transport`. Validated against the schema for `type` — see `GET /digital-testing/connector-types` for the fields each type accepts.
targetRefYesImmutable after creation — the stable key compliance reports aggregate on. Renaming a connector must never split its report history.
descriptionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-open-world write, and the description adds real behavioral context: 'Saves the connector and contacts nothing', plus the credential-handling restriction. It does not address what happens when a connector with the same name/key already exists, which matters given idempotentHint=false.

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?

Dense but front-loaded: the purpose leads, then the credential limitation, then the usage condition. Every sentence carries an operational instruction, though the middle sentences read as a run-on list of caveats rather than a cleanly structured sequence.

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 5-parameter creation tool with a nested object and an output schema, the description covers the critical agent decisions: no network contact, credentials not accepted here, do not invent required values, disclose defaults. The remaining gap is duplicate/existing-connector behavior, which is not addressed anywhere.

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 60%, so the schema already carries most field meaning, and the description does not name any of the five parameters directly. It adds value indirectly by explaining that connector type dictates the config shape and which values must be asked for rather than invented ('the phone number, what should be heard, what counts as success'), but no parameter is clarified beyond the schema.

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 and resource ('Save a chatbot connector') and immediately defines what the resource is: 'where a chat channel is and how to reach it.' It also differentiates scope from the sibling `listDigitalConnectors`, so an agent can tell what this tool does without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit use condition ('a chatbot is to be tested and listDigitalConnectors shows no connector for it') that both names the sibling and the state that selects this tool. It also supplies a when-not rule for credential-bearing connector kinds that must be added in the web app, which is exactly the kind of exclusion that prevents misuse.

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.