Skip to main content
Glama

Rapier - Markdown Editor & Art

Open Rapier

open

Create {text, filename}, resume {document}, open a Note {document, note}, create one {document, note:"new", text, title} (title only there), or import a host file {file}. Returns revision and whole text when it fits a page; otherwise a document map. A browser code goes to show {target:"pair", code}. Share editor_url when available; keep document private.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "open"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThis Door's editor_url, through its authorized connection. Use alone; other URLs are not fetched.
fileNo
noteNo
textNo
agentNoYour display name on acts; never grants authority.
titleNo
documentNo
filenameNo
createTokenNo
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / oneOf
      Removed value: -[
      -  {
      -    "propertyNames": {
      -      "not": {
      -        "enum": [
      -          "document",
      -          "url",
      -          "file",
      -          "note",
      -          "title"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "else": {
      -      "propertyNames": {
      -        "not": {
      -          "enum": [
      -            "text",
      -            "title"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "if": {
      -      "properties": {
      -        "note": {
      -          "const": "new",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "note"
      -      ]
      -    },
      -    "propertyNames": {
      -      "not": {
      -        "enum": [
      -          "url",
      -          "file",
      -          "filename",
      -          "createToken"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "document"
      -    ],
      -    "then": {
      -      "required": [
      -        "text"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "propertyNames": {
      -      "not": {
      -        "enum": [
      -          "document",
      -          "url",
      -          "text",
      -          "filename",
      -          "note",
      -          "title"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "file"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "propertyNames": {
      -      "not": {
      -        "enum": [
      -          "document",
      -          "file",
      -          "text",
      -          "filename",
      -          "note",
      -          "title",
      -          "createToken"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "url"
      -    ],
      -    "type": "object"
      -  }
      -]
  2. Changed3 schema fields changed
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "propertyNames": {
      +      "not": {
      +        "enum": [
      +          "document",
      +          "url",
      +          "file",
      +          "note",
      +          "title"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "else": {
      +      "propertyNames": {
      +        "not": {
      +          "enum": [
      +            "text",
      +            "title"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "if": {
      +      "properties": {
      +        "note": {
      +          "const": "new",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "note"
      +      ]
      +    },
      +    "propertyNames": {
      +      "not": {
      +        "enum": [
      +          "url",
      +          "file",
      +          "filename",
      +          "createToken"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "document"
      +    ],
      +    "then": {
      +      "required": [
      +        "text"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "propertyNames": {
      +      "not": {
      +        "enum": [
      +          "document",
      +          "url",
      +          "text",
      +          "filename",
      +          "note",
      +          "title"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "file"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "propertyNames": {
      +      "not": {
      +        "enum": [
      +          "document",
      +          "file",
      +          "text",
      +          "filename",
      +          "note",
      +          "title",
      +          "createToken"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "url"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / agent / description
      Added value: +"Your display name on acts; never grants authority."
    • addedInput schema / properties / url / description
      Added value: +"This Door's editor_url, through its authorized connection. Use alone; other URLs are not fetched."
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and non-idempotent behavior; the description adds genuinely new context by disclosing the return shape ('revision and whole text when it fits a page; otherwise a document map') and a privacy obligation ('keep document private') in the absence of an output schema. It does not address permissions/auth, what createToken does, or whether retries are safe for a non-idempotent create — gaps that matter for a mutating, open-world tool.

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

Conciseness2/5

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

Everything is packed into one run-on sentence whose clauses are separated by cryptic brace-and-bracket shorthand, and the most operationally important detail (return shape, privacy) is buried at the tail. Condensing the mode list is good intent, but the notation costs more comprehension than it saves.

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

Completeness2/5

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

For a 10-parameter, non-idempotent, open-world creation/import tool with no output schema, the definition should cover retry semantics (createToken, operation_id), what 'resume document' requires, and what each mode actually mutates. It covers the return shape and a privacy note, but omits the idempotency and permission context an agent needs to invoke a write tool safely.

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 20% (just 'url' and 'agent'), so the description carries most of the burden. It does associate text, filename, document, note, title, and file with specific modes, which is real added meaning, but createToken and operation_id — the retry/idempotency keys for a non-idempotent create — are never explained, and url/agent are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does attempt to enumerate the tool's modes (create from text/filename, resume a document, open a Note, create with note:"new", import a host file), so the resource is identifiable. However, the compressed brace shorthand like 'Create {text, filename}' and 'create one {document, note:"new", text, title}' reads as parameter-set notation rather than a plain statement of purpose, so an agent must decode it before knowing what the tool does.

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?

One routing rule is explicit: 'A browser code goes to show {target:"pair", code},' which names a sibling and the condition that selects it. Beyond that single case, there is no guidance on when to prefer this tool over edit/read/export, and no statement of what it should not be used for.

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.