Skip to main content
Glama

dsh_status

Read-onlyIdempotent

Inspect a run or session's current state, recent events, pending waits, and last reply without blocking. Check progress instead of waiting; use dsh_wait to block.

Instructions

Look once at a run or a session without waiting. A run (run_id): state, recent events, final reply, waiting_on (sub-agents or jobs still working) and human_interjections. A session (session_id): busy, activity, its Harness goal (phase, rounds, whether Harness goes on with it), needs_input, and its last turn's reply. Never a way to wait: use dsh_wait.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dsh_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
tailNoHow many recent events of a run
run_idNoRun id from dsh_send
session_idNoSession id, when you have no run_id (for example to look at a session whose goal you follow)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / session_id
      Added value: +{
      +  "description": "Session id, when you have no run_id (for example to look at a session whose goal you follow)",
      +  "type": "string"
      +}
    • changedInput schema / properties / tail / description
      Previous value: -"How many recent events"New value: +"How many recent events of a run"
    • removedInput schema / required
      Removed value: -[
      -  "run_id"
      -]
  2. Changed1 schema field changedv0.6.4
    • changedInput schema / properties / tail / default
      Previous value: -20New value: +5
  3. First observedv0.5.4

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds the key non-annotation behavior: the call is a single non-blocking snapshot that returns waiting_on and human_interjections rather than blocking. It stops short of stating rate limits, auth requirements, or freshness/staleness guarantees for the returned state.

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?

Three sentences, all front-loaded: purpose first, then the per-mode payload, then the negative constraint routing to the sibling. No filler and nothing repeated from the annotations.

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?

With no output schema, the description carries the return-value burden and does so by enumerating run fields (state, events, final reply, waiting_on, human_interjections) and session fields (busy, activity, Harness goal, needs_input, last reply). For a read-only, zero-required-param snapshot tool, nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: the two parameters are mutually exclusive modes with different return payloads, and "recent events" clarifies the role of tail without restating its type. Only the exact semantics of tail (ordering, whether 0 is allowed) go unexplained.

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?

"Look once at a run or a session without waiting" gives a specific verb (look/snapshot) plus both resource modes, and immediately enumerates what each mode yields. An agent can distinguish this from dsh_wait and the list_* siblings 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?

Explicit exclusion: "Never a way to wait: use dsh_wait" names the alternative and the condition that selects it. The schema further routes run_id to dsh_send and session_id to the no-run case, so mode selection is covered from both directions.

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