Skip to main content
Glama

List projects

list_projects
Read-only

List the projects in a space, as structured JSON (id, name). Pass an id to read_project to read its contents. This is the structured counterpart to browsing projects/ via inspect_space. Returns 100 projects per page, newest first. When pageInfo.hasNextPage is true, pass pageInfo.endCursor as after to read the next page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spaceId": "<spaceId>"
    },
    "name": "list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoPagination cursor: the `pageInfo.endCursor` of the previous page. Omit for the first page.
spaceIdYesSpace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that with page size (100), ordering (newest first) and the pagination protocol. It stops short of describing error cases or total counts, so with annotations carrying the safety burden this lands at a solid 3, not higher.

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 short sentences, front-loaded with purpose and return shape, then the sibling routing, then pagination. No sentence repeats structured data or wastes words.

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, and the description compensates by naming the returned fields and explaining `pageInfo` pagination, which is the main complexity for a paged list tool. Combined with annotations covering safety, an agent has everything needed to call it correctly and iterate pages.

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?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by tying `after` directly to `pageInfo.endCursor` and by noting that omitting it yields the first page. `spaceId` scope is stated only implicitly ('in a space'), which keeps it from a 5.

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 the projects') plus scope ('in a space') and the return shape ('as structured JSON (id, name)'). It also distinguishes itself from both `read_project` (drill-down) and `inspect_space` (browsing), so an agent can tell it apart from the siblings named in the definition.

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

Usage Guidelines5/5

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

Gives explicit chains of use: pass an id to `read_project` to read contents, and use `inspect_space` when browsing `projects/` is wanted instead. It also tells the agent exactly how to continue paging via `pageInfo.endCursor` as `after`, so the when-to-use and next-step guidance is complete.

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.