Skip to main content
Glama

List doc spaces

list_doc_spaces
Read-onlyIdempotent

List docs spaces you can see. includeArchived adds archived spaces you can restore or delete.

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

Input Schema

NameRequiredDescriptionDefault
projectIdNoOnly this project's spaces.
includeArchivedNoInclude archived.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds value beyond them by disclosing the permission-based scoping ("you can see") and by noting that archived spaces surfaced via includeArchived are ones the caller can restore or delete — behavior an agent would otherwise have to guess.

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?

Two short sentences, front-loaded with purpose and then the single optional flag; nothing is wasted. The phrasing "docs spaces" is a small grammatical stumble that slightly muddies an otherwise clean line.

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 two-parameter read-only listing tool with full schema coverage, no output schema and rich annotations, the description covers what's needed to invoke it correctly. Return shape and pagination are unstated but not required here given the annotation coverage and simplicity.

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 already 100%, which sets a baseline of 3. The description earns a bit more by explaining the consequence of includeArchived rather than just restating "Include archived", though projectId gets no additional meaning from the description.

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 ("List docs spaces") plus a visibility scope ("you can see"), which is enough to tell it apart from single-space readers like get_doc_space. Sibling differentiation is only implicit, though — it never contrasts itself with get_doc_space or get_doc_tree.

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 only implied: it's a listing tool scoped to what the caller can see, and includeArchived is the lever for archived content. There is no explicit when-to-use guidance and no named alternative for the case where the agent already knows a space ID.

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.

Resources