Skip to main content
Glama

Identify Key Files

identify_key_files

Identifies the key files to read first in a codebase, accepting a local folder path or GitHub URL without cloning.

Instructions

Identifies the most important files a developer must read first. Accepts a local folder path OR a GitHub URL (e.g. https://github.com/user/repo) — no cloning needed.

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": {
      "repo_path": "<repo_path>"
    },
    "name": "identify_key_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
focusNoOptional focus area e.g. 'backend API', 'database models'
repo_pathYesLocal folder path OR a GitHub repo URL (https://github.com/user/repo)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that a GitHub URL is accepted without cloning, which is real behavioral context, but says nothing about authentication for private repos, size/time limits, how many files are returned, or whether results are ranked — all material for a no-annotation tool.

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?

Two short sentences, front-loaded with the purpose, then the input flexibility with a concrete URL example. No filler or redundancy; every clause carries information.

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 simple two-parameter tool with no output schema and no annotations, the description covers purpose and input modes but leaves return shape, result volume, and private-repo handling unaddressed. Adequate to invoke, but not complete enough to predict behavior.

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 100%, so the schema already documents both repo_path (local path or GitHub URL) and focus. The description restates the dual-input mode and adds 'no cloning needed', but adds no new semantics for the focus parameter or input formatting beyond the schema.

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 gives a specific verb ('Identifies') and a concrete resource ('the most important files a developer must read first'), so an agent immediately understands the output class. It does not explicitly distinguish itself from the sibling scan_repo_structure, which could plausibly overlap, so it falls short of a 5.

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?

Phrasing like 'files a developer must read first' implies an onboarding/orientation use case, but there is no explicit statement of when to pick this over ask_codebase or scan_repo_structure, and no exclusions or prerequisites. Usage must be inferred from the stated purpose.

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