Skip to main content
Glama

run_task

Execute a repository's build or test task with optional extra arguments and timeout. Tasks run on hardware when NPUs are available, otherwise route to a sim environment or return guidance.

Instructions

Run a configured task in a repository.

Build/test tasks are routed by NPU availability: with NPUs reachable they run on the host (allowed by policy); without NPUs they are re-routed into the sim Docker image for the repo (see _SIM_RUN), or refused with guidance when the repo has no sim image (e.g. PTOAS).

Input Schema

TableJSON 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_argsNoExtra arguments appended verbatim to the task command string, e.g. '--verbose -k test_foo'
timeout_secondsNoExecution timeout in seconds (1–7200). Long-running tasks may need 1800+.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the transparency burden. It reveals non-obvious conditional behavior: host execution when NPUs are available, sim Docker re-routing otherwise, and refusal with guidance when no sim image exists. This is valuable, though it omits potential side effects like file modifications or stdout/stderr behavior.

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?

The description is two paragraphs and front-loaded with the core purpose, followed by important routing details. It is concise and each sentence contributes, though the internal reference 'see _SIM_RUN' is slightly opaque.

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 complex task runner with no annotations, it covers the critical routing logic and refusal cases, and references list_repositories()/list_tasks() for parameter semantics. Output schema handles return-value documentation, but the description lacks explicit sibling differentiation and discussion of failure modes beyond no-sim-image.

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% with detailed parameter descriptions (e.g., extra_args appended verbatim, timeout range 1–7200). The description adds no parameter-level meaning beyond what the schema already provides, so baseline 3 applies.

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?

The description clearly states 'Run a configured task in a repository' with a specific verb and resource, and the routing details further specify it executes build/test tasks. This distinguishes it from arbitrary command running (run_command) and other sibling tools.

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

Usage Guidelines3/5

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

The description provides contextual behavior (NPU-based routing) but does not explicitly state when to prefer this tool over alternatives like run_command or route_task, nor does it offer exclusions or clear use-case boundaries beyond those implicit in 'configured task'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/georgebisbas/mcp-hw-native-sys'

If you have feedback or need assistance with the MCP directory API, please join our Discord server