Skip to main content
Glama

list_file_summaries

Lists compact one-line summaries of all indexed files in a project, giving you a quick overview before diving into specific files or code searches.

Instructions

List all indexed file summaries for a project. Returns compact one-line descriptions. Use to get project overview before diving into specific files.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_file_summaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results
projectNoProject namedefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the return shape ('compact one-line descriptions') and implies a read-only list over indexed files, but says nothing about whether an index must exist first, how the limit truncates results, or what happens for an unknown project.

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?

Three short sentences, front-loaded with the action and resource, followed by the return format and the usage cue. No filler, though the return-format sentence is the least essential of the three.

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 simple two-parameter list tool with no output schema, the description covers the action, the scope, and the return format. The main gap is behavioral context that annotations would normally supply, such as index prerequisites or result truncation.

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 both 'limit' and 'project' are already documented in the schema. The description only echoes the project scoping and describes the output rather than adding parameter semantics; baseline 3 applies when the schema does the work.

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?

States a specific verb and resource: 'List all indexed file summaries for a project.' The word 'indexed' usefully narrows scope to already-indexed files. It does not name a sibling (e.g., search_file_summaries or get_file_summary) to contrast against, so it is clear but not differentiated.

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 clause 'Use to get project overview before diving into specific files' gives a usage context and implies the drill-down alternatives without naming them. There is no explicit when-not or named alternative such as search_file_summaries, so the guidance is implied rather than directive.

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