Skip to main content
Glama

Start an IVR Map

startMapping
Destructive

Start a run of a saved mapping job: nopaque calls the number, works through the menu and builds the tree. Takes the job id (from createMapping or listMappings). Returns the job with its current run; a run usually takes 2 to 15 minutes. Read progress with getMapping and the result with getMappingTree. This uses the workspace's minutes or credit and cannot be undone; when a person is present, get a yes first. Use when: straight after createMapping, or to run a saved map again.

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

Input Schema

NameRequiredDescriptionDefault
idYesMapping-job identifier.
verticalNoVertical hint for prompt-library lookup (overrides job-level setting).
probeModeNoEnable security-probe mode for this run. Requires a prior attestation via `POST /mapping/attest` for the target phone number; without one the call returns `403`.
toolConfigNoTool-config override for this run (analyzer + transcriber).
copyFromRunNoRun number to copy step data from for excluded paths (used when re-starting a job with `exclude` rules without re-mapping the excluded subtrees).

Output Schema

NameRequiredDescriptionDefault
idYesUnique mapping-job identifier.
nameYesJob display name.
tagsNoString labels for filtering and grouping. Lowercase alphanumeric + hyphens.
errorNoError message if the job failed.
statsNoAggregate statistics for the current run, populated while the job executes.
configYesPer-job configuration knobs that govern exploration shape and call orchestration. Sensible defaults are applied server-side when fields are omitted on create.
statusYesOn getMappingJob, the status of the run the response describes (a copy of `currentRun.status`, with `queued` shown as `idle`), or `idle` when the job has never run. createMappingJob returns `idle`: creating a job places no call and starts no run (POST /mapping/{id}/start does).
userIdYesUser who created the job.
createdAtYesCreation timestamp.
runNumberNoFlat-merged run number from the active or requested (via `?version=`) run. Phase 04 D-09 — preserved at top level for frontend back-compat alongside the new nested `currentRun` object.
startedAtNoMost-recent run start timestamp.
updatedAtYesLast update timestamp.
currentRunNoNested run summary on single-job responses (Phase 04 D-09 / D-10). `currentRun.status` is the run's own status (`queued`, `running`, `completed`, `failed` or `limited`); read it to decide whether the discovery is done. The flat `status` on the job response is a copy of it, except that `queued` shows as `idle`. The field name stays `currentRun` even when `?version=N` is supplied — the wrapper describes the run this response describes (active by default, or the historical run identified by `version`).
completedAtNoMost-recent run completion timestamp.
limitReasonNoReason the run stopped early (only present when `status` is `limited`).
phoneNumberYesTarget phone number in E.164 format.
workspaceIdYesOwning workspace.
currentRunIdNoIdentifier of the most-recent run (absent if never started).
inFlightCountNoCurrently executing calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already flag destructiveHint=true and openWorldHint=true, but the description adds context the annotations cannot: the run consumes the workspace's minutes or credit, cannot be undone, and typically takes 2 to 15 minutes. That cost/duration/irreversibility trio materially changes how an agent should sequence and confirm the call.

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?

It is front-loaded with the action and its effect, then handles return shape, timing, cost, and confirmation, ending with an explicit "Use when" clause. Every sentence carries distinct information with no restatement of the name or schema.

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 non-idempotent, billable, open-world run trigger, the description covers what is returned (the job with its current run), how long it takes, what it costs, how to follow up, and the human-confirmation requirement. An output schema exists, so it correctly avoids spelling out the response body.

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 description coverage is 100%, so vertical, probeMode, toolConfig, and copyFromRun are already fully documented, including the 403 attestation caveat for probeMode. The description only adds provenance for the required id ("from createMapping or listMappings"), which is a small but real routing hint beyond the schema. Baseline 3 applies since the schema does the heavy lifting.

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?

"Start a run of a saved mapping job" names a specific verb and resource, then describes what actually happens (nopaque calls the number, works the menu, builds the tree). It is clearly distinct from createMapping (which creates the job) and getMapping (which reads progress), so an agent can route without opening sibling schemas.

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 explicit when-to-use guidance ("straight after createMapping, or to run a saved map again") and names the alternatives for follow-up: getMapping for progress, getMappingTree for the result. It also states a precondition for humans ("when a person is present, get a yes first"), which is exactly the kind of condition an agent cannot infer.

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.