Skip to main content
Glama

omp_start_task

Starts a long-running local omp task asynchronously in the background and returns a task_id plus active model immediately, avoiding synchronous timeouts. Use it before polling status or cancelling.

Instructions

在后台异步启动一个较耗时的本机 omp 任务,立即返回 task_id 与当前配置的模型,避免同步等待超时。后续配合 omp_task_status 轮询进度或 omp_cancel_task 取消。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。

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": {
      "prompt": "<prompt>",
      "cwd": "<cwd>"
    },
    "name": "omp_start_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYes目标项目目录的绝对路径。
modelNo可选,指定本次任务使用的 omp 模型;不传则使用本机 omp 默认模型。
toolsNo可选,逗号分隔的 omp 工具列表(仅 read_only=false 时生效)。
promptYes任务说明。
thinkingNo可选,覆盖本次思考深度。
read_onlyNo是否以只读模式运行(默认 false)。
session_idNo可选,传入上次返回的 session_id 继续同一会话。
timeout_secondsNo超时时间(秒),默认 900。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the behavioral burden. It discloses the key non-obvious traits: the call is asynchronous, it returns immediately with task_id and model, and the task keeps running in the background. It also adds an unusual mandatory reporting obligation about the model name. It does not cover concurrency limits, what happens to the task after the timeout_seconds value elapses, or whether tasks survive process restarts.

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 async behavior and immediate return are stated first, and the follow-up tools are named before the caveat. The mandatory model-reporting sentence is long but serves a real purpose, since it changes what the agent must tell the user. There is little wasted wording.

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?

With eight parameters, a 100% schema coverage rate, no output schema, and no annotations, the description covers the essentials: the asynchronous contract, what is returned, and the follow-up workflow. The return values are partly described even though no output schema exists. Gaps remain around timeout behavior and how read_only affects the listed tools.

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%, so all eight parameters are already documented in the input schema. The description adds only that the configured model is returned, which lightly touches the model parameter, but gives no extra syntax or constraint detail. The baseline of 3 is appropriate when the schema does the heavy lifting.

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 gives a specific verb and resource: asynchronously launch a long-running local omp task in the background, immediately returning task_id and the configured model. It clearly separates itself from omp_task_status and omp_cancel_task, but never contrasts itself with the sibling omp_run_task, which is presumably the synchronous alternative. An agent can grasp the purpose, but the distinction from omp_run_task must be inferred.

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

Usage Guidelines4/5

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

The description states when to use it (time-consuming tasks, avoiding synchronous wait timeouts) and which tools to use next (omp_task_status to poll, omp_cancel_task to cancel). It does not state when NOT to use it, for example for short tasks or when omp_run_task would be more appropriate.

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