Skip to main content
Glama

list_codebases

Read-onlyIdempotent

Retrieve all product codebases linked to a project, including names, folders, branches, file and component counts, design token files, and missing-folder status.

Instructions

The product codebases linked to this project: name, folder, git branch, how many source files, the files that hold its design tokens, and how many components and styles it has. A codebase whose folder is gone says missing.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuine behavioral context beyond that by specifying the returned fields and the edge case that a codebase whose folder is gone reports "missing" — useful for interpreting results. It does not mention ordering, pagination, or whether unreachable/remote codebases are included, so it is 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.

Conciseness5/5

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

Two sentences, front-loaded with the resource and then the returned fields, with a short trailing sentence devoted to the one non-obvious edge case. No filler and no repetition of the tool name.

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?

With no output schema, the description carries the full burden of explaining return values, and it does so by enumerating each field plus the missing-folder sentinel. Minor gap: it does not state result ordering or what happens when a project has no codebases.

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 tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline applies. The description correctly implies the call is implicitly scoped to the current project rather than taking a project argument.

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?

States the resource precisely ("product codebases linked to this project") and enumerates the fields returned, so an agent knows exactly what it gets. It lacks an explicit verb and does not name a sibling it differs from, but the resource specificity separates it from the other list_* tools well enough.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer it should call this to see which codebases belong to a project. There is no explicit when-to-use statement, no exclusion, and no routing to alternatives (e.g., list_projects or list_components for related queries).

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

Deploy Server

Other Tools