Skip to main content
Glama

dsh_status

Check a DeepSeek Harness run's progress: state, session_id, recent events, final reply, and waiting status. One-off look; use dsh_wait to wait for completion.

Instructions

Progress of a run: state (queued/running/waiting/completed/failed/cancelled, or interrupted when a Harness restart cut it short), session_id, recent events (text, tool calls), final reply, waiting_on when the turn is over but sub-agents or background jobs are still working, and human_interjections when someone typed in the Harness UI during the run (its result then reflects that input too). A one-off look, never a way to wait: to wait for the reply use dsh_wait, and if dsh_wait timed out, call dsh_wait again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tailNoHow many recent events
run_idYesRun id from dsh_send

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are present, so the description carries the full burden and largely meets it: it discloses the non-blocking, one-off nature ('never a way to wait'), explains the non-obvious 'interrupted' state (Harness restart cut it short), and clarifies that human_interjections mean the result reflects that typed input. It does not mention permissions, rate limits, or whether the run is mutated in any way, which keeps it out of 5 territory.

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 tool's purpose is front-loaded in the opening phrase, and the routing advice is placed last where it belongs. However, the middle is one very long run-on sentence with a heavy parenthetical dump of states and fields, which taxes readability even though most clauses carry real information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must describe the return shape itself, and it does so comprehensively: state values, session_id, recent events, final reply, waiting_on, and human_interjections. Combined with the sibling routing, an agent has everything needed to call this correctly.

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 description coverage is 100%, so both parameters (run_id, tail) are already documented by the schema, establishing the 3 baseline. The description alludes to 'recent events' without adding format or range guidance for tail, so it adds little beyond the schema here.

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 states a specific resource and verb-equivalent ('Progress of a run') and then enumerates exactly what a caller receives: state, session_id, events, final reply, waiting_on, human_interjections. It also names the sibling it is not (dsh_wait), so an agent can distinguish it from the other run-related tools without opening any schema.

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

Usage Guidelines5/5

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

It gives an explicit when-not ('A one-off look, never a way to wait') and routes to the correct alternative ('to wait for the reply use dsh_wait'), including the retry case ('if dsh_wait timed out, call dsh_wait again'). This is exactly the when/when-not/alternative guidance the dimension asks for.

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