Skip to main content
Glama

list_workspaces

Read-onlyIdempotent

Lists saved workspace layouts and the files open in the current layout for an Obsidian vault, so you can see available layouts and what is currently open.

Instructions

Saved workspace layouts (Workspaces core plugin) and the files open in the current layout.

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
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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=false, so the safety profile needs no restating. The description adds a little operational context by clarifying that it covers both saved layouts and the files in the current layout, but it never resolves ambiguity about whether all workspaces or only the active one are returned, and there is no note on ordering or size.

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?

It is a single short sentence with zero padding, which is good, but the fragment form makes it read like an output note rather than a statement of what the tool does. Brevity here edges into under-specification rather than efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description is the only place the return shape could be conveyed, and it does so only vaguely — a caller cannot tell whether the result is workspace names, nested layout objects containing open file lists, or both. For a read-only list tool with a single optional parameter the burden is light, but the fragment leaves a real gap about what comes back and what "current layout" means.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single optional vault parameter is fully documented in the schema, including the default from OBSIDIAN_VAULT or the open vault. The description adds nothing about the parameter, which is acceptable given 100% schema coverage, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The text is a noun-phrase fragment naming the resource ("Saved workspace layouts (Workspaces core plugin) and the files open in the current layout") with no verb, so the listing action is only inferable from the tool name. It does indicate scope more specifically than a bare tautology, but it never states plainly that it returns a list, nor does it differentiate itself from the many sibling list_* tools.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as list_files even though the description references "files open in the current layout", which is adjacent territory. An agent must guess from the name alone whether to call this or a sibling.

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

Deploy Server

Other Tools