Skip to main content
Glama

UI Run Diagnosis

app_diagnose

Runs a full refresh of workspace skill and rule diagnostics, flagging conflicts, trigger collisions, duplicate names, broken references, token bloat, and security hazards for a health score.

Instructions

App-only full skill & rule diagnosis refresh

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

Input Schema

NameRequiredDescriptionDefault
workspaceDirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and delivers almost nothing. "Refresh" hints at a recompute that may write or invalidate cached state, but the description never says whether it mutates anything, what it requires in terms of environment or permissions, how long a "full" run takes, or what the result looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At seven words it is not verbose, but it is an under-specified noun-phrase fragment rather than a front-loaded statement of action and scope. Brevity here costs clarity rather than earning its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a "full" diagnosis tool with zero annotations, no output schema, and an undocumented parameter, the description omits nearly everything an agent needs: scope, cost, side effects, and result shape. Only the skill-and-rule subject matter is conveyed.

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

Parameters1/5

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

Schema description coverage is 0% for the single parameter workspaceDir, and the description never mentions it or explains what happens when it is omitted. With a fully undocumented parameter, the description was required to compensate and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names a resource pairing ("skill & rule") and an action ("diagnosis refresh"), so an agent can tell it is a diagnostics recompute for skills and rules rather than a single-target check. However "App-only" is unexplained and "refresh" is ambiguous about whether it re-runs analysis or merely reloads cached results, so it does not clearly separate itself from diagnose_skills or inspect_skill_health.

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?

There is no guidance on when to select this over sibling diagnostics tools (diagnose_skills, check_rule_conflicts, inspect_skill_health, open_skill_doctor), nor on prerequisites or exclusions. The only usage-adjacent phrase, "App-only," is never defined, leaving the agent to guess the scope.

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