Skip to main content
Glama

run_task

Destructive

Executes a named task from a repository with progress notifications, cancellation support, and a configurable timeout, appending optional extra arguments.

Instructions

Run a named task with best-effort progress notifications and cancellation boundaries.

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": {
      "repo": "<repo>",
      "task": "<task>"
    },
    "name": "run_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name from list_repositories(), e.g. "pypto"
taskYesNamed task key from list_tasks(). Use list_tasks(repo) to see available tasks and their metadata.
extra_argsNoPlain arguments appended to the configured task; shell control syntax is rejected.
timeout_secondsNoExecution timeout in seconds (1–7200). Long-running tasks may need 1800+.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • changedInput schema / properties / extra_args / description
      Previous value: -"Extra arguments appended verbatim to the task command string, e.g. '--verbose -k test_foo'"New value: +"Plain arguments appended to the configured task; shell control syntax is rejected."
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=false, so the safety profile is known. The description adds useful execution traits (best-effort progress notifications, cancellation boundaries) but never says what the task actually executes, what cancellation does mid-run, or how failures and timeouts surface.

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?

A single front-loaded sentence with no filler. "Cancellation boundaries" is slightly jargon-like but the sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and all four parameters are fully described, so the description need not cover returns. However, for a destructive execution tool it should say more about failure behavior, timeout consequences, and how cancellation surfaces.

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 each parameter is documented in the schema, including ranges, defaults, and how to discover repos and task keys. The description adds no parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Run a named task"), which is more precise than the bare name. It does not differentiate itself from near-siblings such as run_command or explain_task, so an agent still has to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given. With sibling tools like run_command, explain_task, and route_task present, the description never says which situation selects this tool over them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.