Skip to main content
Glama

Rapier - Markdown Editor & Art

Save or export Rapier

export
Destructive

Use this when the person wants their Rapier document as a file to keep: Markdown, Word, PDF, plain text, or one HTML file that opens and edits offline. to:"file" (default) delivers markdown, html, page, txt, docx or pdf (html is the whole editor with the document inside, editable offline); to:"save" saves to the bound destination; to:"clipboard" copies a passage as plain, markdown, formatted or complete. to:"sync" alone syncs the Notes store and can replace files. On the hosted Door, page, docx and pdf need the person's paired, open editor; a self-hosted server can provide a renderer. Inspect delivery; export never publishes a website.

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": {
      "document": "<document>"
    },
    "name": "export"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
textNo
agentNoYour display name on acts; never grants authority.
blockNo
formatNo
headingNo
documentYes
revisionNo
compare_idNo
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations only flag destructive=true and openWorld=true; the description earns its keep by saying specifically that sync "can replace files," that page/docx/pdf rendering depends on the deployment, and that delivery should be inspected. That is exactly the kind of beyond-annotation context an agent needs before a destructive call.

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?

It is front-loaded with the use case and then walks modes in a sensible order, with no filler. The mode breakdown is delivered as one long semicolon-chained paragraph with nested parentheticals, which is dense to parse but not padded.

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?

For a destructive, 10-parameter, no-output-schema tool, the description covers mode selection, deployment-dependent rendering, and the replace-files risk. What it omits is the role of the non-mode parameters (revision, compare_id, operation_id, block) and any hint about what a delivery response looks like.

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 10%, so the description has to carry the load. It does well on `to` and maps `format` values onto the two relevant modes (markdown/html/page/txt/docx/pdf vs plain/markdown/formatted/complete), but leaves document, text, block, heading, revision, compare_id, and operation_id entirely unexplained, including the one required parameter.

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?

The opening clause gives a concrete verb and resource ("their Rapier document as a file to keep") and enumerates the output artifacts, which separates it from read/show/edit siblings. It stops short of naming an alternative tool by name, so the differentiation is by outcome rather than by routing.

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

Usage Guidelines5/5

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

Each `to` mode is given an explicit condition: "file" (the default) for a deliverable, "save" for the bound destination, "clipboard" for a passage, and "sync" alone for the Notes store. It also states prerequisites (hosted Door needs the person's paired, open editor) and a clear exclusion ("export never publishes a website"), so the agent knows when not to reach for it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.