Skip to main content
Glama
agent-bridge-mcp

agent-bridge-mcp

by sakerice

job_status

Retrieve delegated job status and output log tail, including recent worker progress and generated media artifacts, to monitor execution and share results.

Instructions

委譲ジョブの状態(running/succeeded/failed/cancelled/timed_out)と出力ログ末尾を返す。progress欄にはワーカーの直近の活動(発言・実行コマンド)の要約が入るので、ポーリングのたびに新しい進捗をユーザーへ簡潔に共有し、ブラックボックス化を防ぐこと。artifacts欄にはジョブ開始以降にcwd配下で生成されたメディアファイル(画像・動画・音声・PDF)が実行中でも列挙される。メディアを見つけたら get_artifact でプレビューし、中間成果物としてユーザーに提示すること。

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": {
      "job_id": "<job_id>"
    },
    "name": "job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

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?

With no annotations, the description carries the full behavioral burden and does a solid job: it discloses the return shape (status, log tail, progress, artifacts) and a non-obvious trait — artifacts are enumerated under cwd even while the job is still running. It does not state that the call is a cheap read-only operation, nor whether polling has cost or rate implications, which leaves a gap for a polling tool.

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?

Three sentences, front-loaded with what is returned before moving to the two pieces of operational advice (share progress per poll, preview artifacts with get_artifact). No filler, though the progress and artifacts guidance are packed densely into the same sentence as the return description, which slightly blurs structure.

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 no output schema and no annotations, the description needs to explain the response — and it does, covering status values, log tail, progress and artifacts. Given a single trivial parameter, the remaining gap is only the provenance/format of job_id and the handling of an unknown or already-finished job.

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?

There is one required parameter, job_id, with 0% schema description coverage, so the schema explains nothing. The description implies the id refers to a delegated job (i.e. one produced elsewhere), but never says where job_id comes from, its format, or what happens with an unknown id. Minimal compensation for the coverage gap.

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 opens with a concrete verb+resource: it returns a delegated job's status, enumerating the exact status values (running/succeeded/failed/cancelled/timed_out), plus the tail of the output log, the progress summary and the artifacts list. That is far more specific than a name restatement. It stops short of explicitly contrasting itself with job_result or list_jobs, so an agent must infer that this is the polling surface rather than the final-result surface.

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?

Clear usage context is stated: poll this repeatedly, and on each poll relay new progress to the user so the job doesn't become a black box. It also names an explicit alternative for a sub-case — when media appears in artifacts, call get_artifact to preview it. What is missing is guidance on when polling should stop or when to switch to a different sibling such as job_result or job_cancel.

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