Skip to main content
Glama

search_library

Read-only

Search saved YouTube transcripts, notes, and skills for words or phrases. Returns matching lines ranked by relevance to help you find stored knowledge quickly.

Instructions

Search everything saved in the library (transcripts, notes, skills) for words or a phrase.

Args: query: Words to look for. Lines containing all of the first three words rank first. limit: Maximum number of matching lines.

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": {
      "query": "<query>"
    },
    "name": "search_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real behavioral context beyond that: the searched content types (transcripts, notes, skills) and the ranking rule that lines containing all of the first three words rank first. It omits matching semantics such as case sensitivity or phrase handling.

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?

The purpose is front-loaded in one sentence and the Args block is compact with no filler. The ranking sentence is tersely worded and slightly ambiguous, which costs a point but not readability.

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?

With a read-only annotation profile, an output schema, and only two parameters, the definition covers what an agent needs to invoke it correctly. Missing are edge details like empty-result behavior and matching rules, which are minor given the output schema handles return shape.

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 description coverage is 0%, so the description carries the burden and mostly does: 'limit' is clarified as a maximum count of matching lines (not documents), and 'query' gets a ranking rule. The query semantics remain partly opaque ('first three words' is an odd, under-explained heuristic).

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?

Uses a specific verb ('Search') plus an explicit resource and scope ('everything saved in the library (transcripts, notes, skills)'), which is clearly distinguishable from list_library. It stops short of naming any sibling or stating the contrast explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the purpose statement - an agent can infer 'use this to find content by text' - but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative for browsing or retrieving full records.

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