Skip to main content
Glama

Run Batch OMP Tasks with DAG and Compact Aggregated Result (Preferred for Multi-task)

omp_run_batch_compact
Destructive

Submit a batch of dependent tasks with dependency DAG and write-ownership safety, run them concurrently in a bounded rolling pool, and retrieve compact aggregated results or a group ID for later completion check.

Instructions

Submits a decomposed group of OMP tasks to execute concurrently in the server-side bounded rolling pool (max_parallel 1-10) using a detached group runner. Enforces dependency DAG and write-ownership safety, waits up to wait_seconds (0-240, default 60s) for batch completion, and returns stable compact aggregated results. If still running when deadline elapses, returns group_id and minimal progress counts for subsequent omp_wait_group.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYesAbsolute working directory OMP may inspect and modify
tasksYesArray of decomposed tasks to execute concurrently according to dependency DAG and ownership safety
max_parallelNoMaximum concurrent active OMP runners (1-10, default 4)
wait_secondsNoMaximum seconds to wait for batch completion inside this call (0-240, default 60)
supervisor_briefNoShared decision-ready read-only findings, hypotheses, and constraints for the task group
default_max_attemptsNoDefault per-task attempt limit if not specified in task (1-5, default 3)
group_timeout_minutesNoHard overall group deadline in minutes (1-120, default 60)
default_timeout_minutesNoDefault per-task timeout in minutes if not specified in task (1-120, default 30)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tasksNo
statusYes
summaryYes
group_idYes
total_tasksYes
failed_tasksYes
max_parallelYes
blocked_tasksYes
cancelled_tasksYes
completed_tasksYes
Behavior5/5

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

The description adds substantial behavioral context beyond what annotations provide: it reveals the bounded rolling pool (max_parallel 1-10), dependency DAG enforcement, write-ownership safety, wait timeout with completion or partial result handling, and return of group_id for follow-up. Annotations only indicate destructive and open-world hints, so the description significantly enhances transparency.

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?

The description is three sentences long, front-loaded with the core action, and contains no redundant information. Every sentence adds value, describing the submission, execution constraints, and timeout behavior. It is optimally concise.

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?

Given the tool's complexity (8 parameters, DAG, safety, timeout) and the presence of an output schema, the description covers the main behavior thoroughly. It explains the batch submission, concurrent execution, dependency enforcement, and timeout handling. Minor gaps exist (e.g., error handling for failed tasks), but the output schema likely addresses return values, making the description largely complete.

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?

All 8 parameters have descriptions in the input schema (100% coverage), so the baseline is 3. The description mentions max_parallel and wait_seconds ranges but mainly provides behavioral context rather than new parameter-level meaning. It does not add insight beyond what the schema already provides.

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?

The description clearly states the tool submits a decomposed group of OMP tasks with dependency DAG and write-ownership safety, and returns compact aggregated results. The verb 'submits' and resource 'batch of OMP tasks' are specific. However, it does not explicitly differentiate from sibling tools like omp_run_compact, relying on the title's 'Preferred for Multi-task' which is not part of the description.

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 implies usage for multi-task batches by mentioning 'decomposed group' and a 'detached group runner', and suggests follow-up with omp_wait_group if incomplete. However, it lacks explicit guidance on when to use this tool versus alternatives (e.g., omp_run_compact for single tasks) or when not to use it.

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/divenire990/omp-worker-mcp'

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