Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

wait_for_task

Read-onlyIdempotent

Polls a Semaphore UI task until it succeeds, errors, stops, or reaches a timeout, with optional output tail; it does not start or stop jobs.

Instructions

Poll a task until success, error, stopped, or timeout. Does not start or stop jobs. Output tail is optional; timeout leaves the job running. The initial status read and optional output read use SEMAPHORE_TIMEOUT separately from the polling budget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
timeoutNo
project_idYes
tail_linesNo
poll_intervalNo
include_outputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: timeout leaves the job running, output tail is optional, and the initial/status/output reads use SEMAPHORE_TIMEOUT separately from the polling budget.

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?

Four short sentences, front-loaded with the core behavior, then the key constraints. Every sentence adds useful information with no repetition or filler.

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 polling tool with no output schema and rich annotations, the description covers the essential lifecycle (terminal states, timeout leaving the job running) and important timeout/read semantics. It is not fully complete because it does not describe return shape or the role of each parameter, but the core calling behavior is well covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It clarifies timeout behavior and optional output tail semantics, but it does not explain project_id, task_id, poll_interval, include_output, tail_lines defaults/ranges, or how the two timeout concepts map to parameters. Most of the 6 parameters remain ambiguous.

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 uses a specific verb and resource: 'Poll a task until success, error, stopped, or timeout.' It also states what the tool does not do ('Does not start or stop jobs'), which distinguishes it from create_task and stop_task. It does not explicitly name get_task or get_task_output, so the sibling differentiation is good but not complete.

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?

It gives clear when-to-use context (wait for a task to reach a terminal state) and a clear exclusion ('Does not start or stop jobs'). However, it does not route the agent to alternatives, such as using get_task for a single status check or get_task_output for non-polling output retrieval.

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

Deploy Server

Other Tools