Repository navigation
Description
Summary
The local MCP server's tools/list is built from McpToolBridge.CommandDescriptions. Four capabilities are registered with WindowsNodeClient (and thus served on MCP) but have no entries in the descriptions table and no sections in the shipped skill.md:
location.getdevice.infodevice.statusbrowser.proxy
The drift test (SkillMdDriftTests) only enforces symmetry between skill.md and McpToolBridge.CommandDescriptions. It cannot catch "missing from both files."
Where
- Capability registration:
src/OpenClaw.Tray.WinUI/Services/NodeService.cs:266-381 - Descriptions table:
src/OpenClaw.Shared/Mcp/McpToolBridge.cs:184-273 - Drift test:
tests/OpenClaw.WinNode.Cli.Tests/SkillMdDriftTests.cs:20-40 - Capabilities affected:
src/OpenClaw.Shared/Capabilities/LocationCapability.cs:14,DeviceCapability.cs:22-26,BrowserProxyCapability.cs:18
Why it matters
Agents connecting via MCP use tools/list for cold-start discovery. Tools with no description and a permissive additionalProperties input schema are essentially undiscoverable — the agent has to guess parameter shapes from the name. For device.status, that means an agent has no idea the sections array argument exists, or what values it accepts.
Proposed fix
- Add
CommandDescriptionsentries for the four missing tools. The descriptions forlocation.get,device.info,device.status, andbrowser.proxyshould describe:- The tool's purpose in one sentence.
- Each parameter, its type, and any constraints.
- The shape of the success payload.
- Any privacy-sensitive aspects (
device.statusreveals battery / network type).
- Extend
SkillMdDriftTeststo walk everyINodeCapability.Commandsvalue via reflection over the registered capabilities, and assert each appears in bothCommandDescriptionsandskill.md. This catches future drift. - Add corresponding
skill.mdsections.
Related findings
This is the most visible symptom of the broader AI-ergonomics gap: MCP tools have permissive inputSchema: {type:"object", additionalProperties:true} regardless of the actual parameter shape. A separate issue (A2) tracks moving to typed schemas.
Severity
Medium — discoverability gap; agent cold-start fails for four real tools.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
shanselman commentedon May 18, 2026
Closing during the post-refactor deep-review cleanup. MCP tool metadata/docs work is consolidated into the #372 post-refactor tracker for a fresh pass. This keeps the signal while reducing stale one-off issue noise.
fix(mcp): add missing tool descriptions for location.get, device.info…
fix(mcp): add missing Windows node tool descriptions