Skip to main content
Glama

dsh_doctor

Diagnose the local DeepSeek Harness installation to verify the DSH entry, home, and model credential before delegation or when a delegation fails.

Instructions

Diagnose the local DeepSeek Harness installation used by this MCP server: which dsh entry was found, the DSH home, and whether a model credential is reachable. Call it when a delegation fails or before the first delegation on a new machine.

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_doctor"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose what is inspected and reported, which implies a read-only probe, but it never states that it makes no changes, requires no auth, or has any side effects — an agent cannot be certain it is safe to call speculatively.

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?

Two sentences, zero filler: the first front-loads what is diagnosed and enumerates the checks, the second supplies the trigger conditions. Nothing is repeated from the name or title.

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 zero-parameter diagnostic with no annotations and no output schema, the description covers what it examines and when to run it. A brief note on whether it mutates state or what a failure result looks like would close the remaining gap.

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 the schema needs no explanation and the baseline is 4. The description is consistent with a no-argument call and adds no confusion about inputs.

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?

"Diagnose the local DeepSeek Harness installation" gives a specific verb plus resource, and the colon-list narrows the scope to three concrete checks (entry found, DSH home, credential reachability). Siblings are all session/task delegation tools, so this diagnostic role is unambiguous.

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 names two concrete trigger conditions: when a delegation fails, and before the first delegation on a new machine. That is clear when-to-use guidance, though it offers no explicit when-not guidance or alternative diagnostic/troubleshooting paths.

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