Skip to main content
Glama

modernization_inputs

Collects raw inputs for legacy modernization estimates—LOC by language, test presence/ratio, manifest age signals, and fan-in coupling hotspots—without producing an estimate.

Instructions

Modernization estimate INPUTS only (LOC by language, test presence/ratio, manifest age signals, coupling hotspots by fan-in) — raw inputs, NOT an estimate. 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": "modernization_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
max_filesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 does disclose important behavior: read-only recon, narrowed observed scope, evidence-backed entries, and UNKNOWN handling. It still does not cover permissions, traversal behavior, limits, or what the response 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.

Conciseness3/5

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

The main purpose is front-loaded, but the description is dense and overburdened with parentheticals and repeated scope caveats. It communicates important scope rules, though less efficiently than it could.

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 two-parameter recon tool with no output schema, the definition explains the input categories and evidence semantics but omits parameter meaning and basic return/traversal behavior. An agent can infer the high-level purpose but lacks enough detail to invoke it confidently.

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?

The schema has two parameters with 0% description coverage, and the description does not explain path or max_files. Instead it lists output categories, leaving both required path semantics and max_files behavior undocumented.

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 description states a specific purpose: collecting modernization estimate inputs such as LOC by language, test ratios, manifest age signals, and coupling hotspots. It also distinguishes the tool from producing an estimate, though it does not explicitly compare itself with siblings like architecture_map or dependency_risk_list.

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?

Usage is implied by the read-only legacy codebase recon framing and the modernization-input scope. However, there is no explicit guidance on when to choose this tool over architecture_map, dependency_risk_list, or recon_scan.

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