Skip to main content
Glama
kvnpetit

SRC (Structured Repo Context)

by kvnpetit

List configured projects

list_projects
Read-onlyIdempotent

List safe project roots and their index status before querying multiple repositories, so you can confirm which codebases are ready for semantic or keyword search.

Instructions

List the safe project roots available to SRC and each index status. Use this before querying multiple configured repositories; projects remain independently indexed and queried.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeCurrentNoInclude the current directory when no roots are configured

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaYes
errorNo
messageNo
successYes
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, and the description adds meaningful context beyond those: the notion of 'safe' roots, the inclusion of index status, and the independence of projects. No contradiction exists.

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 with no filler. The first sentence defines scope and output; the second gives usage direction. Both earn their place.

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

Completeness5/5

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

Given the output schema exists, the single optional parameter is fully documented in the schema, and the annotations cover safety/idempotency, the description is complete. An agent has everything needed to call this tool correctly.

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 input schema has 100% description coverage, including a clear explanation for includeCurrent. The description itself does not discuss parameters, so the baseline of 3 is appropriate since the schema is already doing the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('List') and resource ('safe project roots available to SRC') plus the output detail ('each index status'). This distinguishes it clearly from sibling tools like get_index_status and list_symbols.

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?

The description gives a concrete when-to-use instruction: 'Use this before querying multiple configured repositories.' It also explains the behavioral context that projects are independently indexed and queried. It does not explicitly name alternatives or when-not-to-use, which would merit a 5.

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