Skip to main content
Glama

open_doc

Read-only

Displays a Markdown note in a side panel beside the conversation with its version history, showing what changed, who changed it, and which passages were removed since your last edit.

Instructions

Show the user a note as a view beside the conversation (on claude.ai, the side panel): the doc rendered, with its history laid on it. What changed since the user last edited or confirmed it, and who changed it (a person, or which AI); the passages removed since that never came back, where they were; each passage's life back through its versions; a wheel through the versions. Call it when the user wants to see, open, show or display a doc, or see what happened to it. To read a doc yourself, use read_doc: this returns where the view stands (title, versions, what changed since, the outline), not the text. Markdown notes only. Then reply in a line or two: the view shows the rest.

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": {
      "path": "<path>"
    },
    "name": "open_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYese.g. notes/cdc.md (search_docs or list_tree find paths).

Output Schema

NameRequiredDescriptionDefault
lookNo
pathNo
linksNo
titleNo
ghostsNo
imagesNo
commitsNo
stringsNo
versionNo
completeNo
passagesNo
versionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.10.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds genuinely new context: the effect is a UI-side view on claude.ai, the return is view state (title, versions, changes, outline) rather than text, the scope is markdown notes only, and it prescribes a short follow-up reply. It stops short of stating failure behavior for a bad path, so it is not quite a 5.

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?

Front-loaded with what the tool does, then when to call it, then the alternative, then the reply convention — a sensible order with no filler. Some phrasings are compressed to the point of opacity ('a wheel through the versions', 'each passage's life back through its versions'), which costs a little clarity.

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

Completeness5/5

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

An output schema exists, yet the description still usefully summarizes what the view returns and what happens after the call (reply in a line or two). For a read-only single-parameter tool with full schema coverage and annotations, nothing an agent needs is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the path parameter and its example are already documented; the description's addition is the 'Markdown notes only' constraint, which meaningfully narrows which paths are valid. That goes beyond restating the schema, though it adds no syntax detail.

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

Purpose5/5

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

States a specific verb and resource ('Show the user a note as a view beside the conversation') and immediately scopes what the view contains: rendered doc, history, changes, removed passages, versions. It explicitly contrasts with read_doc, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit triggers ('when the user wants to see, open, show or display a doc, or see what happened to it') and names the alternative for the agent-facing case ('To read a doc yourself, use read_doc'). It also states what this tool does NOT return, which prevents a common mis-selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.