Skip to main content
Glama

Open in the ReflowPDF editor

open_in_editor

Returns the edit link of a document in the ReflowPDF editor, where the person edits it on the page and downloads it: your HTML, or a template with its data (kept as template and data, both editable). Use when the person wants to change the document themselves; you can read their changes and change it too (get_document, update_document).

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_in_editor"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoThe values of the template, if it is one.
htmlNoThe HTML document (or your own template source, with data).
nameNoThe document's name in the editor.
template_idNoA gallery template's id, instead of html.

Output Schema

NameRequiredDescriptionDefault
urlYesThe link; it works until expiresAt.
notesYesFacts about this link: how long it works, what it opens.
revisionNo
expiresAtYesWhen the link stops working (ISO 8601).
documentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / notes / description
      Previous value: -"What to tell the person about this link."New value: +"Facts about this link: how long it works, what it opens."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already establish the safety profile (not read-only, not destructive, not idempotent), and the description adds genuinely non-redundant context: the output is a link, the person edits in-page and downloads, and template structure is preserved as separate template and data. It does not address what happens on repeated calls or whether a new editor session is created each time, which matters given idempotentHint=false.

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 purpose is front-loaded, and no sentence is filler. The nested parentheses and the trailing alternative clause cost some readability, but the whole definition is only two sentences.

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?

An output schema exists, so the return shape needs no prose, and the description covers the essential model of what the tool produces and how it relates to get_document and update_document. With zero required parameters, a clearer statement of which argument combinations are valid would close the remaining gap.

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 100%, so each of the four fields is already documented, and the baseline of 3 applies. The description adds a little meaning by framing html and data as kept separately and both editable, but it does not clarify the choice between template_id and html or how data pairs with each.

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 states a specific verb and resource: it 'returns the edit link of a document in the ReflowPDF editor,' and explains that the document may be raw HTML or a template plus data. That is concrete enough to separate it from update_document, though the parenthetical about templates makes the single sentence denser than it needs to be.

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 gives an explicit trigger ('use when the person wants to change the document themselves') and then names the agent-side follow-up path via get_document and update_document. It stops short of stating when not to use it, such as when the agent should edit on the person's behalf directly.

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.