Skip to main content
Glama

list_repositories

Browse accessible repositories in the DAIV catalog, filtering by name, topics, or language and paging results with a cursor.

Instructions

List repositories the calling user can view, served from the local RepositoryCatalog mirror.

Members see only repositories for which they have at least read access; admins see the full catalog. Returns {"repositories": [...], "next_cursor": str | None} ordered by slug — pass next_cursor back to fetch the next page; None means no more rows. Narrowing with search is cheaper than paging the whole catalog (topics and language are matched server-side row by row, so they are not); either way a filter matching more than limit is reachable by paging. Each repository carries its languages breakdown (percent of the code).

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
limitNoMax rows (default 20, capped at 50).
cursorNoOpaque pagination token from a prior call's ``next_cursor``. Omit for the first page; reuse the SAME search/topics/language filters across pages.
searchNoFilter repositories by name (partial match).
topicsNoFilter repositories by topic tags: all must match, case-insensitive.
languageNoFilter by programming language: repositories where it is at least 10% of the code (case-insensitive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses permission-based row visibility (read-access for members, full catalog for admins), result ordering by slug, the next_cursor/None pagination contract, and relative cost of filter types. It stops short of explaining mirror staleness/refresh behavior or any rate limits, which matters for a tool explicitly served from a local mirror.

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?

Purpose is front-loaded in the first clause, followed by permission scope, return shape, pagination, and filter cost — a sensible order. The parenthetical about server-side row-by-row matching is slightly convoluted and could be tightened, but no sentence is filler.

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?

There is no output schema, yet the description specifies the return envelope ('repositories' plus 'next_cursor'), the ordering, and the meaning of a None cursor, plus that each row includes a 'languages' percentage breakdown. Combined with the permission and pagination notes, an agent has everything needed to call and interpret 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?

Schema coverage is 100%, so all five parameters are already documented, making 3 the baseline. The description does add marginal meaning by explaining the cost asymmetry between 'search' and the server-side row-by-row 'topics'/'language' filters, but it does not restate or extend the limit/cursor mechanics beyond what the schema says.

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?

States a specific verb and resource ('List repositories'), the visibility scope ('the calling user can view'), and the backing source ('local RepositoryCatalog mirror'). The resource name alone separates it from the sibling list_environments/list_jobs tools, so an agent can pick it without opening the schema.

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?

Gives actionable selection guidance among the tool's own modes: prefer 'search' over paging the whole catalog, and notes that 'topics'/'language' are matched row-by-row server-side so that cost advantage does not apply. It does not name an alternative tool or state when not to call it, which keeps it short of a 5.

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