Skip to main content
Glama

Get Mission Test Run by Id

getMissionTest
Read-onlyIdempotent

Get one mission test run by id, with the fields listMissionTests returns. Param and standard runs return 404 here. Use when: you have a mission run id from listMissionTests. For the judged result with compliance fields prefer getMissionTestRun, which reads the same run; use getRunResults if you do not know the run's type. Read-only. Needs testing:read. Returns 404 if the run is not in your workspace.

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

Input Schema

NameRequiredDescriptionDefault
idYesMission test run identifier.

Output Schema

NameRequiredDescriptionDefault
idYes
tagsNoThe tags the originating `MissionTestConfig` carried when this run was dispatched, kept as they were so retagging the config later does not change which tag filters the run matches. An empty array means the config had no tags. Absent on runs launched without a saved config and on runs dispatched before 17 November 2026.
passedNoAI judgement verdict for freeform mission runs (compliance runs use `verdict` instead).
sectorNo
statusYes
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
outcomeNoRun outcome. PASS/FAIL/ERROR/INCONCLUSIVE are terminal verdicts; 'pending' is a lifecycle state for pre-completion rows. Nullable for historical rows pre-backfill.
profileNoProfile ID used for the in-call AI assistant's Identity block.
voiceIdNoThe voice this run actually spoke with — the config's choice, or the default resolved at dispatch. Recorded so a recording can be traced to a voice from our own data. Optional: rows created before this field existed have no value and can never be backfilled, because it was only ever written to a container log line. Absent means "not recorded", not "no voice".
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).
testTypeYes
startedAtYes
acceptanceNo
transcriptNo
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. The gap between the two is the window in which a cancel can still prevent the call from ever being placed. Absent on rows cancelled before dial and on every pre-existing row.
errorMessageNo
passEvidenceNoFreeform-mission evidence quote (singular). Compliance runs use `compliancePassEvidence` instead.
callControlIdNoTelnyx call-control ID (set once the call connects; required for mid-call cancel).
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.
backgroundNoiseNoThe background noise the run was dispatched with. Absent means none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / tags
      Added value: +{
      +  "description": "The tags the originating `MissionTestConfig` carried when this run was\ndispatched, kept as they were so retagging the config later does not\nchange which tag filters the run matches. An empty array means the config\nhad no tags. Absent on runs launched without a saved config and on runs\ndispatched before 17 November 2026.\n",
      +  "example": [
      +    "2-003",
      +    "round2"
      +  ],
      +  "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. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes beyond the read-only/idempotent annotations by disclosing two distinct 404 paths (unsupported run types, and runs outside your workspace) and the required testing:read scope. The only redundancy is the 'Read-only' sentence, which restates readOnlyHint=true, so it adds slightly less than it appears to.

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 and scope before routing guidance, and nearly every clause carries decision-relevant information. 'Read-only' duplicates the annotation and the final 404 sentence slightly overlaps the earlier 404 warning, minor waste in an otherwise dense definition.

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?

An output schema exists, so return values need not be spelled out, and auth plus failure modes are covered. For a one-parameter read tool this is close to complete; only the overlap noted above keeps it from fully closing the loop.

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

Parameters3/5

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

Schema coverage is 100% and the single `id` parameter is already documented as a UUID mission test run identifier, so the schema carries the load. The description adds only provenance (where to get the id from listMissionTests), not format or validation meaning.

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 one mission test run by `id`') and pins down the returned shape by tying it to listMissionTests. It also carves out an explicit negative boundary ('Param and standard runs return 404 here'), which separates it from the run-type siblings without requiring a schema read.

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?

Gives an explicit precondition ('you have a mission run id from listMissionTests') plus two named alternatives with the conditions that select them: getMissionTestRun for judged/compliance output, getRunResults when the run type is unknown. When-to-use, when-not-to-use, and alternatives are all present.

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.