Skip to main content
Glama

Search Corpus

search_corpus
Read-only

Search passages across one author or the whole Hermitsh corpus and return source-linked results. Each result carries a url — include it as a link when quoting the passage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesSearch query, such as tyranny, grief, friendship, debt, Caesar.
authorNoOptional author slug or name. Strongly recommended for persona work.
categoryNoOptional category filter.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
countNo
queryNo
authorNo
resultsNo

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 destructiveHint=false. The description adds value beyond these by noting that each result carries a url and instructing to include it as a link when quoting, which is behavioral context not covered by annotations.

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 sentences with no superfluous words. The first sentence defines the purpose, and the second adds a crucial usage note about result links. Every sentence 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?

Given the presence of an output schema (which likely documents return fields), the description suffices for a search tool. It mentions url linking but could improve by briefly indicating free-text search capability and how author/category filters relate to the corpus scope. Still, it is fairly complete for the context.

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?

With 75% schema description coverage, the schema already documents most parameters adequately. The description does not add additional parameter-level details beyond what is in the schema, so it meets the baseline of 3 without exceeding.

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 clearly states 'Search passages across one author or the whole Hermitsh corpus and return source-linked results,' specifying the verb (search), resource (passages/corpus), and scope (by author or entire corpus). This distinguishes it from sibling tools like search_greek_phrases and search_letters.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. While it hints at result usage (include url as link), it lacks explicit when-to-use or when-not-to-use comparisons with siblings like search_parallel or get_passage.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct aspect of the corpus: general search vs. specific entity search, passage retrieval vs. work metadata, allusions vs. cross-references, etc. No two tools appear to do the same thing.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (e.g., list_authors, search_corpus, get_passage) and use snake_case throughout, making the set predictable and easy to navigate.

Tool Count4/5

With 19 tools, the server is slightly above the ideal 3-15 range, but each tool covers a necessary function for a rich text corpus API (search, retrieval, cross-referencing). No tools feel redundant or excessive.

Completeness5/5

The tool surface comprehensively covers the domain: listing authors/works, searching for passages/entities/Greek phrases/letters, retrieving full passages, work metadata, allusions, crossrefs, parallel texts, citation formatting, and AI evidence pack building. No obvious gaps are present.

Resources