Skip to main content
Glama

Create a Mission Test

createMissionTestConfig

Save a mission test: a number to call, a goal for the caller in plain words (mission), what counts as success (acceptance), a sector and a caller persona (profileId, from listProfiles or createProfile). Saves the test and places no call; run it with runMissionTest. Check it first with draftMissionTestConfig and fix every entry in problems. 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 call is described by what the caller wants and what should happen, rather than exact words at each step.

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>",
      "phoneNumber": "<phoneNumber>",
      "sector": "<sector>",
      "mission": "<mission>",
      "acceptance": "<acceptance>",
      "profileId": "<profileId>"
    },
    "name": "createMissionTestConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNoOptional, lowercase, dash-or-alphanumeric workspace-scoped tags. Up to 10. Use the listMissionTestConfigs ?tag= filter to find configs by tag (single-tag exact match).
sectorYes
missionYes
voiceIdNoTelnyx voice id for the call, from the operator-enabled catalogue (`GET /testing/voices`). Omit to use the configured default voice.
languageNoOptional language the call is held in. Omit for English, which is how every mission test has behaved to date. Use `multi` when the IVR may start in English and switch.
profileIdYes
acceptanceYes
descriptionNo
phoneNumberYes
advancedParamsNoOptional per-call turn-detection overrides. Omit to keep the server's env-var defaults, which is how every mission test has behaved to date.
carrierRouteIdNoBring-your-own-carrier (invite-only). Dial this config's runs 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 mission with a route dials through it or not at all: if the route cannot be dialled when the run starts, the run is refused and the number is never called normally. It is checked when the config is saved (400 when it cannot be dialled, 503 when it could not be looked up) and resolved again at every launch. Carrier calls are metered as `carrier_s2stest`, from answer, and count toward the trunk's daily minutes.
backgroundNoiseNoCaller background noise played under the call. Omit for none.
maxDurationSecsNoOptional per-call duration cap in seconds. Omit to use the server default for the mission kind (freeform 180s, compliance 90s).

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
tagsNoOptional, lowercase, dash-or-alphanumeric workspace-scoped tags. Up to 10. Use the listMissionTestConfigs ?tag= filter to find configs by tag (single-tag exact match).
sectorYes
missionYes
voiceIdNoTelnyx voice id for the call, from the operator-enabled catalogue (`GET /testing/voices`). Omit to use the configured default voice.
languageNoThe call language. Absent means English.
createdAtYes
createdByNoSet only on a config created by a sheet import (`POST /imports/{id}/commit`): the id of the person whose commit created it. Absent on configs created any other way.
profileIdYes
updatedAtYes
acceptanceYes
descriptionNo
phoneNumberYes
workspaceIdYes
advancedParamsNoOptional per-call turn-detection overrides. Absent means mission-tester keeps its env-var defaults.
carrierRouteIdNoBring-your-own-carrier (invite-only). Dial this config's runs 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 mission with a route dials through it or not at all: if the route cannot be dialled when the run starts, the run is refused and the number is never called normally. It is checked when the config is saved and resolved again at every launch. Carrier calls are metered as `carrier_s2stest`, from answer, and count toward the trunk's daily minutes.
backgroundNoiseNoCaller background noise played under the call. Omit for none.
maxDurationSecsNoOptional per-call duration cap in seconds. Omit to use the server default for the mission kind (freeform 180s, compliance 90s). Raise it for flows that collect a lot of data — a booking that needs name, date of birth, location and eligibility will not finish in 180s. Up to 1800 (30 minutes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare this as a non-read-only, non-destructive write. The description adds meaningful behavior beyond them: it saves the test without placing a call, recommends validating first with `draftMissionTestConfig` and fixing every entry in `problems`, prohibits inventing missing required values, and requires disclosing optional settings left at defaults.

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?

The description is front-loaded with the core action and resource, then layers in required-value handling and workflow guidance. Every sentence carries operational value: what to save, what not to do, how to validate, and when to use it. There is no filler.

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?

Given the tool's complexity, the description covers purpose, required inputs, validation workflow, missing-value policy, and optional-default disclosure. An output schema exists, so return values do not need explanation, and the schema itself richly documents most optional parameters.

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?

With only 50% schema description coverage across 14 parameters, the description usefully adds meaning for the core inputs: `mission` is the caller's goal in plain words, `acceptance` is what counts as success, and `profileId` comes from `listProfiles` or `createProfile`. It does not explain every optional parameter such as `carrierRouteId` or `advancedParams`, but the schema provides detailed descriptions for many of those.

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?

The description states a specific verb and resource ('Save a mission test') and enumerates the core content: a number to call, the caller goal in `mission`, success criteria in `acceptance`, a sector, and a caller persona in `profileId`. It also distinguishes the tool from siblings by naming `draftMissionTestConfig`, `runMissionTest`, `listProfiles`, and `createProfile`.

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?

It gives an explicit 'Use when' condition: a call described by what the caller wants and what should happen rather than exact words at each step. It also states the draft-first workflow and that saving places no call, directing execution to `runMissionTest`. The instruction to ask for missing required values rather than inventing them is clear usage 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.