Skip to main content
Glama

Draft Mission Test Config

draftMissionTestConfig
Read-onlyIdempotent

Check a NEW mission-test config without saving it. Takes the same fields as creating one (name, phoneNumber in E.164, sector, mission, acceptance, profileId, optional description, tags, maxDurationSecs, voiceId, backgroundNoise (caller background noise: cafe, street, home or wind; absent means none), advancedParams, language (the call language: en, multi, es, fr, de, it, pt, nl, hi, ru or ja; absent means English); profileId is a caller persona id from listProfiles) and returns the config as it would be stored plus problems: every failed check at once (invalid fields, a phone number the dial policy blocks, a caller persona that no longer exists). Nothing is saved or changed, so it is safe to call repeatedly. Use when: the user wants to set up a new test and you want to check it before they save it. Saving is a separate step the user takes in the app.

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": "draftMissionTestConfig"
  }
}

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
scheduleIdNoRun this mission test on a schedule. Pass a schedule id from the same workspace, or `template:<template-id>` to create a schedule from a built-in template; the response's `scheduleId` is then the new schedule's id, not the template id. If the schedule cannot be attached the config is still saved, without a schedule.
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
configYesThe config as it would be stored, without `id`, `workspaceId` or timestamps. A field that passed its check is shown as it would be stored (tags normalised); one that failed is left as sent; one that was not sent is left out.
problemsYesEvery check that failed. Empty when the config could be saved as sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / scheduleId
      Added value: +{
      +  "description": "Run this mission test on a schedule. Pass a schedule id from the same workspace, or\n`template:<template-id>` to create a schedule from a built-in template; the response's\n`scheduleId` is then the new schedule's id, not the template id. If the schedule cannot\nbe attached the config is still saved, without a schedule.\n",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / advancedParams / allOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Optional advanced turn-detection overrides for a single mission test.\nMirrors `api/packages/schemas/entities/missionAdvancedParams.ts` (Zod).\nAll-or-nothing: every field is required when this object is present —\nthis is what makes it safe for the values to be sent to Telnyx as a\nsingle per-call block regardless of whether Telnyx merges into or\nreplaces the stored assistant's turn-detection settings. Omit the\nobject entirely to keep the server's env-var defaults.\n",
      -    "example": {
      -      "eagerEotThreshold": 0.3,
      -      "eotThreshold": 0.7,
      -      "eotTimeoutMs": 5000
      -    },
      -    "properties": {
      -      "eagerEotThreshold": {
      -        "description": "Lets the assistant start preparing a reply before it is sure the\nother side has finished (0.3-0.9). It does not make the assistant\nwait longer; `eotThreshold` does. Equal to `eotThreshold` switches\nearly preparation off.\n",
      -        "example": 0.3,
      -        "maximum": 0.9,
      -        "minimum": 0.3,
      -        "type": "number"
      -      },
      -      "eotThreshold": {
      -        "description": "The main control: how confident the assistant must be that the\nother side has finished speaking before it replies (0.5-0.9). 0.9\nwaits longest and interrupts least; 0.5 replies at almost any pause.\n",
      -        "example": 0.7,
      -        "maximum": 0.9,
      -        "minimum": 0.5,
      -        "type": "number"
      -      },
      -      "eotTimeoutMs": {
      -        "description": "The longest the assistant sits through silence, in milliseconds,\nbefore replying anyway. A ceiling, not a minimum wait: raising it\ndoes not stop interruptions.\n",
      -        "example": 5000,
      -        "maximum": 10000,
      -        "minimum": 1000,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "eagerEotThreshold",
      -      "eotThreshold",
      -      "eotTimeoutMs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Optional advanced turn-detection overrides for a single mission test.\nMirrors `api/packages/schemas/entities/missionAdvancedParams.ts` (Zod).\nAll-or-nothing: every field is required when this object is present —\nthis is what makes it safe for the values to be sent to Telnyx as a\nsingle per-call block regardless of whether Telnyx merges into or\nreplaces the stored assistant's turn-detection settings. Omit the\nobject entirely to keep the server's env-var defaults.\n",
      +    "example": {
      +      "eagerEotThreshold": 0.9,
      +      "eotThreshold": 0.9,
      +      "eotTimeoutMs": 5000
      +    },
      +    "properties": {
      +      "eagerEotThreshold": {
      +        "description": "Lets the assistant start preparing a reply before it is sure the\nother side has finished (0.3-0.9). It does not make the assistant\nwait longer; `eotThreshold` does. Equal to `eotThreshold` switches\nearly preparation off.\n",
      +        "example": 0.9,
      +        "maximum": 0.9,
      +        "minimum": 0.3,
      +        "type": "number"
      +      },
      +      "eotThreshold": {
      +        "description": "The main control: how confident the assistant must be that the\nother side has finished speaking before it replies (0.5-0.9). 0.9\nwaits longest and interrupts least; 0.5 replies at almost any pause.\n",
      +        "example": 0.9,
      +        "maximum": 0.9,
      +        "minimum": 0.5,
      +        "type": "number"
      +      },
      +      "eotTimeoutMs": {
      +        "description": "The longest the assistant sits through silence, in milliseconds,\nbefore replying anyway. A ceiling, not a minimum wait: raising it\ndoes not stop interruptions.\n",
      +        "example": 5000,
      +        "maximum": 10000,
      +        "minimum": 1000,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "eagerEotThreshold",
      +      "eotThreshold",
      +      "eotTimeoutMs"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint true and destructiveHint false, but the description adds what those hints don't: that the call returns the projected stored config AND a `problems` array aggregating every failed check at once (invalid fields, dial-policy-blocked number, deleted persona), and that repeat calls are safe. This is exactly the failure-model context an agent needs to interpret a result instead of guessing.

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 critical facts are front-loaded in the first two sentences and the whole thing is one tight paragraph with no filler. It is dense, though: the long nested parenthetical enumerating every field partly restates the schema rather than adding meaning, which costs a little readability.

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 15-parameter tool with rich annotations and an output schema, the description covers the workflow placement, the no-side-effects guarantee, and the shape of failure reporting, so an agent can call it confidently. The gap is that the two least intuitive parameters (scheduleId, carrierRouteId) are left entirely to their schema text, which an agent skimming the description may not connect to a 'nothing is saved' draft.

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 schema coverage at only 53%, the description compensates well: it names the required set, specifies phoneNumber as E.164, identifies profileId as a caller persona id sourced from listProfiles, and gives runtime meaning for backgroundNoise (cafe/street/home/wind, absent = none) and language (en/multi/es/fr/de/it/pt/nl/hi/ru/ja, absent = English). It is silent on scheduleId and carrierRouteId, both of which carry non-obvious semantics even in a draft (template resolution, route dialability), so it stops short of full coverage.

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 with a scope qualifier: 'Check a NEW mission-test config without saving it.' The 'NEW' emphasis plus 'returns the config as it would be stored plus problems' clearly separates it from the change-draft and create siblings without opening their schemas.

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 an explicit when-to-use clause ('the user wants to set up a new test and you want to check it before they save it') and a clear when-not signal ('Saving is a separate step the user takes in the app'), which routes the agent to createMissionTestConfig for the actual write. It never names the alternative tools (createMissionTestConfig, draftMissionTestConfigChange), so an agent must infer the routing from behavior rather than being handed it.

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.