Skip to main content
Glama

list_repositories

Read-onlyIdempotent

List configured repositories with their paths and architecture metadata to map the workspace; optionally include host-specific absolute paths for machine-local inspection.

Instructions

List configured repositories, their paths, and architecture metadata.

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

Input Schema

NameRequiredDescriptionDefault
include_absoluteNoInclude host-specific absolute paths. Default False keeps results portable across machines.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • addedInput schema / properties / include_absolute
      Added value: +{
      +  "default": false,
      +  "description": "Include host-specific absolute paths. Default False keeps results portable across machines.",
      +  "title": "Include Absolute",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the description only needs to add context. It notes that results include paths and architecture metadata, but says nothing about ordering, scope, or when absolute vs portable paths are needed beyond what the schema already explains. Adequate, not rich.

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?

One compact sentence with the resource front-loaded and no filler. It could be marginally stronger by naming the concrete output fields or the discovery use case, but nothing is wasted.

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?

This is a simple zero-required-parameter list tool with an output schema, so return values need not be explained and the annotations carry the safety profile. The only meaningful omission is guidance on when to prefer repository_health or find_generated_artifacts instead.

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?

The single parameter is fully documented in the schema, including the portability rationale for include_absolute defaulting to false. The description adds no parameter meaning beyond that, so the baseline 3 for high schema coverage 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 a specific verb (List) and resource (configured repositories) and enumerates the payload: paths and architecture metadata. That is enough to distinguish it from siblings like repository_health or find_generated_artifacts, though the boundary with those tools is not stated explicitly.

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 when-to-use or when-not-to-use guidance and no mention of alternatives such as repository_health for diagnostics. The agent must infer from the name alone whether this is a discovery step or a status check.

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