Skip to main content
Glama

List spaces

list_spaces
Read-onlyIdempotent

Lists every wiki space you can access, including slug, name, page count, and your role, so you can choose where to work.

Instructions

Lists every space (wiki) the caller can see: slug, name, page count, and the caller’s own role in it.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
spacesYesSpaces the caller can see

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context by stating results are filtered to what the caller can see and that the caller's own role is included per space. It does not discuss ordering, pagination, or size limits, but the output schema carries the return shape.

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?

A single sentence with no filler, front-loading the verb, the resource, and the visibility scope before listing returned fields. Nothing can be removed without losing information.

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?

For a zero-parameter read-only list tool with full annotations and an output schema, the description covers purpose, scope, and payload contents. The only minor gap is that it says nothing about result ordering or whether large result sets are truncated, which may matter for a 'list every space' call.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a no-parameter tool is 4. Schema description coverage is 100% in any case.

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 gives a specific verb and resource ("Lists every space (wiki)") plus a clear scope ("the caller can see"), and it names the fields returned: slug, name, page count, and the caller's role. That is enough to distinguish it from siblings like list_tree or list_comments, which operate on pages/comments rather than spaces.

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 implied rather than stated: the phrase "the caller can see" signals this is a permission-scoped discovery call, which an agent can read as 'use this to enumerate spaces first.' There is no explicit when-to-use, no when-not-to-use, and no named alternative within the definition.

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