Skip to main content
Glama

export_page

Read-only

Export a Docmost page as Markdown or HTML to a chosen file path, or as a zip archive when including child pages and attachments.

Instructions

Export a page to output_path or a temp file and return the path. Without children usually .md/.html; include_children gives a zip.

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": {
      "page_id": "<page_id>"
    },
    "name": "export_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
page_idYesUUID or slugId
output_pathNoWhere to write the file
include_childrenNo
include_attachmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The description adds real behavioral detail beyond readOnlyHint=true: it discloses that a file is written (to output_path or a temp file), that the file path is returned, and that include_children changes the artifact from .md/.html to a zip. That is useful context an agent cannot get from annotations. However, it does not address overwrite behavior for an existing output_path, default format, or what happens when the page has no content — gaps that matter for a tool with side effects on the local filesystem.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with the primary action and result front-loaded, and no filler. The 'Without children usually .md/.html' phrasing is slightly telegraphic and relies on the reader connecting it to the include_children parameter, but overall it is efficiently structured.

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?

Return value is covered ('return the path'), which is important since there is no output schema, and the main branching between md/html and zip is explained. For a 5-parameter tool it still leaves meaningful holes: include_attachments is undocumented, output file overwrite semantics are unstated, and failure modes (invalid page_id, missing page) are not mentioned.

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?

With only 40% schema coverage, the description partially compensates: it explains output_path has a temp-file fallback, ties format to .md/.html artifacts, and explains that include_children switches output to a zip. It says nothing about include_attachments, leaves format's default and enum values implicit, and does not clarify permitted values for page_id beyond what the schema states.

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 page') and adds the concrete outcome ('to output_path or a temp file and return the path'), which is enough to distinguish it from sibling tools like export_space or get_page. It never names an alternative explicitly, so differentiation is by resource name alone.

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?

Usage is only implied by the verb 'export' — an agent can infer this is for materializing page content to a file. There is no statement of when to prefer this over export_space or get_page, no prerequisites, and no exclusions. The second sentence is about parameter effects rather than when-to-use guidance.

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