Skip to main content
Glama

Get Mission Test Run

getMissionTestRun
Read-onlyIdempotent

Use when you have a mission-test run id and want the full AI-judged result: verdict (pass/fail/inconclusive/error), passReasoning, passEvidence, transcript, and compliance fields. Compliance runs are mission runs and are returned here too. Standard and param runs return 404 — use getRunResults for those, or when you do not know the run's type. For listing across runs use listTestRuns; for counts and percentages use aggregateTestRuns. Returns 404 cross-workspace (D-02 strict type-gate).

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

Input Schema

NameRequiredDescriptionDefault
idYesMission test run UUID.

Output Schema

NameRequiredDescriptionDefault
idYes
tagsNoThe config's tags when the run was dispatched (see `MissionTestRun.tags`). Empty when the config had none; absent on ad hoc runs and older runs.
passedNoAI judgement verdict for freeform mission runs.
sectorNo
statusYes
audioIdNo
carrierNoBring-your-own-carrier (invite-only): the carrier route this run was dialled through, recorded when the run was dispatched. It still names that route after the config's `carrierRouteId` is changed or removed. Absent when the run was dialled normally. See `GET /testing/carrier-integrations` for the route's name and settings.
missionNo
outcomeNoUnified outcome. INCONCLUSIVE added in D-06 (revised).
verdictNoCompliance verdict (compliance runs only).
configIdNoSet when launched from a saved MissionTestConfig (Phase 60.1).
languageNoThe call language the run was dispatched with. Absent means English (every run before the field existed, and every run that did not set it).
startedAtYes
acceptanceNo
transcriptNoCall transcript (string or structured).
completedAtNo
phoneNumberNo
workspaceIdYes
callPlacedAtNoThe moment the dial returned a call_control_id (before the answered event) — distinct from `startedAt`, which is the api-side enqueue moment. Absent on rows cancelled before dial and on every pre-existing row.
errorMessageNo
passEvidenceNoFreeform mission evidence (string) or compliance evidence array.
callControlIdNo
passReasoningNo
advancedParamsNoThe turn-taking settings the run was dispatched with. Absent when none were set (server defaults applied) and on runs before 2026-11-05.
judgeReasoningNo
complianceFailEvidenceNo
compliancePassEvidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / tags
      Added value: +{
      +  "description": "The config's tags when the run was dispatched (see `MissionTestRun.tags`).\nEmpty when the config had none; absent on ad hoc runs and older runs.\n",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedOutput 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.9/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description goes well beyond them by disclosing two concrete failure modes: 404 for standard/param run types and 404 for cross-workspace access under a strict type-gate. It also notes that compliance runs are mission runs and therefore surface here, which is non-obvious routing information an agent could not derive from structured fields.

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 trigger condition is front-loaded, followed by what is returned, then the negative routing, then escalation to sibling tools. Every clause carries information; nothing repeats the schema or annotations.

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?

Return values are backed by an output schema, yet the description still names the key fields an agent will want to reason about. For a one-parameter read tool, the type-gating rules, compliance-run inclusion, and cross-workspace 404 behavior close the remaining gaps.

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 a single parameter at 100% schema coverage the baseline is 3, but the description adds real meaning by constraining which kind of id is valid — a mission-test run id, not a standard or param run id. That distinction is not in the schema, which only says 'Mission test run UUID'.

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 opens with a concrete verb+resource framing ('mission-test run id ... full AI-judged result') and enumerates the returned artifacts (verdict, passReasoning, passEvidence, transcript, compliance fields). It explicitly separates itself from getRunResults, listTestRuns and aggregateTestRuns, so an agent can pick it without opening any schema.

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 states the precondition ('you have a mission-test run id'), the exclusion ('Standard and param runs return 404 — use getRunResults for those'), and a fallback rule ('or when you do not know the run's type'). Alternatives for listing and aggregation are named with the condition that selects them, leaving nothing to inference.

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.