Skip to main content
Glama

page_open

Open a Library page as a focused tab by id or key, or show a file from disk in a temporary viewer tab. Use it to bring a page or file into view.

Instructions

Open a closed Library page as a tab (appended to the strip and focused), or focus it if it is already open. Identify the page by id or key from library_search. The page stays where it is in the Library. Or pass file to show the user a file on disk in Scribe's file viewer: a temporary tab that stays out of the Library (keep: true adds it), or the page that already has that file. Only files this thread may read: its workspace and read roots, or any file in Code mode with Full access. To only point the user at a file, link it instead ([[file:C:\path\shot.png]]).

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

Input Schema

NameRequiredDescriptionDefault
idNoTab id, e.g. t_ab12cd34.
keyNoPage key, e.g. scribe:sprint-notes (the scribe: prefix is optional).
fileNoA file to open as a page instead: absolute or workspace-relative path.
keepNoWith file: add the page to the Library instead of a temporary tab. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so well: it discloses that the tab is appended and focused, that the page's Library position is unchanged, that a file tab is temporary and stays out of the Library unless keep:true, that an already-open page for that file is reused, and the read-permission boundary (workspace and read roots, or any file in Code mode with Full access). That is exactly the side-effect and permission context an agent needs before invoking.

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 the primary behavior and the mode switch, with every sentence carrying information. The file-viewer sentence is long and syntactically tangled ('a temporary tab that stays out of the Library (keep: true adds it), or the page that already has that file'), which costs a point on readability.

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?

For a four-parameter tool with no annotations and no output schema, the description covers modes, side effects, persistence, permissions, and alternatives. Remaining gaps are failure behavior (what happens if the id, key, or file is not found) and what is returned, which the description leaves entirely implicit.

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 description coverage is already 100%, so the baseline is 3, but the description adds meaning beyond the schema: id/key are sourced from library_search, file is tied to the viewer/permission model, and keep is explained in terms of the temporary-vs-Library outcome rather than just 'default false'. It stops short of explaining precedence when both id/key and file are supplied.

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 (open a closed Library page as a tab, or focus it if already open) and separates two distinct modes: page identified by id/key, or a file shown in the file viewer. It also names library_search as the source of ids/keys, so an agent can distinguish it from the sibling without opening the 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 routing guidance: use library_search to obtain the id or key, use this tool when the page should stay where it is in the Library, and use file when the goal is to show a disk file. It also states an explicit when-not — 'To only point the user at a file, link it instead ([[file:...]])' — so the agent knows when not to call it.

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