Skip to main content
Glama

list_spaces

Read-only

Retrieve the wiki spaces the authenticated user can access; supports pagination with limit and cursor parameters.

Instructions

List spaces the authenticated user can access.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNometa.nextCursor

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.0
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor from meta.nextCursor"New value: +"meta.nextCursor"
    • removedInput schema / properties / limit / description
      Removed value: -"Page size, 1-100"
  2. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered and the description need not repeat it. The description does add useful scope context — results are filtered by the authenticated user's access — but says nothing about pagination behavior, result ordering, or whether inaccessible spaces are silently omitted.

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?

A single front-loaded sentence with no filler, which is appropriate for a simple list operation. Its brevity is close to under-specification, but nothing written is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only list tool with no output schema, the description covers the essential 'what' and access scope. It falls short on the pagination contract, which matters because one of the two parameters is a cursor whose schema description is cryptic.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: 'limit' has only a numeric bound and 'cursor' is described opaquely as 'meta.nextCursor'. The description adds no meaning to either parameter and does not explain that this is a cursor-paginated endpoint or how to obtain the first cursor, leaving the agent to guess the pagination contract.

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?

The description states a specific verb and resource ('List spaces') plus a scope ('the authenticated user can access'), which is clearer than a bare title restatement. It does not, however, distinguish itself from adjacent siblings such as get_space or list_space_members, so an agent must infer that this returns a collection rather than a single space.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of when to prefer get_space for a single space, and no note on pagination workflow. The only implied guidance is the access-scope phrasing, which the agent must interpret on its own.

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