Skip to main content
Glama

read_playbook

Retrieve a saved playbook for a question type with its pinned source text by default, so exact sections need no separate search; missing sources are reported.

Instructions

Read one playbook: the user's saved approach for a kind of question, plus, by default, the full text of every source it pins, so the exact sections it names need no separate search. search_library covers anything the pinned sources do not. A pinned source that cannot be found is reported as missing in the result. 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>",
      "playbook": "<playbook>"
    },
    "name": "read_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
libraryNoOptional library id, title or path to disambiguate a repeated title
resolveNoInclude the text of each pinned reference (default true)
maxCharsNoTotal character budget across all reference bodies (default 24000)
playbookYesPlaybook id, title or path (from list_playbooks)
workspaceYesWorkspace path/name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.5/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 well: it discloses the default resolve behavior, that missing pinned sources are reported rather than failing, and that cloud libraries are read-only and served from Hillnote Cloud. It does not discuss permissions, partial-failure handling, or how the char budget degrades results.

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?

Four sentences, front-loaded with purpose then scope then alternative then cloud caveat; minimal waste. The final sentence is dense and could be split for scanability.

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 five-parameter read tool with no output schema and no annotations, the description covers default behavior, missing-source handling, and cloud scope. What is actually returned (playbook body plus reference bodies, ordering) is only implied.

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 coverage is 100%, so baseline is 3, but the description adds real meaning: `library` is tied to cloud libraries and declared read-only, `resolve` is framed as 'by default, the full text of every source it pins,' and the playbook param points at list_playbooks. Only maxChars semantics are left entirely to the schema.

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 ('Read one playbook') and immediately defines what a playbook is ('the user's saved approach for a kind of question'), plus the default scope of including pinned source text. This is clearly distinguishable from search_library and from the create/update siblings.

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?

Explicitly routes the agent: use this for the exact sections a playbook pins, and 'search_library covers anything the pinned sources do not.' It also states when the cloud-library path applies and how to invoke it via the `library` parameter.

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