Skip to main content
Glama

Prepare research playbook input

get_playbook_input
Read-onlyIdempotent

Prepares cited local evidence and report instructions for creator comparisons, transcript analysis, comment mining or repurposing; returns an instruction packet and hash for client-written research.

Instructions

Prepare cited local evidence and instructions for a client-written research report. Use for creator comparisons, transcript analysis, comment mining or repurposing; use analyze_self_channel for computed own-channel performance, search_library for ad hoc retrieval and get_library_brief_input for a dated operational brief. Returns instruction, packet and packet_hash within the library read budget. The client does the analysis; no model is called. Argument selectors depend on the selected playbook.

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": {
      "playbook": "<playbook>",
      "arguments": "<arguments>"
    },
    "name": "get_playbook_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
playbookYesResearch packet to prepare; its name selects the allowed arguments and required selectors.
argumentsYesString-valued playbook arguments: outlier-posts/creator-teardown require author (optional platform); outlier-posts also accepts since. transcript-intel needs exactly one of video_ids/topic/author (optional since). comment-mining needs video_ids or author and optional lens=voc/demand. repurpose-pack requires video_ids and optional kinds. thesis-check requires thesis (1-500 characters) plus exactly one of video_ids/topic/author (optional since). IDs/kinds are comma-separated strings; ID caps are 8, 10 and 5 respectively, and 10 for thesis-check. since is a UTC YYYY-MM-DD capture date, not future.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.16.2
    • changedInput schema / properties / arguments / description
      Previous value: -"String-valued playbook arguments: outlier-posts/creator-teardown require author (optional platform); outlier-posts also accepts since. transcript-intel needs exactly one of video_ids/topic/author (optional since). comment-mining needs video_ids or author and optional lens=voc/demand. repurpose-pack requires video_ids and optional kinds. IDs/kinds are comma-separated strings; ID caps are 8, 10 and 5 respectively. since is a UTC YYYY-MM-DD capture date, not future."New value: +"String-valued playbook arguments: outlier-posts/creator-teardown require author (optional platform); outlier-posts also accepts since. transcript-intel needs exactly one of video_ids/topic/author (optional since). comment-mining needs video_ids or author and optional lens=voc/demand. repurpose-pack requires video_ids and optional kinds. thesis-check requires thesis (1-500 characters) plus exactly one of video_ids/topic/author (optional since). IDs/kinds are comma-separated strings; ID caps are 8, 10 and 5 respectively, and 10 for thesis-check. since is a UTC YYYY-MM-DD capture date, not future."
    • changedInput schema / properties / playbook / enum
      Previous value: -[
      -  "outlier-posts",
      -  "transcript-intel",
      -  "comment-mining",
      -  "creator-teardown",
      -  "repurpose-pack"
      -]New value: +[
      +  "outlier-posts",
      +  "transcript-intel",
      +  "comment-mining",
      +  "creator-teardown",
      +  "repurpose-pack",
      +  "thesis-check"
      +]
  2. First observedv3.12.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely non-redundant behavior: the client performs the analysis, no model is invoked, results are bounded by the library read budget, and the return carries instruction, packet and packet_hash. It stops short of describing failure modes or what happens when selectors are invalid, so a 4 rather than a 5.

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?

Three front-loaded sentences with no filler: purpose, routing, then return/behavior. It is dense but each clause earns its place; the only mild redundancy is restating the selector-dependency rule that the schema already encodes.

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 two-parameter but nested, enum-switched tool with no output schema, the description covers purpose, alternatives, return shape and the execution model. What remains thin is selector-level detail, though the input schema fully compensates. Nothing an agent needs in order to call 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 nested arguments field already spells out per-playbook selectors, ID caps, comma-separated formats and the UTC date constraint. The description only adds the framing sentence 'Argument selectors depend on the selected playbook,' which points at the schema rather than adding meaning. Baseline 3 is correct given the schema does the heavy lifting.

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 concrete verb and resource: 'Prepare cited local evidence and instructions for a client-written research report.' It also enumerates the jobs it serves (creator comparisons, transcript analysis, comment mining, repurposing) and names the sibling tools it is NOT (analyze_self_channel, search_library, get_library_brief_input), so an agent can select it without opening the schema.

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 evidence prep; use analyze_self_channel for computed own-channel performance, search_library for ad hoc retrieval, get_library_brief_input for a dated operational brief. That is a when-to-use plus a when-to-use-something-else in one sentence, with no alternatives left to inference.

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

Deploy Server

Other Tools