Skip to main content
Glama

full_health_scan

Run a complete codebase health scan: dead code, circular dependencies, coupling metrics, and architectural drift. Returns an overall health score (0-100) and prioritized findings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathNoPath or URL to the repository

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses that the tool returns a score (0-100) and prioritized findings, and its 'scan' wording implies a read-only operation, so it is not misleading. However, it does not explicitly state that the scan is non-destructive, nor does it mention potential side effects of accepting a URL (e.g., cloning), runtime cost, or failure modes.

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

Conciseness5/5

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

The description is two tight sentences: the first front-loads the action and scope, the second states the return. Every phrase earns its place and there is no fluff or repetition of the tool name.

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?

Despite the low parameter count, the description leaves critical gaps: repo_path is optional (required: 0) but the description does not say what happens when it is omitted; no output schema exists, so 'prioritized findings' remains vague; and the relationship to the specialized sibling tools is not stated, so an agent cannot tell whether it should call this tool or the individual ones for details.

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?

The schema has 100% coverage for the single parameter repo_path, which is described as 'Path or URL to the repository'. The description adds no additional meaning about this parameter, staying at the baseline, and it does not clarify the parameter's optionality (required parameters: 0) or default behavior.

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

Purpose5/5

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

The description states a specific action ('Run a complete codebase health scan'), enumerates the exact scan dimensions (dead code, circular dependencies, coupling metrics, architectural drift), and defines the output (health score 0-100 and prioritized findings). This clearly separates it from the specialized sibling tools by covering them all in one complete scan.

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?

The word 'complete' implies this is the aggregate tool to use when a broad health overview is needed, but the description never explicitly tells the agent when to prefer this over analyze_coupling, analyze_dead_code, etc., nor does it list any exclusions. Usage must be inferred from the listing of sub-analyses rather than stated guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources