Skip to main content
Glama

kdm_status

Read-only

Check debug connection, project, chip, firmware match, errors, freeze/watchdog state, and permission level; auto-connects to Keil uVision and should be called first.

Instructions

Trạng thái kết nối, project, chip, firmware_match, lỗi, freeze/watchdog, mức quyền. Tự kết nối. Gọi đầu tiên.

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": "kdm_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_dirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered, and the description adds the non-obvious trait 'Tự kết nối' (auto-connects) — meaning this 'read' tool has a connection-establishment side effect. It also implies the response can report fault state (freeze/watchdog, lỗi) and permission level, which is useful context. It omits whether the call blocks or fails outright when no device is present.

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?

Very compact with no filler — three fragments, each carrying information. However it is a telegraphic comma list rather than structured prose, and the single most actionable instruction ('call first') is placed last instead of front-loaded.

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?

There is no output schema, and the description compensates by listing the returned signals (connection, project, chip, firmware_match, errors, freeze/watchdog, permission), which is exactly what an agent needs to decide whether to call it first. The only meaningful gap is the undocumented project_dir parameter and the absence of any note on failure/no-device behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter 'project_dir' is never mentioned in the description, so an agent gets no explanation of what the directory selects or what the null default means. With low coverage the description is expected to compensate and it does not at all.

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 enumerates exactly what the status report contains: connection, project, chip, firmware_match, errors, freeze/watchdog, permission level. 'Status' plus a field list tells an agent the shape of the response without opening anything else, which no sibling tool duplicates. It stops short of a clean verb+resource phrasing (the enumeration is noun-list style), so it is not a 5.

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?

'Gọi đầu tiên' (call first) gives an explicit ordering rule relative to the other tools in the session, which is the key selection guidance for a status/probe tool. It does not state when not to use it or name an alternative (e.g. a cheaper liveness check), so it falls short of full 5-level routing guidance.

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