Skip to main content
Glama

List workspaces

list_workspaces
Read-onlyIdempotent

List the workspaces (for example store locations or rooftops) managed under this organization, with how many members and phone lines each has. Pass a workspace's id as workspace_id to any other tool to work inside 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_workspaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 50)
cursorNoCursor from the previous page to get the next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the read-only, idempotent, non-destructive profile, so the description's job is lighter. It adds real behavioral detail beyond them: the response includes member and phone line counts per workspace, and the ids are the handle other tools consume. It does not mention result ordering or the existence of paging, though the cursor parameter is in the schema.

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 sentences, zero waste, with the scoping and return content front-loaded and the actionable id guidance second. The parenthetical example earns its place by disambiguating 'workspace'.

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 must convey what comes back, and it does: a list of workspaces with member and phone line counts plus ids. Pagination expectations are the only gap for a list endpoint, and the cursor parameter covers most of that need.

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%, with limit (max 100, default 50) and cursor fully documented in the input schema. The description adds nothing about either parameter, so it sits at the baseline of 3; the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the workspaces') and immediately scopes it to the organization, clarifying with a concrete example ('store locations or rooftops'). It also distinguishes the tool's role as a container-discovery step, which a generic 'list' sibling would not.

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?

Gives clear downstream usage guidance: take a returned id and 'Pass a workspace's id as workspace_id to any other tool to work inside it.' That tells the agent when this tool is a prerequisite. It stops short of naming alternatives or stating exclusions (e.g., when to use list_members or list_phone_numbers instead).

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