Skip to main content
Glama

Enhanciar — company brain

list_repos

List the repos ingested into the key's workspace.

Returns {full_name, branch, last_ingested_at} records. Use this when the agent needs to know what context is available before asking a question.

Reads what ingest actually recorded for this namespace: repos.json (the repo→clone map every other read path resolves through) plus the per-repo _state files that carry the branch and the last run's timestamp.

It used to read a Firestore subcollection users/{uid}/repos, which was wrong twice over. It was keyed by the person rather than the workspace — the bug this module was fixed for — and nothing in the codebase has ever written to that path, so the tool returned an empty list to everyone, forever. Hence branch rather than the old default_branch: the state file records the branch that was actually ingested, and no caller can be depending on a key that never had a row under it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description fully carries the behavioral disclosure burden. It reveals exactly what is read (repos.json, per-repo _state files), explains the historical Firestore bug and why it was wrong, and clarifies why the field is named branch rather than default_branch. This is far beyond a typical listing tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, but the second half is a lengthy historical explanation about the Firestore bug and field-name rationale. While informative, it could be trimmed significantly; the narrative about 'wrong twice over' and returning an empty list to everyone is not essential for correct tool invocation.

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?

For a zero-parameter tool with an output schema and no annotations, the description is complete. It states the namespace scope, data sources, and why certain data appears, leaving no operational ambiguity for an agent.

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 has zero parameters, so the baseline is 4. The description correctly implies no arguments are needed and instead focuses on the behavior and output, which adds value beyond the empty schema.

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 first sentence names a specific verb and resource — listing repos for the key's workspace — and specifies the return record shape. It clearly differs from sibling list tools like list_pages and list_skills, so an agent can select it correctly.

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 an explicit use case: 'Use this when the agent needs to know what context is available before asking a question.' It does not name sibling alternatives or exclusion conditions, but the context is clear enough to guide selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources