Skip to main content
Glama

Get Test Config

getTestConfig
Read-onlyIdempotent

Get a single saved standard (scripted) test config by ID: name, description, phoneNumber, language, type and its steps (each step has a name, the action taken, the expected transcript and the pass threshold). Use when: you have a config ID (from listTestConfigs, or the configId key of an aggregateTestRuns group, or testConfigId on a run) and want its name or to explain what the test checks. For mission-test configs use getMissionTestConfig. Cross-workspace returns 404.

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": {
      "id": "<id>"
    },
    "name": "getTestConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTest config identifier.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
typeNo`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled at run-time (sweep / batch dispatchers supply them).
stepsYes
versionYesBumped on every update — clients can use for optimistic concurrency.
languageNoTranscription language the config's calls are transcribed in. Resolved to `en-GB` when the config was created without one, so every config created since the field existed carries a value; configs saved before it have none, which also means `en-GB`.
createdAtYes
createdByYesUser ID of the creator.
lineNoiseNoQuiet line noise (-60 dBFS) played under every call so the line is never digitally silent. Absent or `true` means on (the default); `false` turns it off for this config.
profileIdNoVoice / data profile for `standard` configs only. Omitted for `parameterized`.
updatedAtYes
scheduleIdNoSchedule that triggers automated runs (use `template:<id>` to create from a built-in template).
descriptionNo
phoneNumberYesE.164-formatted phone number the test calls.
workspaceIdYes
carrierRouteIdNoBring-your-own-carrier (invite-only). Dial this config's calls through one of the workspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's network. Carrier routes are set up with nopaque. A config with a route dials through it or not at all: if the route cannot be dialled when a run starts, the run is refused and the number is never called normally. A refused `POST /testing/runs` returns 409 (or 503); a scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a load test fails before it starts. Carrier calls are metered as `carrier_testing` (load tests: `carrier_load_testing`), not `testing`. Omitted when the config dials normally.
backgroundNoiseNoCaller background noise played under the call. Omit for none.
maxDurationSecsNoWhole-call ceiling in seconds. When omitted the tester applies its own default of 300. Every `hold` step's `durationSecs` must fit inside it.
patternSettingsNoLoad-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the platform defaults.
requiredParametersNoRequired parameter labels for `parameterized` configs only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / lineNoise
      Added value: +{
      +  "description": "Quiet line noise (-60 dBFS) played under every call so the line is never digitally\nsilent. Absent or `true` means on (the default); `false` turns it off for this config.\n",
      +  "example": false,
      +  "type": "boolean"
      +}
  2. Changed5 schema fields changed
    • addedOutput schema / properties / steps / items / allOf
      Added value: +[
      +  {
      +    "description": "One step within a scripted test config, as sent on create and update. The same fields as\nthe stored step (`TestStep`), except that `id` may be left out.\n\nOne step within a scripted test config. A `dtmf` / `audio` / `listen` step waits for an\nexpected transcript from the IVR, then optionally sends a DTMF digit or audio response.\n\nA `hold` step is different: it just stays on the line for `durationSecs` (for example\nwhile a call is transferred and hold music plays) and carries ONLY `id`, `name`, `type`,\n`durationSecs` and, optionally, `expectMusic`. `expected`, `threshold` and `timeout` do not apply to it and are\nabsent on a stored hold step.\n\nPer-type requirements: `dtmf` / `audio` / `listen` need `expected` (server defaults:\n`threshold` 90, `timeout` 30). `hold` needs `durationSecs`.\n",
      +    "properties": {
      +      "acceptAdditionalAnswers": {
      +        "description": "`dtmf` / `audio` / `listen` steps only, optional. When true the step also passes on any\nwording in `additionalAnswers` (each scored with its own threshold). Missing or false\nmeans off. Create and update return 400 for a non-boolean. Ignored on other step types.\n",
      +        "example": true,
      +        "type": "boolean"
      +      },
      +      "additionalAnswers": {
      +        "description": "`dtmf` / `audio` / `listen` steps only, optional. Other acceptable wordings of\n`expected`, used only when `acceptAdditionalAnswers` is true and kept when it is false.\nWhile on, the step waits up to the longest of its own `timeout` and the answers'\ntimeouts; a match on any wording ends the wait. At most 10. Create and update return 400\nfor an invalid entry. Ignored on other step types.\n",
      +        "items": {
      +          "description": "One other acceptable wording of a step's `expected` prompt.",
      +          "properties": {
      +            "expected": {
      +              "description": "The wording. Must contain non-space text.",
      +              "example": "Welcome to the NHS 111 service",
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "threshold": {
      +              "description": "Similarity percentage this wording needs. Defaults to the step's `threshold`.",
      +              "example": 75,
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "timeout": {
      +              "description": "Seconds this wording may take, counted from the start of the step. Defaults to the\nstep's `timeout`. It can lengthen the step's wait but never shorten it.\n",
      +              "example": 35,
      +              "minimum": 1,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "expected"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      },
      +      "audioUrl": {
      +        "description": "Audio URL when `type` is `audio` (manual entry; usually resolved via `profileItemId`).",
      +        "type": "string"
      +      },
      +      "delay": {
      +        "description": "Optional \"send DTMF anyway\" timer. If set, the action fires after this many seconds\neven if the threshold has not been met. Legacy field; prefer `timeout`.\n",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "dtmf": {
      +        "description": "DTMF digits to send when `type` is `dtmf` (manual entry; usually resolved via `profileItemId`).",
      +        "example": "1",
      +        "type": "string"
      +      },
      +      "durationSecs": {
      +        "description": "`hold` steps only (required there): seconds to stay on the line. A JSON number, fractions\nallowed, greater than 0 and at most 1800. It must also be no longer than the config's\n`maxDurationSecs` (300 when that is unset). That ceiling bounds the WHOLE call, not just\nthe hold, so this is necessary but not sufficient for the hold to complete. Create and\nupdate return 400 for a violation.\n",
      +        "example": 30,
      +        "exclusiveMinimum": 0,
      +        "maximum": 1800,
      +        "type": "number"
      +      },
      +      "expectMusic": {
      +        "description": "`hold` steps only, optional. When true the step fails unless at least half of the hold\nwas queue music (judged per second from the call audio): use it to prove a transfer\nreached a queue. Every hold reports what it heard in its result either way. Stored only\nwhen true. Create and update return 400 for a non-boolean.\n",
      +        "example": true,
      +        "type": "boolean"
      +      },
      +      "expected": {
      +        "description": "Expected transcript (or regex-like phrase) to match before the step succeeds.\nApplies to `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
      +        "example": "Press 1 for sales",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Step identifier. Optional when sending a step: the server generates one when it is\nleft out. On update, send a step's existing `id` to keep it the same step; a step sent\nwithout one is stored with a new `id`. Always present on a stored step.\n",
      +        "example": "<step-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "isTransfer": {
      +        "description": "Optional, any step type. Marks the script's transfer step, which load-test failure\npatterns use to tell \"not transferred\" from \"failed after transfer\". When no step is\nmarked, the first `hold` step with `expectMusic` is the transfer step. Stored only when\ntrue; at most one step may be marked. Create and update return 400 for a non-boolean or\nfor more than one marked step.\n",
      +        "example": true,
      +        "type": "boolean"
      +      },
      +      "name": {
      +        "description": "Human-readable step label.",
      +        "example": "Listen for main menu",
      +        "type": "string"
      +      },
      +      "profileItemId": {
      +        "description": "Profile item reference. Resolved server-side to the runtime DTMF / audio payload.",
      +        "type": "string"
      +      },
      +      "replyDelayMs": {
      +        "description": "`audio` steps only (optional): milliseconds to wait after the bot's end of turn before our\nclip plays. Omitted means no extra delay. Ignored on other step types.\n",
      +        "example": 1500,
      +        "maximum": 10000,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "threshold": {
      +        "default": 90,
      +        "description": "Similarity percentage required for the transcript match to succeed. Server default 90\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
      +        "example": 90,
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "timeout": {
      +        "description": "Maximum seconds to wait for the expected match before failing the step. Server default 30\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
      +        "example": 30,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "type": {
      +        "description": "Step action type — keypad input, audio response, passive listen, wait for an inbound\ncallback, or hold (stay on the line for `durationSecs`).\n",
      +        "enum": [
      +          "dtmf",
      +          "audio",
      +          "listen",
      +          "wait_for_callback",
      +          "hold"
      +        ],
      +        "example": "dtmf",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "id": {
      +        "description": "Step identifier. Always present on a stored step.",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / steps / items / description
      Previous value: -"One step within a scripted test config. A `dtmf` / `audio` / `listen` step waits for an\nexpected transcript from the IVR, then optionally sends a DTMF digit or audio response.\n\nA `hold` step is different: it just stays on the line for `durationSecs` (for example\nwhile a call is transferred and hold music plays) and carries ONLY `id`, `name`, `type`,\n`durationSecs` and, optionally, `expectMusic`. `expected`, `threshold` and `timeout` do not apply to it and are\nabsent on a stored hold step.\n\nPer-type requirements: `dtmf` / `audio` / `listen` need `expected` (server defaults:\n`threshold` 90, `timeout` 30). `hold` needs `durationSecs`.\n"New value: +"A step as stored and returned: a `TestStepInput` that always carries its `id`.\n"
    • removedOutput schema / properties / steps / items / properties
      Removed value: -{
      -  "acceptAdditionalAnswers": {
      -    "description": "`dtmf` / `audio` / `listen` steps only, optional. When true the step also passes on any\nwording in `additionalAnswers` (each scored with its own threshold). Missing or false\nmeans off. Create and update return 400 for a non-boolean. Ignored on other step types.\n",
      -    "example": true,
      -    "type": "boolean"
      -  },
      -  "additionalAnswers": {
      -    "description": "`dtmf` / `audio` / `listen` steps only, optional. Other acceptable wordings of\n`expected`, used only when `acceptAdditionalAnswers` is true and kept when it is false.\nWhile on, the step waits up to the longest of its own `timeout` and the answers'\ntimeouts; a match on any wording ends the wait. At most 10. Create and update return 400\nfor an invalid entry. Ignored on other step types.\n",
      -    "items": {
      -      "description": "One other acceptable wording of a step's `expected` prompt.",
      -      "properties": {
      -        "expected": {
      -          "description": "The wording. Must contain non-space text.",
      -          "example": "Welcome to the NHS 111 service",
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "threshold": {
      -          "description": "Similarity percentage this wording needs. Defaults to the step's `threshold`.",
      -          "example": 75,
      -          "maximum": 100,
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "timeout": {
      -          "description": "Seconds this wording may take, counted from the start of the step. Defaults to the\nstep's `timeout`. It can lengthen the step's wait but never shorten it.\n",
      -          "example": 35,
      -          "minimum": 1,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "expected"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 10,
      -    "type": "array"
      -  },
      -  "audioUrl": {
      -    "description": "Audio URL when `type` is `audio` (manual entry; usually resolved via `profileItemId`).",
      -    "type": "string"
      -  },
      -  "delay": {
      -    "description": "Optional \"send DTMF anyway\" timer. If set, the action fires after this many seconds\neven if the threshold has not been met. Legacy field; prefer `timeout`.\n",
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "dtmf": {
      -    "description": "DTMF digits to send when `type` is `dtmf` (manual entry; usually resolved via `profileItemId`).",
      -    "example": "1",
      -    "type": "string"
      -  },
      -  "durationSecs": {
      -    "description": "`hold` steps only (required there): seconds to stay on the line. A JSON number, fractions\nallowed, greater than 0 and at most 1800. It must also be no longer than the config's\n`maxDurationSecs` (300 when that is unset). That ceiling bounds the WHOLE call, not just\nthe hold, so this is necessary but not sufficient for the hold to complete. Create and\nupdate return 400 for a violation.\n",
      -    "example": 30,
      -    "exclusiveMinimum": 0,
      -    "maximum": 1800,
      -    "type": "number"
      -  },
      -  "expectMusic": {
      -    "description": "`hold` steps only, optional. When true the step fails unless at least half of the hold\nwas queue music (judged per second from the call audio): use it to prove a transfer\nreached a queue. Every hold reports what it heard in its result either way. Stored only\nwhen true. Create and update return 400 for a non-boolean.\n",
      -    "example": true,
      -    "type": "boolean"
      -  },
      -  "expected": {
      -    "description": "Expected transcript (or regex-like phrase) to match before the step succeeds.\nApplies to `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
      -    "example": "Press 1 for sales",
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "Step identifier (server-generated on create if omitted).",
      -    "example": "<step-id>",
      -    "format": "uuid",
      -    "type": "string"
      -  },
      -  "isTransfer": {
      -    "description": "Optional, any step type. Marks the script's transfer step, which load-test failure\npatterns use to tell \"not transferred\" from \"failed after transfer\". When no step is\nmarked, the first `hold` step with `expectMusic` is the transfer step. Stored only when\ntrue; at most one step may be marked. Create and update return 400 for a non-boolean or\nfor more than one marked step.\n",
      -    "example": true,
      -    "type": "boolean"
      -  },
      -  "name": {
      -    "description": "Human-readable step label.",
      -    "example": "Listen for main menu",
      -    "type": "string"
      -  },
      -  "profileItemId": {
      -    "description": "Profile item reference. Resolved server-side to the runtime DTMF / audio payload.",
      -    "type": "string"
      -  },
      -  "replyDelayMs": {
      -    "description": "`audio` steps only (optional): milliseconds to wait after the bot's end of turn before our\nclip plays. Omitted means no extra delay. Ignored on other step types.\n",
      -    "example": 1500,
      -    "maximum": 10000,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "threshold": {
      -    "default": 90,
      -    "description": "Similarity percentage required for the transcript match to succeed. Server default 90\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
      -    "example": 90,
      -    "maximum": 100,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "timeout": {
      -    "description": "Maximum seconds to wait for the expected match before failing the step. Server default 30\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
      -    "example": 30,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  "type": {
      -    "description": "Step action type — keypad input, audio response, passive listen, wait for an inbound\ncallback, or hold (stay on the line for `durationSecs`).\n",
      -    "enum": [
      -      "dtmf",
      -      "audio",
      -      "listen",
      -      "wait_for_callback",
      -      "hold"
      -    ],
      -    "example": "dtmf",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / steps / items / required
      Removed value: -[
      -  "id",
      -  "name",
      -  "type"
      -]
    • removedOutput schema / properties / steps / items / type
      Removed value: -"object"
  3. Changed2 schema fields changed
    • addedOutput schema / properties / steps / items / properties / acceptAdditionalAnswers
      Added value: +{
      +  "description": "`dtmf` / `audio` / `listen` steps only, optional. When true the step also passes on any\nwording in `additionalAnswers` (each scored with its own threshold). Missing or false\nmeans off. Create and update return 400 for a non-boolean. Ignored on other step types.\n",
      +  "example": true,
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / steps / items / properties / additionalAnswers
      Added value: +{
      +  "description": "`dtmf` / `audio` / `listen` steps only, optional. Other acceptable wordings of\n`expected`, used only when `acceptAdditionalAnswers` is true and kept when it is false.\nWhile on, the step waits up to the longest of its own `timeout` and the answers'\ntimeouts; a match on any wording ends the wait. At most 10. Create and update return 400\nfor an invalid entry. Ignored on other step types.\n",
      +  "items": {
      +    "description": "One other acceptable wording of a step's `expected` prompt.",
      +    "properties": {
      +      "expected": {
      +        "description": "The wording. Must contain non-space text.",
      +        "example": "Welcome to the NHS 111 service",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "threshold": {
      +        "description": "Similarity percentage this wording needs. Defaults to the step's `threshold`.",
      +        "example": 75,
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "timeout": {
      +        "description": "Seconds this wording may take, counted from the start of the step. Defaults to the\nstep's `timeout`. It can lengthen the step's wait but never shorten it.\n",
      +        "example": 35,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "expected"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the description's value-add is the 'Cross-workspace returns 404' failure behavior and the shape of returned step data. The field enumeration is partly duplicated by the output schema, keeping it just short of a 5.

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?

Front-loaded with purpose, then condition, then exclusion, with almost no filler. The parenthetical listing of every step field is slightly redundant against the output schema and makes one dense block, but nothing is truly wasted.

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 one-parameter read tool with full annotations and an output schema, this covers purpose, ID provenance, the sibling alternative and the one surprising failure mode (cross-workspace 404). An agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single UUID parameter, so the schema already defines the type; the description nonetheless adds real meaning by tracing where a valid ID comes from (listTestConfigs, the configId key of an aggregateTestRuns group, or testConfigId on a run).

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 ('Get a single saved standard (scripted) test config by ID') and enumerates the returned fields, which sharply differentiates it from listTestConfigs and the mission/digital/survey config getters named as siblings.

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?

Explicit 'Use when:' clause ties invocation to holding a config ID and wanting its name or an explanation of what the test checks, and it names the alternative ('For mission-test configs use getMissionTestConfig'), so the wrong-sibling choice is ruled out.

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.