Skip to main content
Glama

Search Library Source

library_search
Read-onlyIdempotent

Find books, papers, or records in a named library source using title, author, subject, or keywords. Returns results from that source only, with options for concise or detailed output.

Instructions

Search a specific library source by name. Use library_ask instead for natural language queries across multiple sources.

Sources marked [full text] support library_read and library_ingest. Sources marked [metadata] return discovery info and external URLs only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results
queryYesTitle, author, subject, or keywords
sourceYesLibrary source name. Run library_list_sources for the current list and descriptions.
response_formatNoconcise (default) trims results/citations to high-signal fields; detailed returns the full payload, including routing reasons, scores, and stage diagnostics.concise

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv11.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already establish a safe, read-only, idempotent operation, so the description does not need to restate that. It adds useful behavioral context beyond the annotations by distinguishing [full text] sources, which support read/ingest, from [metadata] sources, which return discovery info and external URLs only.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, purposeful paragraphs: the core action, the key alternative, and source-type capability guidance. No filler or repetition of schema/annotation content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the strong schema (100% parameter coverage), explicit output schema, and annotations, the description covers the remaining operational context: which source to target, how to route to library_ask, and what result types to expect from metadata-only sources. Nothing needed 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds a little extra meaning by framing the query as a structured search of a specific source rather than a natural-language question, which reinforces the query and source parameters without replacing 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?

The description states a specific action ('Search a specific library source by name') and names the resource (library source). It also differentiates from library_ask, which handles natural-language queries across multiple sources, so an agent can tell them apart.

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?

It explicitly says to use library_ask instead for natural language queries across multiple sources. It also explains when library_read and library_ingest apply based on [full text] source markings, giving clear routing to the relevant siblings.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/The-40-Thieves/alexandria-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server