Skip to main content
Glama

Dispatch Read-Only Inspection to DSH

dsh_inspect

Runs read-only code review, security, style, diff, or scouting inspections on a local codebase, streams progress to AI Hub, and confirms no files were modified.

Instructions

Dispatch a fast, strictly read-only inspection, code review, security check, or pre-flight codebase scout task to the local DSH CLI (DeepSeek v4.1 Flash). Streams progress into the AI Data Hub and verifies no files were modified.

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": {
      "prompt": "<prompt>"
    },
    "name": "dsh_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
asyncNoIf true, return immediately with run_id and wait_cmd for reactive wakeup via run_command (recommended for >30s scans).
titleNoShort task title shown in the AI Hub dashboard.
promptYesClear read-only review or scouting instructions.
workdirNoAbsolute working directory path.
check_typeNoType of read-only inspection.
timeout_secNoTimeout in seconds (default 600; leave unset unless overriding).
target_pathsNoOptional list of file or directory paths to focus on.
soft_wait_secNoMax seconds to wait synchronously before auto-detaching to background (default 25, max 120, 0 = immediate async).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/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 it does well on the safety profile: 'strictly read-only', progress streamed to the AI Data Hub, and a post-run verification that no files were modified. It stops short of disclosing concurrency limits, what happens on timeout, or how failures surface, which matters for an 8-parameter dispatcher.

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?

A single tightly packed sentence, front-loaded with the verb and ending on the read-only verification guarantee; nothing is padded. It is dense enough that the streaming and no-modification claims could have been split out for readability, but no sentence is wasted.

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 an 8-parameter dispatch tool with complete schema coverage and no output schema, the description covers the essentials: what it runs, where progress goes, and the read-only safety guarantee. Missing are the return shape expectations and timeout/failure behavior, which an agent would need when deciding between sync and async modes.

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 the baseline is 3 and the schema already explains async, soft_wait_sec, workdir, and target_paths. The description adds only loose framing, tying the tool to review/security/scout/diff style work, without clarifying any individual parameter's effect.

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 gives a specific verb (dispatch) plus a concrete resource (read-only inspection/code review/security/scout task) and names the backing engine (local DSH CLI, DeepSeek v4.1 Flash). It does not explicitly distinguish itself from nearby siblings such as codex_review or codex_exec_backend, so an agent must infer the split from the 'read-only' qualifier alone.

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

Usage Guidelines2/5

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

Usage is only implied: 'read-only inspection', 'pre-flight codebase scout', and a strictly-read-only guarantee suggest when the tool fits, but there is no explicit when-to-use/when-not framing and no named alternative for non-read-only work. The check_type enum in the schema carries most of the 'which kind of task' routing, not the description.

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