Skip to main content
Glama

List Repos

list_repos

Displays all indexed repositories, including paths, file and chunk counts, and language breakdowns, so you can identify and orient codebases before querying.

Instructions

List all indexed repositories with paths, file/chunk counts, and language breakdowns.

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_repos"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it implies a read-only enumeration and usefully discloses the shape of what is returned (paths, counts, language breakdown). It does not state ordering, pagination or result-size limits, nor whether the list is scoped to a workspace, so behavior on a large index is unstated.

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?

A single front-loaded sentence with no filler; the scope ("all indexed repositories") leads and the returned content follows. Nothing in it is redundant or repeated from structured fields.

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 zero-parameter list tool with an output schema, the description covers purpose and hints at payload content, which is most of what an agent needs. The remaining gap is operational: no statement of ordering, volume limits, or how an empty index behaves.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, which is the baseline-4 case: there is nothing for the description to clarify beyond confirming that the listing is unfiltered and unscoped. The description is consistent with the empty 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?

"List all indexed repositories" gives a specific verb plus resource, and the trailing clause names the fields the agent will get back (paths, file/chunk counts, language breakdowns). It is clear on its own but never distinguishes itself from near-siblings such as list_indexed_projects or get_repo_overview, so an agent must guess which listing call to make.

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?

There is no explicit when-to-use statement, no exclusion of alternatives, and no mention of prerequisites (e.g., whether any repositories must already be indexed). The phrase "all indexed repositories" only weakly implies a discovery/overview role, leaving the choice against get_repo_overview or list_indexed_projects entirely to inference.

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