Skip to main content
Glama

Rapier - Markdown Editor & Art

Save or export Rapier

export
Destructive

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. Changed1 schema field changed
    • addedInput schema / properties / agent / description
      Added value: +"Your display name on acts; never grants authority."
  2. Added
  3. Removed
  4. Changed1 schema field changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "to": {
      -          "const": "sync",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "to"
      -      ]
      -    },
      -    "then": {
      -      "not": {
      -        "anyOf": [
      -          {
      -            "required": [
      -              "format"
      -            ]
      -          },
      -          {
      -            "required": [
      -              "text"
      -            ]
      -          },
      -          {
      -            "required": [
      -              "block"
      -            ]
      -          },
      -          {
      -            "required": [
      -              "heading"
      -            ]
      -          },
      -          {
      -            "required": [
      -              "revision"
      -            ]
      -          },
      -          {
      -            "required": [
      -              "compare_id"
      -            ]
      -          }
      -        ]
      -      }
      -    }
      -  }
      -]
  5. Added
  6. Removed
  7. Added

TDQS

B3.3/5.0
Behavior4/5

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

Goes beyond the annotations by warning that `to:"sync"` alone can replace files (consistent with destructiveHint=true), spelling out environment prerequisites for page/docx/pdf on hosted vs self-hosted deployments, and clarifying that export never publishes a website. It adds real operational context, though it says nothing about permissions or what happens to existing files in file mode.

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

Conciseness3/5

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

It is dense but not padded, and the dominant `to` modes are front-loaded. The semicolon-chained clause structure and the unusual `to:"file"` notation make it harder to parse than it needs to be.

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?

For a 10-parameter, no-output-schema, destructive tool, the description covers delivery modes and environment constraints well but leaves most parameters unexplained. An agent still cannot tell what `document`, `block`, `heading`, `revision`, or `compare_id` expect without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 10%, so the description must carry the load, and it only explains the `to` and `format` enums. Seven parameters — including the required `document` and the large `text` payload, plus block, heading, revision, compare_id and operation_id — are left entirely undocumented in both schema and description.

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 description makes clear this is a delivery/export tool whose behavior is selected by the `to` parameter (file/save/clipboard/sync) and that it produces markdown, html, page, txt, docx, pdf or clipboard-shaped output. The purpose is discernible, but it never states a clean verb+resource sentence and doesn't explicitly contrast itself with siblings like read, show, or edit.

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?

It enumerates what each `to` mode does, which implicitly tells the agent which mode to pick, and notes that hosted Door requires a paired open editor for page/docx/pdf. However, there is no explicit when-to-use-this-vs-alternatives guidance against the sibling tools, and the phrase 'Inspect delivery' is too vague to guide selection.

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.