Skip to main content
Glama

list_spaces

Read-only

Lists Docmost spaces accessible to the authenticated user, hiding archived spaces by default; set include_archived to include them.

Instructions

List spaces the authenticated user can access. Archived spaces are hidden by default; set include_archived to show them.

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
include_archivedNoInclude archived spaces

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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. The description adds genuinely new behavior — archived spaces are hidden by default — which is the key default an agent must know. It says nothing about pagination behavior despite a cursor parameter, leaving a meaningful gap.

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 purpose and followed immediately by the one non-obvious default. No filler or redundancy.

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 simple read-only list tool with no output schema and no required parameters, the description covers scope and the archived-default behavior adequately. Only pagination guidance for limit/cursor is missing, which is a minor but real omission.

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 coverage is 67%; the description supplies the default semantics for include_archived that the schema's 'Include archived spaces' text does not. The limit (1-100) and cursor parameters, however, are not explained in the description, and cursor's schema text ('meta.nextCursor') is opaque, so compensation is partial.

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?

States a specific verb and resource ('List spaces') plus a scope constraint ('the authenticated user can access'), which cleanly separates it from page-, member-, and trash-listing siblings. It does not explicitly name an alternative tool, but the resource and scope are unambiguous.

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 by the resource scope rather than stated: 'the authenticated user can access' tells the agent it will only get permitted spaces. There is no explicit when-to-use/when-not-to-use guidance or a named alternative for other listing needs.

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