Skip to main content
Glama

Draft Mission Test Config Change

draftMissionTestConfigChange
Read-onlyIdempotent

Check a CHANGE to a saved mission-test config without saving it. Takes the config id and only the fields to change (same as the update body; null clears description, tags, maxDurationSecs, backgroundNoise, advancedParams or language). Returns the full config as it would be after the change, changes (only fields whose value would differ, with before and after), problems (every failed check at once) and version (the config's current updatedAt). Nothing is saved or changed, so it is safe to call repeatedly. Use when: the user wants to edit a test and you want to show what would change before they save it. Returns 404 if the config does not exist in your workspace. 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": {
      "id": "<id>"
    },
    "name": "draftMissionTestConfigChange"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMission test config identifier.
nameNo
tagsNoLowercase kebab-case tag list (1-32 chars per tag, max 10 tags). Pass `null` to clear all tags (DDB REMOVE — same sentinel pattern as `description: null`). Pass `[]` to clear (handler normalises empty array to null before persisting). Omit the key to leave existing tags unchanged.
sectorNo
missionNo
voiceIdNoTelnyx voice id for the call, from the operator-enabled catalogue (`GET /testing/voices`). Omit to use the configured default voice.
languageNoThe call language. Pass `null` to clear it (DDB REMOVE — same sentinel pattern as `advancedParams`), which reverts the config to English. Omit the key to leave the current value unchanged.
profileIdNo
acceptanceNo
scheduleIdNoThe schedule that runs this mission test automatically: a schedule id from the same workspace, or `template:<template-id>` to create one from a built-in template. Pass `null` to clear it (manual runs only). Omit the key to leave the current value unchanged.
descriptionNoPass `null` to clear the description attribute (DDB REMOVE). Omit the key to leave the current value unchanged.
phoneNumberNo
advancedParamsNoPer-call turn-detection overrides. Pass `null` to clear it (DDB REMOVE — same sentinel pattern as `description: null`), which reverts the config to mission-tester's env-var defaults. Omit the key to leave the current value unchanged. This is OpenAPI 3.1.0, so the nullable branch is expressed with `anyOf` + `type: 'null'` rather than the 3.0 `nullable` keyword (AJV ignores `nullable` under 3.1 — memory `feedback_ajv_openapi_nullable`).
carrierRouteIdNoBring-your-own-carrier (invite-only): the carrier route this config's runs dial through. Pass `null` to clear it, so runs dial over nopaque's network again. Omit the key to leave the current value unchanged. Changing `phoneNumber` alone re-checks the new number against the route already saved.
backgroundNoiseNoCaller background noise played under the call. Pass `null` to remove it (no noise), or omit the key to leave the current value unchanged.
maxDurationSecsNoPer-call duration cap in seconds. Pass `null` to clear it (DDB REMOVE — same sentinel pattern as `description: null`), which reverts the config to the server default for its mission kind. Omit the key to leave the current value unchanged. The null branch is declared with `anyOf` + `type: 'null'` for the same reason `advancedParams` below is — see the note there.

Output Schema

NameRequiredDescriptionDefault
configYesThe full stored config as it would be after the change. Its `updatedAt` is the current one; a real save would set a new one.
changesYesOnly the fields whose value would differ from the stored one.
versionYesThe stored config's current `updatedAt`. Pass it as `expectedUpdatedAt` when saving the change, so a save is refused if the config changed in between.
problemsYesEvery check that failed. Empty when the change could be saved as sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / scheduleId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The schedule that runs this mission test automatically: a schedule id from the same\nworkspace, or `template:<template-id>` to create one from a built-in template. Pass\n`null` to clear it (manual runs only). Omit the key to leave the current value unchanged.\n"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / advancedParams / anyOf
      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"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]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"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that nothing is persisted, that repeat calls are safe, that a 404 is returned when the config is absent from the workspace, and it enumerates the return payload (full config, changes with before/after, all problems at once, version). That is substantive behavior the annotations alone do not convey.

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 semantics, then return shape, then usage. Slight redundancy between 'Nothing is saved or changed, so it is safe to call repeatedly' and the closing 'Saving is a separate step', but both sentences carry distinct information and nothing is padded.

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 16-parameter partial-update preview tool, the description covers the required id, the patch/null semantics, the non-persistent safety profile, the 404 case, and the response fields — even though an output schema already exists. An agent has everything needed to select and invoke 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?

With 63% schema coverage across 16 parameters, the description adds the key framing the schema does not state globally: this is a partial patch taking only the fields to change, and `null` clears the listed nullable fields while omission leaves them unchanged. It does not add per-parameter detail beyond the schema, but the patch/null semantics are the highest-value addition here.

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 first sentence states a specific verb and resource ('Check a CHANGE to a saved mission-test config without saving it'), which immediately separates it from createMissionTestConfig (persists) and getMissionTestConfig (reads only). The closing line 'Saving is a separate step the user takes in the app' reinforces the boundary.

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?

It gives an explicit trigger: 'Use when: the user wants to edit a test and you want to show what would change before they save it.' That is a clear context statement, though it does not name an alternative tool or an explicit when-not condition, so it falls short of a full routing rule.

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.