Skip to main content
Glama

open_database

Open a database in the running Hillnote app so users can see kanban, table, or calendar boards; optionally switch views, apply filters, scroll columns, set calendar dates, or highlight rows.

Instructions

Open a database (kanban/table/calendar board) in the running Hillnote app so the user can see it. Optionally switch views, apply filters, scroll a kanban column into view, set the calendar to month/week/day or a date, and/or flash a row to point the user at it (pulsing highlight until they click). Databases are folders, not documents — use this instead of open_document for them. Use after add_rows/update_rows to show the user what you built.

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": {
      "workspace": "<workspace>",
      "database": "<database>"
    },
    "name": "open_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoOptional view to switch to: a view name, view id, or view type ("table", "kanban", "gallery", "calendar", "chart", "gantt", "dashboard", "map", "tool" — a Custom view rendering an HTML tool). Switching loads that view's saved filters.
filtersNoOptional ad-hoc filters to apply on top of the view (shown in the filter bar so the user can see and clear them). Each: { column: column name or id, operator, value }.
databaseYesDatabase folder path relative to documents/ (as used by the database tools, e.g. "tasks" or "projects/roadmap") or the database name
workspaceYesWorkspace path or name
focusWindowNoBring the Hillnote window to the front (default true)
calendarDateNoCalendar views only: navigate the calendar to this date (ISO, e.g. "2026-07-15")
calendarModeNoCalendar views only: switch the calendar to month, week, or day mode (combine with view: "calendar" if not already on one)
highlightRowNoOptional row to point the user at — a row id or (partial) row title. The matching row/card is scrolled into view and flashed until the user clicks.
scrollToColumnNoKanban only: horizontally scroll a column into view, matched by its header value (e.g. a status option like "In Progress")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose real behavior: it targets the running app, brings the window forward, ad-hoc filters are surfaced in the filter bar so the user can see and clear them, and a highlighted row pulses 'until they click.' It stops short of stating what the call returns or what happens if the database/view name doesn't resolve, but the UI side effects are well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: action and scope first, routing to the sibling second, workflow trigger last. The optional-capability sentence packs a lot without repetition, and nothing is padding.

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 9-parameter, no-annotation, no-output-schema tool, the description covers purpose, the alternative to use, side effects, and the post-write workflow. Minor gaps remain (return value, failure mode when the database path is wrong), but nothing needed to invoke it correctly is missing.

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 description coverage is 100% and the schema itself already explains view, filters, calendarMode, highlightRow, and scrollToColumn in detail. The description's recap ('switch views, apply filters, scroll a kanban column into view, set the calendar...') mainly restates the option list rather than adding format or precedence semantics, so the baseline of 3 applies.

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 database (kanban/table/calendar board) in the running Hillnote app') and immediately disambiguates the closest sibling: 'Databases are folders, not documents — use this instead of open_document for them.' An agent can select this over open_document on name alone.

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 both the alternative to avoid (open_document) and the triggering workflow ('Use after add_rows/update_rows to show the user what you built'). The pre/post conditions that select this tool are explicit rather than implied.

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