Skip to main content
Glama

Pause an outbound task

pause_task
DestructiveIdempotent

Stop a running outbound task from starting its next dial attempt - a call already in progress is not interrupted. expectedRevision (revision below) must equal the task's current revision or this fails with revision_conflict - reload with get_task first. Only a running task can be paused (task_not_running otherwise). Resume later with start_task. Same data as POST /v1/tasks/{id}/pause (response schema in /openapi.json).

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>",
      "revision": "<revision>"
    },
    "name": "pause_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the task to pause, from list_tasks or get_task. Looks like task_9f3a2b7c4d1e.
revisionYesRevision of the task as returned by get_task. The pause is rejected with revision_conflict when it changed since - reload with get_task.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: an in-progress call is not interrupted, so the destructiveHint=true flag really only applies to the next dial attempt, and the optimistic-concurrency failure modes (revision_conflict, task_not_running) are named. The one gap is the return value, which is deferred to /openapi.json rather than described, and there is no output schema to compensate.

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 the primary effect and the in-progress-call caveat, then error conditions and the resume path. Dense but nearly every clause carries information; only the 'Same data as POST /v1/tasks/{id}/pause (response schema in /openapi.json)' sentence is padding that offloads rather than informs.

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 two-parameter mutation tool, the description covers effect, preconditions, concurrency semantics, and the follow-up tool. The only missing piece is what a successful pause returns, which is redirected to an external spec file rather than stated.

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?

Schema coverage is 100%, so baseline is 3, but the description adds conflict semantics for the revision parameter that the schema only partially states. Minor flaw: it calls the parameter 'expectedRevision' while the schema names it 'revision', a naming mismatch that could momentarily confuse an agent.

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 precise verb and resource with scope: stop a running outbound task from starting its next dial attempt, explicitly excluding a call already in progress. This cleanly separates it from start_task (resume) and get_task (reload), which the description names directly.

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 explicit preconditions (only a running task can be paused, else task_not_running) and names the recovery path for a failed revision check (reload with get_task first) plus the follow-up action (resume with start_task). Both when-to-use and when-it-will-fail are covered.

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.