Skip to main content
Glama

Create a Chatbot Test

createDigitalTestConfig

Save a chatbot test on a saved connector (connectorId, from listDigitalConnectors or createDigitalConnector): what the customer wants (mission), what counts as success (acceptance) and, optionally, the exact messages to send in order (probes). Saves the test and sends nothing; run it with runDigitalTest. 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: what a chatbot does in a conversation is to be checked.

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>",
      "sector": "<sector>",
      "mission": "<mission>",
      "connectorId": "<connectorId>"
    },
    "name": "createDigitalTestConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNofreeform
nameYes
setupNo
stepsNo`standard` only.
probesNo
sectorYes
missionYes
profileNoTest data a `standard` run's steps draw on. The voice profile shape minus `voiceItems`.
samplesNoDefaults to 3 for the judged kinds and 1 for `standard`.
maxTurnsNo
profileIdNoReference to a saved profile (see `/profiles`) to draw test data from — the same mechanism voice tests use. Resolved at RUN time, so editing the profile updates every test that points at it rather than leaving stale copies behind. Takes precedence over an inline `profile`. A profile that resolves to no usable items is rejected with 400 rather than run with no data — a test that silently sent nothing would fail against a perfectly good bot and read as a product defect.
acceptanceNoRequired for `kind: freeform`.
connectorIdYesThe connector this test runs against. Resolved at LAUNCH time, so editing a connector updates every test pointing at it.
descriptionNo
failConditionsNo
passConditionsNo
catalogueTestIdNoRequired for `kind: compliance`.
profileSnapshotNo
additionalContextNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-readonly, non-destructive, non-idempotent, and closed-world, so the safety profile is partly covered. The description adds genuinely useful behavior beyond that: creation persists only and sends no traffic, and execution is a separate call. The prompt-hygiene instruction (ask rather than invent required values) is a rare and valuable behavioral disclosure. Idempotency semantics — e.g., whether re-saving with the same name duplicates — are not addressed.

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?

The core action is front-loaded in the first clause, followed by parameter glosses, then the run-it-elsewhere pointer, then usage. Every sentence does work. Minor drag from the parenthetical '(the phone number, what should be heard, what counts as success)', which reads as voice-test boilerplate and does not map cleanly onto a chat test's parameters.

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?

An output schema exists and annotations are present, so much of the structural burden is offloaded. But for a 19-parameter tool with a nested discriminated-union steps array, the description never explains the kind axis (freeform/compliance/standard) that governs which fields matter, and it covers only a fifth of the parameters. Adequate to start the call, insufficient to use the tool with confidence across its modes.

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?

With 19 parameters and only 37% schema description coverage, the description carries real burden, and it explains just four of them (connectorId provenance, mission, acceptance, probes). It adds no meaning for kind, steps, profile, samples, maxTurns, passConditions, failConditions, or catalogueTestId. The blanket instruction to 'say which optional settings are being left at their defaults' signals awareness of defaults without explaining any of them.

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?

States a specific verb and resource — 'Save a chatbot test on a saved connector' — and enumerates the semantic payload (mission, acceptance, optional probes). It also distinguishes the create phase from execution by saying 'Saves the test and sends nothing; run it with runDigitalTest.' It stops short of distinguishing this from the other create*TestConfig siblings, which the description never mentions.

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?

Provides an explicit trigger ('Use when: what a chatbot does in a conversation is to be checked') and points to runDigitalTest as the follow-on action. It also gives agent-facing procedural guidance about prompting for missing required values and disclosing defaulted optional settings. No exclusion against createTestConfig / createMissionTestConfig is stated, so an agent must infer which create variant applies.

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.