Skip to main content
Glama

get_library_outline

Retrieve a library's structure—library and volume overview or paginated volume outline with section IDs, titles, levels, page ranges, and word counts—to orient and navigate documents.

Instructions

Get a library's structure. Without volume: the library plus every volume with its top-level chapters (one-call orientation). With volume: the paginated outline tree of that volume — section ids, titles, levels, page ranges, word counts. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library — they are read-only and answered from Hillnote Cloud.

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>",
      "library": "<library>"
    },
    "name": "get_library_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoLevels below the parent to include, 0–6 (default 2; 0 = all levels)
limitNoMax nodes to return (default 100, max 300)
offsetNoNode pagination offset (default 0)
parentNoSection id (s-…) whose subtree to list (volume outlines only; default: the top level)
volumeNoVolume id (vol-…), folder name or title. Omit for the library overview.
libraryYesLibrary id (lib-…), folder path (documents/<Library>) or title
workspaceYesWorkspace path/name
includeSummariesNoInclude per-section AI summaries when the library has them

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does add real value: it discloses that cloud libraries are supported and 'read-only and answered from Hillnote Cloud', plus the pagination model and the returned field set. It does not address permissions on local libraries, limits or errors when a library cannot be resolved, or whether the overview call is subject to the same limit/offset caps as the volume outline.

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?

Two sentences, front-loaded with the purpose and then the mode split, with no filler. Minor redundancy comes from re-listing the accepted `library` identifier forms (id, title, path) that the schema already specifies.

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 an 8-parameter, annotation-free tool with no output schema, the description is solid: it explains both modes, the pagination concept, and enumerates the returned fields, which compensates for the missing output schema. Gaps remain around how `depth`, `parent`, `limit` and `includeSummaries` interact with each mode, which the agent must reason out from the schema alone.

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 the schema already documents all eight parameters including the id/title/path forms for `library` and the 'omit for overview' semantics of `volume`. The description largely restates those, adding only the framing that omitting `volume` yields a one-call orientation. Baseline 3 is appropriate; it neither fills gaps nor misleads.

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 opens with a specific verb and resource ('Get a library's structure') and immediately splits the behavior into two concrete modes keyed on the `volume` parameter, so an agent knows exactly what will be returned. It does not, however, name or differentiate itself from siblings like get_library_map or get_library_section, so the agent must infer the boundary from the behavior alone.

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 states clear selection logic between the two modes: omit `volume` for a 'one-call orientation', include it for a paginated outline tree. That is genuine when-to-use guidance. It stops short of saying when to prefer this over the sibling library tools, and gives no exclusions or failure conditions.

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