Skip to main content
Glama

Create Workspace

create_workspace

Create a new AFFiNE workspace with an initial document, visible in the UI. Include a workspace name and optional avatar.

Instructions

Create a new workspace with initial document (accessible in UI)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWorkspace name
avatarNoAvatar emoji or URL

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
okNo
urlNo
codeNo
kindNo
nameNo
errorNo
avatarNo
statusNo
detailsNo
messageNo
retryableNo
firstDocIdNo
syncStatusNo
workspaceIdNo
Behavior4/5

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

Annotations already indicate the tool is not read-only, not idempotent, and not destructive. The description adds meaningful behavioral context by stating that creation includes an initial document accessible in the UI, which is not implied by the annotations or schema. However, it does not detail other side effects, but given annotations and output schema, this is sufficient.

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, focused sentence that front-loads the primary action and resource while adding relevant context about the initial document. Every word serves a purpose, with no filler or redundant phrasing.

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?

Given the tool's simplicity (2 parameters, output schema present, annotations provided), the description is largely complete. It covers the core behavior and a notable side effect (initial document) but could optionally mention that no other workspace attributes are created initially. This minor gap is acceptable given the output schema and annotations.

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?

Schema description coverage is 100%, so the schema already fully documents both parameters (name and avatar). The description adds no semantic detail beyond what the schema provides, meeting the baseline but not exceeding it.

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 clearly states the action ('Create') and the resource ('a new workspace'), and adds a distinctive qualifier ('with initial document (accessible in UI)') that specifies scope and differentiates it from other workspace-related tools like update_workspace or delete_workspace.

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?

The description provides no guidance on when to use this tool versus alternatives, such as create_workspace_blueprint or update_workspace. It does not mention prerequisites, exclusions, or preferred scenarios, leaving the agent to infer usage solely from the name.

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