Skip to main content
Glama

recon_scan

Scan a local codebase read-only to generate a scoped architecture map, dependency/EOL risk list, and modernization-estimate inputs, without executing target code.

Instructions

Narrowed-scope recon of a local codebase directory: architecture map + dependency/EOL risks + modernization-estimate inputs, in one scoped report. Read-only; never executes target code. Read-only legacy codebase recon — NARROWED OBSERVED SCOPE (CLAIM-SCOPE.md): architecture map, dependency/EOL risk list, modernization-estimate inputs. Within that scope, reported entries cite evidence or basis; standing unknowns are UNKNOWN, never guessed. OBSERVED is a scoped positive inventory, not an exhaustive or universal JS/TS claim.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "recon_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
max_filesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does supply real behavioral context: read-only, 'never executes target code', an evidence-or-UNKNOWN reporting discipline, and a scoped rather than exhaustive inventory. However, it discloses nothing about execution limits or truncation (relevant given a max_files parameter), no indication of runtime or cost, and it leans on an external artifact ('CLAIM-SCOPE.md') the agent cannot read. 'Read-only' and the scope disclaimer are each stated twice, which suggests padding rather than additional information.

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?

The content is compact but heavily repetitive and jargon-laden: 'read-only' appears twice, the 'NARROWED OBSERVED SCOPE' concept is restated across three sentences, and 'OBSERVED is a scoped positive inventory' is a definitional aside that crowds out basic information like what max_files does. The front-loaded purpose sentence is good, but the remainder is mostly restatement and internal-terminology noise.

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 scoped-scan tool with no output schema, the description does establish what categories of findings come back and how uncertainty is represented, which is the most important thing an agent needs. It stops short on the practical side: no report shape, no truncation behavior, no cost or depth expectations, and no routing against the three sibling tools that produce the same artifacts individually.

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 coverage is 0% for two parameters. The description implies that 'path' points at a local directory, which is useful, but it says nothing about whether the path is absolute or relative, or whether a file path is rejected. 'max_files' is never mentioned at all, so its effect on results (truncation? error? sampling?) is completely unknown to the caller.

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 opening clause names a specific verb and resource ('narrowed-scope recon of a local codebase directory') and enumerates the three artifacts produced (architecture map, dependency/EOL risks, modernization-estimate inputs). That is substantially clearer than the bare name. It never names the three sibling tools it overlaps with, so the boundary between this composite and architecture_map / dependency_risk_list / modernization_inputs is left implicit.

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?

The phrase 'in one scoped report' is the only hint that this is the bundled alternative to the three sibling tools, and the agent must infer that. There is no explicit when-to-use, when-not-to-use, or prerequisite statement (e.g. repo size, language assumptions, when to prefer the single-purpose siblings). Given three near-identical siblings exist, this is the definition's largest gap.

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