Skip to main content
Glama

list_libraries

Lists libraries of long documents in a workspace, including volumes and counts, so you can find books, manuals, or standards and then read them section by section.

Instructions

List the libraries (collections of long documents — books, manuals, standards, reports — split into searchable, citeable sections) in a workspace, with their volumes and counts. Use it for questions about a book or long document; get_library_outline, search_library and get_library_section then read it a section at a time, where read_document would load the whole book. Includes cloud libraries connected to this workspace (rows with a remote block): read-only, hosted on Hillnote Cloud, queried exactly like the others.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax libraries to return (default 50, max 200)
queryNoOptional case-insensitive filter on library and volume titles
offsetNoPagination offset (default 0)
workspaceYesWorkspace path/name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: cloud libraries appear as rows with a `remote` block, are read-only, hosted on Hillnote Cloud, and are queried identically to local ones, and the response includes volumes and counts. It stops short of stating ordering, empty-workspace behavior, or error conditions for an invalid workspace path.

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 verb and resource, then follow-on tools, then the cloud-library caveat. The parenthetical definition is long but load-bearing for disambiguation; only the 'queried exactly like the others' clause borders on filler.

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?

No output schema and no annotations, so the description must explain returns — it does ('volumes and counts', `remote` block). For a four-parameter list tool with full schema coverage, the remaining gaps (ordering, error handling) are minor.

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%, so limit, offset, query, and workspace are already documented in the schema; baseline is 3. The description adds no parameter-level meaning (for example, that `query` matches volume titles as well as library names is only in the schema), so it earns no premium here.

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 (list) and resource (libraries in a workspace), and defines the resource inline as 'collections of long documents — books, manuals, standards, reports — split into searchable, citeable sections.' It also distinguishes the resource from a plain document by contrasting with read_document, so an agent can tell which tool covers long-form content.

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 an explicit trigger ('Use it for questions about a book or long document') and names the follow-on path (get_library_outline, search_library, get_library_section), plus the alternative to avoid (read_document, which 'would load the whole book'). When-to-use and when-not-to-use are both present.

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