Skip to main content
Glama

DeepSeek Harness environment status

dsh_status

Reports resolved DSH root, CLI path and version, configured model, workspace, timeout, and whether DEEPSEEK_API_KEY is set. Run it first to diagnose delegation failures or server health issues.

Instructions

Diagnostic tool (no DSH child process, no side effects): reports the resolved DSH root and CLI path, CLI version, the configured model from DSH settings, the resolved workspace, the effective timeout, and whether DEEPSEEK_API_KEY is configured (never prints the key itself). Use this first when a delegation fails or the server seems unhealthy.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it states there is no DSH child process and no side effects, and that the API key is never printed (only whether it is configured). The safety and privacy posture is therefore explicit; only minor details like output encoding or latency are absent.

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 diagnostic nature and side-effect freedom are front-loaded, followed by the field list and the usage trigger. The enumeration is long but each item is genuinely informative; there is no filler.

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 and no annotations, yet the description compensates by listing the exact values the agent will receive, including the API-key-configured boolean and its non-disclosure guarantee. For a zero-parameter read-only diagnostic, nothing an agent needs 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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline applies. The enumerated report fields describe output rather than inputs, which is appropriate 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 opens with a specific verb-and-resource framing ("Diagnostic tool ... reports the resolved DSH root and CLI path, CLI version, configured model ...") and enumerates exactly what is returned. This is clearly distinguishable from the action-oriented siblings like delegate_to_dsh and dsh_execute, which perform work rather than report environment state.

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?

"Use this first when a delegation fails or the server seems unhealthy" gives an explicit trigger condition and establishes precedence. It does not explicitly name a when-not case or point to a specific follow-up sibling, which keeps it just short of a 5.

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