Skip to main content
Glama
agent-mesh

agent-mesh

Official
by UllrAI

mesh_job_status

Read-only

Check a submitted job's progress and clarification status by job ID, optionally waiting for completion; if input is needed, return the pending question so it can be answered.

Instructions

查询指定轮及其澄清答复进展。

用户在等结果或问题时,用刚提交返回的 job_id,并设置短于宿主工具时限的 wait_timeout_s(例如宿主允许 60 秒时等 50 秒)。省略或传 0 则不等待执行结束。 若返回 needs_input,先依据已有上下文作答,仍需用户决定时把该任务的问题转交给用户。

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": "mesh_job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
wait_timeout_sNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true is consistent with a status query, and the description adds real behavior beyond it: wait_timeout_s controls whether the call blocks, omitting it or passing 0 returns immediately without waiting for completion, and a needs_input state changes what the agent should do next. It does not state whether polling is required or what other terminal states exist, but the output schema can carry that.

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?

Sentence one states the purpose, subsequent lines give the call recipe and the needs_input branch. Each sentence carries new operational information with no restatement of the name or schema, and the article is short enough to be read in full before invoking.

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 two-parameter polling tool with an output schema, the definition covers purpose, blocking semantics, and the one return state that changes agent behavior. The main omission is whether repeated polling is expected and how to retrieve the finished result. That is a modest gap rather than a blocking one, since the output schema documents the response shape.

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

Parameters4/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 the load, and it does: wait_timeout_s is given a purpose (blocking wait), a default-behavior rule (omit or 0 = no wait), and a sizing heuristic tied to the host timeout. job_id gains a provenance constraint — use the id returned by the just-submitted call. Only the accepted value range/units of wait_timeout_s are left unspecified.

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 names a specific verb and resource: querying the progress of a designated round/job plus any clarification answers it is waiting on. That is clearly distinct from a listing tool such as mesh_jobs, though it never names a sibling to sharpen the boundary. The first sentence alone is enough for an agent to know what it is calling.

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 concrete when-to-use guidance: the user is waiting on a result or a question, and the agent should use the job_id returned by the just-submitted call. It also prescribes a follow-up workflow for a needs_input response (answer from existing context first, escalate to the user only if a decision is still required). The remaining gap is that no alternative tool is named or excluded.

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