Skip to main content
Glama

Rapier - Markdown Editor & Art

Read Rapier

read
Read-onlyIdempotent

Read a document before editing, with state:true for human context and pending work, or a guide alone.

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": "read"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNo
noteNo
agentNoDisplay only, grants no authority.
blockNo
guideNoGuide topic, alone.
limitNo
linesNo1-based inclusive.
queryNoLiteral text.
sinceNo
stateNo
cursorNonext_cursor, alone.
searchNoNotes, empty lists all.
headingNo
historyNo
versionNo
wait_msNoWait ms for human revision.
documentNoFrom open, omitted with guide or cursor.
versionsNo
return_idNo
comparisonNo
preferencesNoInclude preferences in state.
operation_idNo
after_revisionNoWait until revision passes this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / after_revision / description
      Previous value: -"With wait_ms: return when the revision passes this."New value: +"Wait until revision passes this."
    • changedInput schema / properties / agent / description
      Previous value: -"Your display name on acts. Never grants authority."New value: +"Display only, grants no authority."
    • changedInput schema / properties / cursor / description
      Previous value: -"The next_cursor from the last read. Continue with cursor alone."New value: +"next_cursor, alone."
    • changedInput schema / properties / document / description
      Previous value: -"Private document value from a successful open in this chat. Omit with guide or a next-page cursor."New value: +"From open, omitted with guide or cursor."
    • changedInput schema / properties / guide / description
      Previous value: -"Instructions only. Use no other read selectors and no document."New value: +"Guide topic, alone."
    • changedInput schema / properties / lines / description
      Previous value: -"[first, last], 1-based, inclusive."New value: +"1-based inclusive."
    • changedInput schema / properties / preferences / description
      Previous value: -"Include editor preferences in state. Omitted by default."New value: +"Include preferences in state."
    • changedInput schema / properties / query / description
      Previous value: -"Literal text to find in this document."New value: +"Literal text."
    • changedInput schema / properties / search / description
      Previous value: -"Search the Notes store. \"\" lists all. Hosted calls also need document from open."New value: +"Notes, empty lists all."
    • changedInput schema / properties / wait_ms / description
      Previous value: -"Bounded wait (ms) for the next human revision."New value: +"Wait ms for human revision."
  2. Changed3 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"The next_cursor from the last read. Continue with cursor alone."
    • changedInput schema / properties / document / description
      Previous value: -"From open. Not needed with guide."New value: +"Private document value from a successful open in this chat. Omit with guide or a next-page cursor."
    • changedInput schema / properties / search / description
      Previous value: -"Search the Notes store. \"\" lists all."New value: +"Search the Notes store. \"\" lists all. Hosted calls also need document from open."
  3. Changed5 schema fields 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."
    • changedInput schema / properties / document / description
      Previous value: -"From open; not needed with guide."New value: +"From open. Not needed with guide."
    • changedInput schema / properties / guide / description
      Previous value: -"Instructions only; use no other read selectors and no document."New value: +"Instructions only. Use no other read selectors and no document."
    • changedInput schema / properties / preferences / description
      Previous value: -"Include editor preferences in state; omitted by default."New value: +"Include editor preferences in state. Omitted by default."
    • changedInput schema / properties / search / description
      Previous value: -"Search the Notes store; \"\" lists all."New value: +"Search the Notes store. \"\" lists all."
  4. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds that state can surface human context and pending work, but it does not explain waiting, revision, history, comparison, pagination, or mode-dependent return behavior.

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?

The single sentence is front-loaded with the main purpose and contains no filler. Its compression makes the final 'or a guide alone' clause somewhat cryptic, so it is efficient rather than fully polished.

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 complex multi-mode reader with 23 optional parameters, sparse schema documentation, and no output schema, one sentence is insufficient to support reliable invocation. The core document, state, and guide cases are covered, but search, cursors, document provenance, revision waiting, history, versions, comparison, and return formats are left to inference.

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?

With only 43% schema description coverage, the description needs to compensate more than it does. It adds useful semantics for state and standalone guide use, but leaves most of the 23 parameters—including output form, note/block filtering, history/versions, comparison, and operation identifiers—without explanation.

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 gives a concrete verb and resource—reading a document—and places it in an editing workflow. It does not distinguish this read operation from siblings such as open or show, and it only partially conveys the tool's broader guide, state, search, and history scope.

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?

It explicitly recommends reading before editing, explains when state:true is useful, and indicates that a guide can be requested alone. This is actionable context, although there is no when-not guidance, sibling routing, or selection guidance for the tool's other modes.

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.