Skip to main content
Glama

List workspaces

ListWorkspaces
Read-onlyIdempotent

The workspaces the caller may reach, by name, 20 a page: each one's id, name, size and what is free, location, hostname and apps domain. With project_id, also which of them hold a project of that id (holding_project). Free figures and project counts are each machine's latest sample, read now: one that did not answer in time leaves them absent (incomplete). The one call that takes no workspace. A caller that reaches none is refused as a call naming no workspace is: NoMachine (no plan) or WorkspaceNotGranted.

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": "ListWorkspaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_tokenNoA next_page_token. Empty = the first page.
project_idNoA project_id: holding_project then says which workspaces have a project of that id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds real value beyond them: 20-per-page pagination, that free figures and project counts are each machine's latest sample read at call time, that an unresponsive machine leaves them absent and sets 'incomplete', and the refusal modes. The score is held down only because the refusal phrasing is terse and the pagination token's handling is left implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource and its fields, and every sentence carries information, but the prose is dense and run-on, with awkward constructions like 'refused as a call naming no workspace is' and 'The one call that takes no `workspace`' that force the reader to re-parse.

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?

No output schema exists, and the description does cover return fields, per-machine sampling semantics, the incomplete flag and error outcomes, which is close to sufficient. It falls short only on the mechanics of page_token progression, which an agent must infer from '20 a page' plus the schema.

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 100%, so the baseline would be 3. The description still adds meaning: it ties project_id to the returned holding_project field, which the schema does not, and its '20 a page' line gives context for the next_page_token parameter.

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 the exact resource (workspaces the caller may reach) and enumerates the returned fields: id, name, size, free space, location, hostname, apps domain, plus holding_project and incomplete. It also draws an explicit boundary no sibling can claim: 'The one call that takes no `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?

Explains the conditional use of project_id (holding_project then reports which workspaces hold that project) and documents the failure modes when the caller reaches no workspace (NoMachine or WorkspaceNotGranted). It does not name an alternative tool for any overlapping case, but listing reachable workspaces is itself the entry point, so the gap is minor.

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