Skip to main content
Glama
mbgroen
by mbgroen

omv_wait_for_task

Retrieve the output of a background task running on the NAS. Wait for the task to complete by polling with the filename from omv_call, then obtain the result.

Instructions

Collect the output of a background task started by omv_call.

When omv_call returns something like {"filename": "..."}, the job is running asynchronously on the NAS. This tool polls until it finishes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesThe filename value from the omv_call result.
max_secondsNoHow long to wait before giving up.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently states that the tool polls until the background task finishes, which communicates the blocking/asynchronous nature of the operation. It does not detail failure/timeout outcomes, but the core behavior is clearly and honestly described.

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 concise and front-loaded: the first sentence states the action, and the second provides necessary context. Every sentence contributes useful information without redundancy.

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 simple polling tool with two well-documented parameters, the description is sufficiently complete. It explains the workflow, the trigger condition, and the polling behavior. It omits explicit return-value details, but 'collect the output' adequately conveys the tool's function given the simple context.

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?

The input schema already provides 100% parameter coverage with descriptions for both 'filename' and 'max_seconds'. The tool description adds minimal new semantic value beyond referencing omv_call's result, so the baseline of 3 is appropriate.

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 the tool's purpose: collecting output from an asynchronous background task started by omv_call. It uses a specific verb ('collect') and resource ('output of a background task'), and it distinguishes itself from siblings like omv_call by explicitly connecting the workflow.

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 gives clear context: use this tool when omv_call returns a filename indicating an async job. It names the prerequisite condition and the polling behavior, but it does not explicitly mention alternatives or edge cases like when a task has already finished.

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/mbgroen/omv-mcp'

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