Skip to main content
Glama

diagnose_project

Read-onlyIdempotent

Rank candidate UI checks from supplied metadata to filter scroll, overlay, viewport, overflow, focus, form, and hydration cases; validate preconditions before treating candidates as bugs.

Instructions

Rank candidate UI checks from supplied metadata. For multiple applications, supply applications and select activeApplication; without selection no adapter is generated. Dependencies do not establish route rendering mode. Supply interaction facts to exclude inapplicable canvas or hydration cases. Candidates require precondition checks and are not observed bugs. No repository files are read.

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

Input Schema

NameRequiredDescriptionDefault
stackNo
symptomNo
categoryNo
targetUrlNo
renderModeNounknown
interactionNo
applicationsNo
dependenciesNo
activeApplicationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, and the description adds context the annotations cannot: no repository files are read, no adapter is generated without an active selection, and the output is unverified candidates rather than observed bugs. These are meaningful behavioral facts about data source and result reliability. It stops short of describing output shape or how ranking is computed.

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?

Six short sentences, front-loaded with the core action, with no filler. The terse phrasing ("Dependencies do not establish route rendering mode") is efficient but borders on cryptic, requiring inference about what the agent should do instead.

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

Completeness3/5

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

For a nine-parameter nested-input tool with no output schema, the description covers multi-app selection, interaction gating, and the non-authoritative nature of results, but leaves four parameters unexplained and does not indicate what a returned candidate list contains. It is adequate to avoid gross misuse but not complete enough to call the tool confidently.

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 0% across nine parameters, so the description must compensate and only partially does: it explains applications, activeApplication, interaction facts, and a constraint on dependencies. It says nothing about stack, symptom, category, targetUrl, or renderMode, and does not define how the nested interaction fields change results beyond naming them generically.

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 first sentence names a specific verb and output ("Rank candidate UI checks from supplied metadata"), so an agent knows this produces a ranked hypothesis list rather than an audit result. It implicitly separates itself from the audit_* siblings by calling results "candidates" rather than findings, but it never names or contrasts a sibling explicitly.

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

Usage Guidelines3/5

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

It gives conditional usage rules for parameter combinations: supply applications plus activeApplication for multi-app input, supply interaction facts when canvas or hydration cases may be inapplicable. However, it offers no guidance on when to use this tool instead of the many audit_* tools, nor any prerequisite or exclusion conditions beyond those parameter hints.

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