Skip to main content
Glama

Start an outbound task

start_task
Destructive

Start or resume dialling an outbound task. This action itself does not deduct credit: before each dial the task reserves its maximum estimated cost, and an attempt actually placed follows normal agent-call billing; final task spend is reconciled from the recorded call price. Fails with engine_required when the agent's provider is not engine, and with agent_no_number when the agent has no number of its own: tasks and campaigns call only from the agent's own number (assign one with update_agent numberE164). revision must match the current task. confirmedRecipients and confirmedBudgetHal must equal the ACTUAL fresh values from get_task; a mismatch is rejected and nothing starts. Tell the user the recipient count, attempt limit and budget and get explicit agreement first. With a monthly spending cap set by the customer (see get_spend_cap) and reached this month, this fails with spend_cap_reached (HTTP 402): nothing is charged and retrying will not help, so tell the customer, who can raise or remove the cap (set_spend_cap, clear_spend_cap) or wait for the next month. Same data as POST /v1/tasks/{id}/start (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>",
      "confirmedRecipients": "<confirmedRecipients>",
      "confirmedBudgetHal": "<confirmedBudgetHal>"
    },
    "name": "start_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the task to start, from list_tasks or get_task. Looks like task_9f3a2b7c4d1e.
revisionYesRevision of the task as returned by get_task. The start is rejected with revision_conflict when it changed since - reload with get_task.
confirmedBudgetHalYesBudget in hellers (1/100 CZK) you are confirming with the user, read from get_task's budgetHal immediately before calling this. Must equal the task's actual budget, or the call is rejected with validation.
confirmedRecipientsYesRecipient count you are confirming with the user, read from get_task's items array length immediately before calling this. Must equal the task's actual recipient count, or the call is rejected with validation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructive/openWorld/not-idempotent; the description goes well beyond by explaining the billing model (per-dial reservation of max estimated cost, normal agent-call billing, reconciliation from recorded call price) and that the start action itself deducts no credit. It enumerates concrete failure codes (engine_required, agent_no_number, revision_conflict, spend_cap_reached/HTTP 402) and states that a mismatch rejects the call and starts nothing — exactly the behavioral context a mutation tool needs.

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 the credit/billing claim, then prerequisites and failure modes in rough priority order, with the API parity note last. It is dense and semicolon-chained, and the confirmation/revision rejection conditions are somewhat duplicated from the schema descriptions, but no sentence is filler.

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 destructive, non-idempotent, open-world mutation with no output schema, the description covers the confirmation protocol, all known failure modes and their fixes, billing consequences, and the spend-cap dead end including who can resolve it. Nothing an agent needs before calling is missing.

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 the per-field semantics are already documented and the baseline is 3. The description adds the workflow meaning on top — that confirmedRecipients and confirmedBudgetHal must be the ACTUAL fresh values from get_task and are the values the agent is confirming with the user, and that revision must match the current task — reinforcing why these fields exist rather than restating their types.

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 ('Start or resume dialling an outbound task') and captures the resume nuance that distinguishes it from create_task or pause_task. An agent knows immediately this is the execution trigger for an existing task, not a creation or edit operation.

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?

Explicitly gates the call: the agent must first read get_task for fresh values, tell the user the recipient count, attempt limit and budget, and obtain explicit agreement. It also names the blocking conditions and points to the remediation tools (update_agent numberE164, set_spend_cap, clear_spend_cap, get_spend_cap), plus the note that retrying under a spend cap will not help.

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.