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. Changed1 schema field changed
    • changedInput schema / properties / agent / description
      Previous value: -"Your display name on acts; never grants authority."New value: +"Your display name on acts. Never grants authority."
  2. Changed1 schema field changed
    • addedInput schema / properties / agent / description
      Added value: +"Your display name on acts; never grants authority."
  3. Added
  4. Removed
  5. 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"
      -            ]
      -          }
      -        ]
      -      }
      -    }
      -  }
      -]
  6. Added
  7. Removed
  8. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint and openWorldHint, so the description only needs to add specifics — and it does: `sync` alone can replace files in the Notes store, hosted-Door rendering of page/docx/pdf requires the person's paired open editor, self-hosted servers may supply a renderer, and export never publishes a website. It still doesn't say exactly which files `sync` can overwrite or what a failed delivery looks like, so it is not fully transparent.

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?

Dense but front-loaded: the trigger comes first, then mode-by-mode delivery, then hosting prerequisites, then the publishing disclaimer. Fragments like "Inspect delivery." are terse yet each clause carries distinct information for a ten-parameter tool.

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 destructive, non-idempotent, ten-parameter tool with no output schema, the description covers delivery modes, rendering prerequisites, and the non-publishing guarantee. It omits concurrency/idempotency parameters (`revision`, `compare_id`, `operation_id`) and the meaning of `text` and `block`, which matter for a destructive operation.

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 10% schema description coverage, the description must compensate, and it partially does by enumerating the `to` modes and most `format` members (markdown, html, page, txt, docx, pdf, plus the clipboard-only plain/formatted/complete). It says nothing about `text`, `block`, `heading`, `document`, `revision`, `compare_id`, or `operation_id`, leaving most of the ten parameters unexplained.

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 concrete verb and resource: delivers a Rapier document as a kept file in named formats, with each delivery mode (`file`, `save`, `clipboard`, `sync`) spelled out. An agent can tell what the tool produces, though it never explicitly contrasts itself with the sibling `convert`, so sibling differentiation is left implicit.

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

Usage Guidelines4/5

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

Opening clause gives a clear trigger ("when the person wants their Rapier document as a file to keep") and the per-mode clauses effectively tell the agent which `to` value fits which intent. It stops short of naming when NOT to use it or pointing at a sibling alternative such as `convert` or `show`.

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.