Skip to main content
Glama

search_fulltext

Search the full body text of indexed PDFs using keywords to find methodological details or specific terms, returning highlighted snippets from matching papers.

Instructions

Full-text keyword search across all indexed PDFs.

Exact KEYWORD search across the full body text of your indexed PDFs. For
meaning-based (semantic/vector) PDF search use search_pdf_knowledge; for
reference metadata only use search_library.

Searches the library_fulltext table for papers containing your keywords.
More powerful than title/abstract search — finds methodological details
in the body of papers.

Args:
    query: Keywords to search for, space-separated (words shorter than three
        letters and common stop-words are ignored).
    max_results: Maximum number of results to return (default 10).

Returns:
    A single TextContent listing each matching paper's title (or filename)
    with a highlighted snippet around the first matched keyword, or a
    "no results" / "no usable keywords" message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully discloses that it searches the library_fulltext table, ignores short words and stop-words, and returns a TextContent with title and highlighted snippet. It clearly explains the search behavior and output format.

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 concise, structured with a summary line, sibling differentiation, and a clear Args section. Every sentence adds value without redundancy.

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 simple tool with 2 parameters and existing output schema, the description is complete. It covers query behavior, return format, and usage context, leaving no gaps for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

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

Schema description coverage is 0%, so the description carries full burden. It thoroughly explains both parameters: query (with details on ignored words) and max_results (with default value), adding significant meaning 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?

The description clearly states it performs full-text keyword search across indexed PDFs, and explicitly differentiates from siblings search_pdf_knowledge and search_library, making the tool's purpose precise and distinct.

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 provides explicit guidance on when to use this tool (keyword search) vs alternatives (semantic or metadata search) and explains the query format (space-separated, ignoring short words and stop-words). It does not include explicit when-not-to-use but covers key context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SVerITG/Metis_PH'

If you have feedback or need assistance with the MCP directory API, please join our Discord server