Skip to main content
Glama

list_workspaces

Read-only

Lists workspaces the bot user can access, returning each workspace's ID, name, and role so an agent can choose where to work.

Instructions

Workspaces the bot user can open, with id, name and role

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 observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety needs no restating. The description adds two genuinely new facts: results are permission-scoped to what the bot user can open (not all workspaces), and the response carries id, name and role — useful since there is no output schema. It stops short of noting ordering or whether an empty result means no access versus none existing.

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?

A single clause, front-loaded with the resource and scope, then the payload fields. There is no filler and nothing an agent must read past to get the point.

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?

For a no-parameter, read-only listing tool with no output schema, this covers the essentials: what is returned, under whose permissions, and the identifying fields. The only shortfall is that it does not say how this listing relates to the board/doc tools an agent will call next.

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 input schema is an empty object with zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The field list in the description describes the response shape rather than inputs, which does not conflict with anything.

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 names the resource (workspaces) and narrows the scope to those the bot user can open, plus the fields returned (id, name, role). It is a noun phrase without an explicit verb like 'list', but for a zero-parameter enumerator the intent is unambiguous and no sibling tool overlaps it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the entry point for discovering which workspaces are reachable before drilling into boards or docs via siblings like tree or list_boards. There is no explicit when-to-use statement, no mention of what to do with the returned ids, and no alternatives or exclusions named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.