Skip to main content
Glama

List workspaces

list_workspaces
Read-onlyIdempotent

The workspaces this connection can use, with the default one, and whether it can use one workspace or all of the person's. When it can use several, every tool takes workspace_id: reads use the default unless you pass it (a read by id also looks in the others), and anything that builds, changes, runs, schedules, shares or deploys must pass it. Use this to turn a workspace name the person said into its id.

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. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say this is a safe, idempotent read; the description goes much further. It discloses the cross-tool workspace_id convention, the default-workspace fallback for reads, the fallback lookup of a read-by-id into other workspaces, and the requirement that anything that builds, changes, runs, schedules, shares, or deploys must pass workspace_id. That is exactly the kind of behavior an agent cannot infer from structured fields.

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?

It leads with what the tool returns before moving to the workspace_id rules, so the key fact is front-loaded. Sentences are dense and the second sentence is long and clause-heavy, but nearly every clause carries actionable 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?

For a zero-parameter read-only list with no output schema, it supplies what the agent needs: the contents of the result (workspaces, default marker, single-vs-all capability), why to call it, and how the result feeds workspace_id into the rest of the toolset. No meaningful gap remains.

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?

With zero input parameters the baseline is 4, and the description earns that by explaining the workspace_id parameter used by every other tool in the family rather than restating its own empty schema. The default-vs-explicit rules add real semantic content the schema of this tool cannot convey.

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?

The description states the exact resource and what the listing contains: 'The workspaces this connection can use, with the default one, and whether it can use one workspace or all of the person's.' That is a specific verb-resource pair plus return-shape content, clearly distinct from connection or knowledge-base listings. It stops short of naming a sibling to differentiate against, which keeps it below a 5.

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?

It gives a concrete trigger: 'Use this to turn a workspace name the person said into its id,' tying the tool to a name-to-id resolution step. It also explains downstream conditions — reads use the default unless workspace_id is passed, writes/mutations must pass it. There are no explicit exclusions or named alternatives, so it is not a full 5.

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