Skip to main content
Glama

The Stochastic Parrot

search_corpus

Full-text search over every published piece (titles, deks, context lines, outlet names, and source headlines). Returns matching pieces with slug, title, URL, and a highlighted snippet, best matches first. Use the slug with get_audit for full detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return (default 25, hard cap 100).
queryYesSearch terms, e.g. 'McConnell hospital photo'. Terms are matched as whole words, all required; plain words work best (no special query syntax needed).

Schema Changelog

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

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and discloses that the operation is a read-only search, specifies the exact return fields (slug, title, URL, highlighted snippet), and notes ordering (best matches first). It also scopes the search to published pieces and lists which parts of the content are searched. It does not mention rate limits or error behavior, but for a simple search tool this is substantial.

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?

The description is two sentences with no wasted words. It front-loads the purpose, then provides return details and a workflow pointer. It avoids repeating schema descriptions, making every clause valuable.

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 two-parameter search tool with no output schema, the description covers search scope, return fields, ordering, and the follow-up action. The schema handles search term semantics and limits. Minor gaps like behavior on zero results are non-essential, so the description is effectively complete for correct invocation.

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 description coverage is 100%, so the schema already fully documents both 'query' and 'limit'. The description adds useful context about what corpus is searched, but it does not add parameter-level semantics beyond the schema, so the baseline 3 applies.

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 uses the specific verb 'search' over a clearly defined resource ('every published piece') and enumerates the exact fields searched. It also distinguishes itself from sibling get_audit by noting that the slug should be used for full detail, so an agent can tell which tool does which job.

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

Usage Guidelines4/5

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

The description gives explicit workflow guidance: after searching, use the returned slug with get_audit for full detail. It provides clear context for when search_corpus applies (full-text search for published pieces) though it does not explicitly enumerate when not to use it or name alternative search tools.

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

A4/5.0
Disambiguation5/5

Each tool maps to a distinct resource or action: list versus get for corpus discovery, chain versus claim ledger versus storyboards for chain analysis, framing index versus boxscore for statistics, and submit/report/propose for reader input. Even adjacent pairs like get_audit and verify_piece are clearly separated by their different purposes.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern, with get_* for detailed retrieval, list_* for summaries, and action verbs for reader-facing inputs. The verb choice reliably signals the operation type throughout.

Tool Count5/5

At 15 tools, the set sits at the upper end of the ideal range, but every tool addresses a distinct facet of the desk's public surface: discovery, deep detail, provenance, coverage monitoring, and reader interaction. No tool feels redundant or decorative.

Completeness4/5

The surface covers discovery, retrieval, chain analysis, provenance verification, corrections, and reader interaction, forming a coherent workflow with no dead ends. Minor gaps exist: boxscore days are only enumerated off-server, and letters are exposed only as excerpts rather than individually retrievable records.

Resources