Skip to main content
Glama

Penwright — writing-craft library, guide metadata, and magazine

Search the writing-craft library catalog

search_library
Read-only

Search or list Penwright's writing-craft book library by title/author substring and/or property tag. No filters returns the first page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoCase-insensitive property-tag substring.
limitNoMax rows to return (default 25, max 100).
queryNoCase-insensitive title/author substring.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagYes
countYes
queryYes
totalYes
resultsYes
contractYes

Schema Changelog

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

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this read-only and non-destructive. The description adds useful behavioral context: with no filters it returns the first page, and query/tag act as substrings that can be combined. No contradiction with annotations exists.

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?

A single front-loaded sentence communicates the action, resource, filters, and default behavior without any filler. Every phrase earns its place.

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 simple optional-parameter search tool with a full output schema and safety annotations, the description covers the key default behavior and filter combinations well. It does not explain pagination beyond 'first page' or how an agent would request later pages, which is a minor gap.

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?

The input schema already documents all three parameters with clear case-insensitive substring semantics, limit bounds, and defaults. The description only lightly echoes that query relates to title/author and tag to property tag, adding no meaningful syntax or format details beyond 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 action, 'Search or list', on a clearly defined resource, Penwright's writing-craft book library, with explicit filter dimensions (title/author substring and property tag). This distinguishes it from the sibling get_* tools, which retrieve specific items rather than searching or listing.

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?

The description implies the tool is for browsing or filtering the library, and it notes the no-filter default behavior. However, it never explicitly says when to use this tool over the sibling get_* tools or when to prefer direct retrieval, leaving the usage decision mostly to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources