Skip to main content
Glama

dsh_list_workspaces

Lists DSH-registered project workspaces with IDs, folder paths, and session counts so you can pick a workspace_id for starting tasks or choosing sessions.

Instructions

List the project workspaces registered by DSH, including each workspace id, folder path, and session count. Use a returned workspace_id with dsh_task to start work in that folder or with dsh_list_sessions to choose a session.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load, and it does disclose that this is a read-only enumeration and what fields come back per workspace. It does not mention pagination, ordering, or whether an empty result is possible, but for a zero-parameter listing tool the behavioral surface is small and largely covered.

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, both front-loaded and purposeful: the first defines output content, the second routes the agent to the right follow-up call. No filler or restatement of the tool name.

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?

There is no output schema, so the description compensates by naming the returned fields, and it explains how the result feeds sibling tools. The only gap is operational detail such as result ordering or size, which is minor for a no-argument discovery call.

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 for the description to add. Nothing here is missing or misleading on that front.

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?

The description uses a specific verb (List) on a specific resource (project workspaces registered by DSH) and enumerates what each entry contains: workspace id, folder path, and session count. The second sentence ties it to distinct siblings (dsh_task, dsh_list_sessions), making it clear this is the discovery tool rather than an action tool.

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 concrete downstream context: take a returned workspace_id to dsh_task to work in that folder, or to dsh_list_sessions to pick a session. That establishes this as the entry point of a workflow. It stops short of stating exclusions or prerequisites (e.g., whether it must be called first, or how it differs from dsh_list_sessions for workspace-scoped queries), so it is clear rather than exhaustive.

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