Skip to main content
Glama

List spaces

list_spaces
Read-only

Retrieve the wiki spaces you can access, including each space key, your role, and member count. Filter by text or archived status to find the right space for other operations.

Instructions

List the spaces you can see, with their key (used by the other tools), your role in each (viewer < editor < admin) and member count. Archived spaces are read-only and only listed when asked.

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
searchNoText in the name or key.
archivedNo"false" (default): active spaces; "true": only archived; "all": both.false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description still adds real context: results are filtered by the caller's visibility, each entry carries the key that other tools consume, roles follow the viewer < editor < admin ladder, and archived spaces are read-only and hidden by default. Only return ordering and result-size behavior are left unstated.

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 short sentences, front-loaded with what is returned and closed with the one behavioral caveat that changes how an agent calls it. Every clause carries information: return fields, role ordering, and archived default.

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 compensates by naming the returned fields (key, role, member count) and the visibility scope, which is the key thing an agent needs before chaining into other tools. Minor gaps remain: no mention of result ordering, empty-list behavior, or volume/pagination for large workspaces.

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%, including the enum semantics for archived, so the schema already carries the parameter contract. The description adds a little framing ("only listed when asked") that reinforces the default, but nothing about search matching rules beyond the schema's "Text in the name or key". Baseline 3 is appropriate.

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?

"List the spaces you can see" states a specific verb and resource, and the description enumerates what each result carries (key, role, member count), so an agent knows this is a permission-scoped directory listing rather than a search. It does not name any sibling tool, but none of the listed siblings is a competing space lister, so the risk of misselection is low.

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?

The line "Archived spaces are read-only and only listed when asked" gives an implicit usage rule for the archived parameter (they are excluded by default, opt in to include them) and signals that the result set is scoped to what the caller can see. There is no explicit when-to-use statement or routing to an alternative, so guidance is implied rather than stated.

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