Skip to main content
Glama

read_list

Lists the rules, risks, checks, tests, and callers tied to given files, plus prior breakage from git history, so you know what to review before editing.

Instructions

What to read and check before changing these files: the project rules and risks that apply, the checks to run, the tests that reach the code and the files that use it, and where the file broke before (from git history). Call it before editing.

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": {
      "files": "<files>"
    },
    "name": "read_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYespaths relative to the repository root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the substance of the response (rules, risks, checks, tests, dependents, git-history breakage), which is valuable, but it omits cost/latency expectations, whether the tool touches the network or runs repo-wide analysis, and whether output is exhaustive or capped.

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?

It is a single tight sentence with no filler, and the action instruction is placed last as a call to action. The sentence is a dense run-on list, though, which slightly hurts scannability of the distinct payload categories.

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

Completeness4/5

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

For a one-parameter read-only tool with no output schema, the description covers what the agent needs: what it returns and when to call it. Remaining gaps (path format handling, behavior for unknown files, result size) are minor relative to the tool's simplicity.

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?

There is only one parameter with 100% schema description coverage ('paths relative to the repository root'), so the schema already does the work. The description's 'these files' adds no format detail such as whether absolute paths, directories, or globs are accepted, so the baseline of 3 applies.

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 names the resource scope (the files passed in) and enumerates the payload: project rules, risks, checks, tests reaching the code, dependents, and prior breakage from git history. It never uses a clear verb like 'returns' or 'list', so the agent must infer that the tool produces a curated reading list rather than performing a check, and it does not distinguish itself from siblings like changed_read_list or find_existing.

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

Usage Guidelines4/5

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

It gives an explicit call condition: 'Call it before editing.' That is a clear precondition, but there is no when-not guidance, no mention of how it differs from changed_read_list (a close-sounding alternative) or find_existing, and no note about what to do if it returns nothing for a file.

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