Skip to main content
Glama

export_space

Read-only

Exports a whole Docmost space as a zip of Markdown or HTML, optionally with attachments, and saves it to a specified output path or temporary file.

Instructions

Export a whole space as a zip of Markdown or HTML. Writes to output_path or a temp file.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "space_id": "<space_id>"
    },
    "name": "export_space"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
space_idYesUUID or slug
output_pathNo
include_attachmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

The description discloses a meaningful behavioral fact beyond the schema: output goes to output_path or falls back to a temp file. However, 'Writes to output_path' describes a filesystem write to a caller-specified path, which sits uneasily against the readOnlyHint=true annotation. It also omits whether an existing file at output_path is overwritten and what happens to attachments by default.

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 short sentences with zero padding, front-loading what is produced before the side effect. Every clause carries information an agent can use.

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

Completeness3/5

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

Adequate for a 4-parameter export tool: the primary unknown (where the file lands) is answered. Still missing the return shape (path returned? confirmation?), attachment default, and overwrite semantics, and there is no output schema to fill those gaps.

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 coverage is only 25% (only space_id is documented as 'UUID or slug'), so the description has to compensate. It does explain the format choices and, importantly, the default destination behavior when output_path is omitted, but it says nothing about include_attachments' default or how output_path handles existing files.

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?

States a specific verb and resource ('Export a whole space') plus the output artifact ('zip of Markdown or HTML'). The scope word 'whole space' implicitly separates it from the sibling export_page, though it never names that sibling explicitly.

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?

The scope ('whole space') implies when to pick this over the page-level export sibling, but there are no explicit when-to-use/when-not statements, no prerequisites (e.g., permissions on the space), and no guidance on choosing markdown vs html beyond the enum.

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