Skip to main content
Glama

List workspaces

list_workspaces
Read-only

List the workspaces the key's owner belongs to (id, name, slug, their role). The discovery entry point: every other tool takes a workspace slug or id from this list.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real value beyond them by disclosing the result scope (only workspaces the key's owner belongs to, not all workspaces) and the returned fields, which prevents an agent from assuming tenant-wide visibility. It does not mention pagination or result caps, a minor gap for a list tool.

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, and the most actionable fact (it is the discovery entry point for every other tool) is front-loaded alongside the result shape. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the exact fields returned (id, name, slug, role). Combined with the entry-point instruction and the ownership scoping, an agent has everything needed to call this first and reuse the slug or id downstream.

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?

The tool takes zero parameters, so the baseline is 4 and there is no parameter meaning left to explain. The description correctly spends no words on inputs and instead describes outputs.

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") plus a precise scope ("the key's owner belongs to") and enumerates the returned fields (id, name, slug, role). The resource domain alone separates it from the sibling list_* tools, which target areas, projects, requests, webhooks, etc.

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?

Explicitly labels itself "the discovery entry point" and explains the condition that selects it: every other tool takes a workspace slug or id from this list, so an agent should call it first. It does not name exclusions or an alternative discovery path, but for a zero-parameter root call there is effectively nothing else to route to.

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