Skip to main content
Glama
Rixmerz
by Rixmerz

ingest_document

Load, segment, and index documents for search by processing txt, md, pdf, epub, and html files. Automatically detects chapters and sections to prepare content for efficient retrieval.

Instructions

Load, segment, and index a document for search.

Supports txt, md, pdf, epub, and html formats. Automatically detects chapters and sections.

Args: path: Absolute path to the document file. title: Optional title for the document (defaults to filename). chunk_size: Target size in words for each chunk (default: 2000). overlap: Number of words to overlap between chunks (default: 100). force: Force re-indexing even if document already exists.

Returns: Ingestion result with document ID and structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
titleNo
chunk_sizeNo
overlapNo
forceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behaviors: supported formats, automatic chapter/section detection, default values for parameters, and the 'force' parameter's re-indexing behavior. It doesn't mention rate limits, authentication needs, or error conditions.

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 efficiently structured with a purpose statement, format support, behavioral note, parameter explanations, and return value description - all in compact sentences that earn their place. It's front-loaded with the core functionality.

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 tool's complexity (document processing pipeline), no annotations, and an output schema, the description is quite complete. It covers purpose, behavior, parameters, and return value. The main gap is lack of explicit usage guidelines versus sibling tools.

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?

With 0% schema description coverage, the description fully compensates by explaining all 5 parameters in the 'Args' section, providing clear semantics for 'path', 'title', 'chunk_size', 'overlap', and 'force' with defaults and practical meaning beyond the bare 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 the tool's purpose with specific verbs ('load, segment, and index') and resource ('a document for search'), distinguishing it from siblings like 'list_documents' or 'search_segment'. It explicitly mentions the document processing pipeline and search orientation.

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

Usage Guidelines3/5

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

The description implies usage context through format support and automatic chapter detection, but doesn't explicitly state when to use this tool versus alternatives like 'list_documents' or 'search_segment'. No explicit exclusions or prerequisites are provided.

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/Rixmerz/bigcontext_mcp'

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