Skip to main content
Glama

open_view

Display Chat, Terminal, Files, or Browser in the Hillnote main area instead of the side panel, or return to the workspace; matching tabs are reused so open documents stay open.

Instructions

Show Chat, Terminal, Files or the Browser filling the main area of the running Hillnote app (instead of its side panel), or go back to the workspace with view "workspace". If a tab already shows that view the app switches to it; otherwise the view opens in a new tab, so the user's current document stays open. Requires the Hillnote app to be running; the first UI call asks the user for approval inside the app.

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": {
      "view": "<view>"
    },
    "name": "open_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNofiles only: a workspace-relative file to show in the Files view (e.g. "resources/report.pdf")
viewYeschat, terminal, files or browser to show that view; workspace to leave it
workspaceNoWorkspace path or name (optional — default: the workspace the app is showing; a different one is switched to first)
focusWindowNoBring the Hillnote window to the front (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses tab-switching vs new-tab behavior, that the user's current document stays open, and that the first UI call triggers an in-app approval prompt. Remaining gaps are minor, such as whether approval persists for later calls or what happens if the app is not running.

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?

It is front-loaded with the core action and follows with conditional behavior and prerequisites in a logical order. There is slight redundancy between the prose enumeration of views and the enum list, but nothing that should be cut wholesale.

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 UI control with no annotations and no output schema, the description covers prerequisites, side effects, and tab semantics adequately. Only return-value behavior and approval persistence are left unstated, which are modest gaps given the tool's nature.

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% and every parameter already has a descriptive schema entry, including the files-only 'path' note and the 'workspace' default. The description reinforces the 'workspace' enum value but adds little parameter meaning beyond what the schema already documents, so the baseline 3 applies.

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 names a specific verb ('show') and concrete resources (Chat, Terminal, Files, Browser, workspace) and clarifies the effect ('filling the main area of the running Hillnote app (instead of its side panel)'), which sets it apart from panel-level siblings. It stops short of explicitly distinguishing itself from create_view or add_tool_view, so sibling differentiation is only partial.

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 clear when-to-use context: pick a view name to show it in the main area, or use 'workspace' to leave the view. It also states a prerequisite ('Requires the Hillnote app to be running'). It does not name alternative tools for related operations (e.g., create_view), leaving the agent to infer routing.

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