Skip to main content
Glama

Find exact text (literal search)

find_exact_text
Read-only

Find literal occurrences of an exact string in the corpus — article numbers, regulation ids, precise wording (e.g. "Article 8(3)", "2024/1781"). Complements semantic search: use this when you need the exact string, not the concept. Returns one match per (file, page) with an occurrence count and a text snippet; read the full page with fetch. Scans the literal chunk text of both indexes the semantic search serves (the two chunkings differ, so some passages exist in only one); the synthetic contextual enrichment is NOT scanned — it is not document text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe exact string to find (min 3 characters).
documentNoOptional exact source file name to restrict the search.
max_resultsNoMax (file, page) matches to return (1-50, default 20).
case_sensitiveNoExact-case match (default False).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only and non-destructive hints, but the description adds substantial behavioral detail: returns one match per (file, page) with occurrence count and snippet, scans both chunk indexes, notes the two chunkings differ, and explicitly excludes the synthetic contextual enrichment from scanning. This goes well beyond the annotations and is fully consistent with them.

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

Conciseness4/5

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

The description is multi-sentence but front-loads the core purpose and then layers usage guidance, return behavior, and scanning scope. Every sentence contributes value; however, it is slightly verbose compared to the minimal requirement. Efficient but not ultra-tight.

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 tool's complexity (sibling tools, two chunk indexes, synthetic exclusion) and that an output schema exists, the description is complete. It covers purpose, when to use, return format, scanning scope, and how to follow up with `fetch`. Nothing an agent needs 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.

Parameters3/5

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

Schema description coverage is 100%, so each parameter is already well-documented in the input schema. The description does not add parameter-specific semantics beyond the schema; it mentions examples of what to search for, but those are illustrative of purpose, not parameter meaning. Baseline 3 is appropriate.

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?

Description states a specific verb ('Find literal occurrences') with a clear resource ('exact string in the corpus') and provides concrete examples. It explicitly differentiates from semantic `search` by stating 'use this when you need the exact string, not the concept.' This fully distinguishes the tool from siblings.

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?

The description names the alternative `search` explicitly and gives the selection condition ('when you need the exact string, not the concept'). It also directs the agent to `fetch` for full-page reads, providing clear context and an alternative action. No gaps.

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.2/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: semantic answering, browsable search, exact-string lookup, outline navigation, full-page fetch, about, and feedback. The main ambiguity is between `search` and `search_eu_textile_regulations`, but their descriptions do separate result-list browsing from cited passage answers.

Naming Consistency3/5

All names use lowercase snake_case, but the pattern is mixed: `fetch` and `search` are one-word verbs, `document_outline` is a noun compound, `about_reecopedia` begins with a preposition, and the rest use verb_object naming. The inconsistency is readable but not predictable enough to infer tool behavior from names alone.

Tool Count5/5

Seven tools is a well-scoped size for a specialized regulatory-corpus reader: Q&A, browse, exact search, outline, fetch, about, and feedback each earn their place. There is no redundancy or bloated surface.

Completeness5/5

The toolset covers the full retrieval lifecycle: ask a regulatory question, browse results, find exact strings, inspect document structure, fetch full pages, and report bad answers for curation. No obvious dead ends or missing operations are apparent for the stated domain.

Resources