Skip to main content
Glama

list_workspace

Read-only

List sidebar items (pages and databases), optionally under one parent; paginated. For orientation the workspace digest/map is cheaper.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNonextCursor from the previous page
parentIdNoOmit for root items

Output Schema

NameRequiredDescriptionDefault
itemsYes
hasMoreYes
nextCursorNoPass back as cursor to continue

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / items / items / properties / icon / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / items / items / properties / icon / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / items / items / properties / parentId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / items / items / properties / parentId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor from a previous response's nextCursor field"New value: +"nextCursor from the previous page"
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum items per page (default 100)"
    • changedInput schema / properties / parentId / description
      Previous value: -"Parent item ID (omit for root items)"New value: +"Omit for root items"
  3. Changed9 schema fields changed
    • removedOutput schema / properties / hasMore / description
      Removed value: -"Whether more items exist beyond this page"
    • removedOutput schema / properties / items / description
      Removed value: -"Workspace items on this page"
    • changedOutput schema / properties / items / items / properties / databaseId / description
      Previous value: -"Database ID (database items only)"New value: +"Present for database items"
    • removedOutput schema / properties / items / items / properties / icon / description
      Removed value: -"Item icon"
    • removedOutput schema / properties / items / items / properties / id / description
      Removed value: -"Item ID"
    • removedOutput schema / properties / items / items / properties / parentId / description
      Removed value: -"Parent item ID, or null at root"
    • removedOutput schema / properties / items / items / properties / title / description
      Removed value: -"Item title"
    • changedOutput schema / properties / items / items / properties / type / description
      Previous value: -"Item type (page | database)"New value: +"page | database"
    • changedOutput schema / properties / nextCursor / description
      Previous value: -"Cursor for the next page (present when hasMore)"New value: +"Pass back as cursor to continue"
  4. First observed

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 and openWorldHint=false, so the safety profile is covered. The description adds that results are paginated and that parent scoping is optional, which is useful, but it says nothing about ordering, default depth, or the cost of large limits beyond the vague 'cheaper' comparison.

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 tight clauses with the core scope front-loaded and zero filler. The only weak spot is the compressed 'workspace digest/map' phrase, which is terse enough to be ambiguous about which tool is meant.

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?

With an output schema present, return values need not be explained, and pagination plus parent scoping cover the main call-shape concerns. However, the suggested alternative is unnamed relative to the sibling set, leaving the agent without an actionable route for the orientation case the description itself raises.

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% and the schema already documents cursor and parentId ('Omit for root items'). The description reinforces the parent scoping and mentions pagination, but adds no new semantics for limit defaults or cursor lifecycle, so it only matches rather than exceeds the schema.

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?

Specific verb ('List') plus resource ('sidebar items') with a clarifying gloss that the items are pages and databases, and an explicit scoping note about an optional parent. It is distinguishable from query_database or get_page, though it never contrasts itself with the closer sibling search_workspace.

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

Usage Guidelines4/5

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

Provides a clear context plus a cost-based alternative: 'For orientation the workspace digest/map is cheaper.' That tells the agent when not to use it for orientation, but the alternative is not named as any of the available sibling tools, so the routing hint cannot be acted on directly, and no guidance contrasts this with search_workspace.

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.