Skip to main content
Glama

List projects

list_projects
Read-onlyIdempotent

List the projects you can open. Each has id, name, slug, color and visibility, and the result adds hasMore and nextCursor. Active only unless archived is include or only. Filter by visibility, prefix or q, sort with sort and order, and add include for counts or links. Use the id as projectId elsewhere; to find one by keyword use search.

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

Input Schema

NameRequiredDescriptionDefault
qNoOnly projects whose name, slug or description matches this text.
sortNocreatedAt and updatedAt page the whole workspace; name works up to 1,000 projects. Not available with updatedSince.
limitNoHow many projects to return in one page.
orderNoDirection for sort. Ascending when omitted.
cursorNonextCursor from the previous page. Leave it out for the first page.
prefixNoTask identifier prefix such as PRO.
includeNoAdd post and storage counts or links to each project.
archivedNoWhether archived projects are listed. exclude leaves them out and applies when omitted, include adds them, only lists just the archived ones.
visibilityNoList only public or only private projects. Both are listed when omitted.
updatedSinceNoEpoch milliseconds or an ISO 8601 time. Returns projects changed after it, oldest change first. To poll, start 5s before the newest updatedAt and skip repeats.
includeDeletedNoWith updatedSince, also report deleted projects.
response_formatNoHow much to return. concise applies when omitted; detailed adds every field and the full text.

Output Schema

NameRequiredDescriptionDefault
hintNoA tip on reading cut text in full or on a faster way to do this. Sent only when one applies.
hasMoreNotrue when another page exists.
projectsYesThis page of results.
nextCursorNoPass as cursor for the next page. Null or absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's added value is elsewhere: it discloses that results are paginated (hasMore, nextCursor), that archived projects are excluded by default, and that the returned id is the projectId used in other calls. It does not discuss limits or behavior at large workspaces, which the schema hints at for `sort`.

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?

Four compact sentences, front-loaded with what the tool returns before the behavioral defaults and the sibling pointer. No filler and no repetition of the name or title.

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 12-parameter, fully-described list tool with an output schema and rich annotations, the description covers the remaining gaps an agent needs: default filtering, pagination contract, and where the returned id is consumed. Return-shape detail is correctly kept light because an output schema exists.

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 description coverage is 100%, so the schema already documents all 12 parameters including the `updatedSince`/`includeDeleted` polling pair. The description mostly re-states parameter purpose (filter by visibility/prefix/q, sort, include) rather than adding new meaning; the one genuine addition is the "use the id as projectId elsewhere" cross-reference, which is about output, not input.

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?

Opens with a specific verb and resource plus a scope qualifier ("projects you can open"), then enumerates the fields returned and names the sibling to use for keyword lookup ("to find one by keyword use search"). An agent can distinguish this from search without opening either 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 concrete routing guidance ("to find one by keyword use search") and states the default listing behavior ("Active only unless archived is include or only"), which tells the agent when the default is wrong. It stops short of covering every alternative path (e.g. fetching a single project by id), so not quite a 5.

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