Skip to main content
Glama

List Workspaces

list_workspaces
Read-onlyIdempotent

List AFFiNE workspaces with profile metadata and direct URLs. Obtain workspace names and avatars, with an option for a faster response by skipping realtime metadata.

Instructions

List available AFFiNE workspaces with best-effort profile metadata and direct URLs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeProfileNoLoad workspace names and avatar references from realtime metadata. Set false for a faster GraphQL-only response.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
codeNo
errorNo
itemsNo
detailsNo
retryableNo
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, covering the safety profile. The description adds useful behavioral nuance with 'best-effort profile metadata' (acknowledging possible incompleteness) and 'direct URLs' (indicating response content), which goes beyond the schema and annotations.

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?

The description is a single, information-dense sentence with no filler. It front-loads the core purpose and quickly adds distinguishing details, making every word earn its place.

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?

This is a simple, read-only listing tool with one optional parameter, rich annotations, and an output schema. The description covers the essential behavior ('list available workspaces', profile metadata, direct URLs) and nothing more is needed for an agent to invoke it correctly.

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 schema already provides 100% coverage for the only parameter (includeProfile) with a clear description. The tool description does not add parameter details, but none are needed since the schema fully explains the parameter's meaning and default behavior.

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') and resource ('available AFFiNE workspaces'), and adds distinguishing details ('best-effort profile metadata and direct URLs') that set it apart from related tools like list_workspace_tree. It clearly states what the tool does.

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?

The description clearly implies this tool is for enumerating available workspaces, which is distinguishable from sibling operations like get_workspace, create_workspace, update_workspace, and delete_workspace. However, it does not explicitly name alternatives or state exclusions, so it falls just short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/irfanhak123/affine-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server