Skip to main content
Glama

List Workspaces

workspace-list_workspaces
Read-only

List the workspaces you can access and what you may do in each. Takes no parameters. Workspace ids are opaque: this names the ones you can reach, and a workspace-list_artifacts row carries the id its artifact is filed in.

Returns: { success: true, workspaces: [{ workspaceId, name, isGeneral, capabilities }] }. capabilities is a subset of read, write, share, publish; you need write to create or change an artifact in that workspace. isGeneral marks the team's General workspace. An empty list means you have been granted no workspace, not that the team has none: ask the user for access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: the meaning of an empty list ('you have been granted no workspace, not that the team has none: ask the user for access'), which is a non-obvious operational detail. It also explains the meaning of the `capabilities` field and `isGeneral`. This is above what annotations provide, though it doesn't discuss rate limits or pagination.

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?

Front-loads the purpose, then details on return shape and semantics in clearly delimited sections. Every sentence adds distinct value (opaque IDs, return fields, empty-list meaning). No filler.

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?

For a no-param, read-only listing tool with no output schema, the description is complete: it covers purpose, return shape, field meanings, edge-case semantics (empty list), and the relationship to a sibling. An agent has everything needed to invoke and interpret results correctly.

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?

Zero parameters, so baseline is 4. The description confirms 'Takes no parameters,' which is consistent with the empty schema.

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 ('List') and resource ('workspaces you can access') and adds scope ('what you may do in each'). It also explicitly distinguishes itself from workspace-list_artifacts by explaining the relationship (the artifact row carries the workspace id). No ambiguity about which sibling to pick.

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?

The description implies when to use it (discovering reachable workspaces and their capabilities) and explains the relationship to workspace-list_artifacts. It doesn't name explicit exclusions or say 'use X instead of Y' when the user already knows the workspace id, but the context is clear.

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.