Skip to main content
Glama

Build Source Pack

build_source_pack
Read-only

Build an evidence pack for an AI answer: source-linked passages, related entities, and citation instructions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoscholar
limitNo
queryYesQuestion or topic to research.
authorNoOptional author slug or name.
categoryNoOptional work category filter.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
queryNo
authorNo
passagesNo
instructionsNo
citation_policyNo
related_entitiesNo

TDQS

A3.6/5.0
Behavior3/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 that it builds a pack (non-destructive) and lists components (passages, entities, citations), providing some behavioral context beyond the annotations, but not rich details.

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?

Single sentence that is concise and front-loaded with the core purpose. No wasted words.

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 existence of an output schema (not shown but indicated), the description need not detail return values. It covers the tool's high-level functionality adequately for a tool with moderate complexity and good annotations.

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 coverage is 60%, but the description does not elaborate on parameters beyond what the schema provides. The description adds no additional meaning for query, mode, limit, author, or category, so it does not compensate for the coverage gap.

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 the tool's purpose: building an evidence pack with source-linked passages, related entities, and citation instructions. It distinguishes itself from siblings like cite_passage or get_passage by focusing on assembling multiple components.

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?

No guidance on when to use this tool vs alternatives. For example, if only a single passage is needed, get_passage might be more appropriate. The description lacks context about when not to use it.

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