Skip to main content
Glama

mindbase_ingest_file

Ingest a PDF, Markdown, or text file from a local path or direct URL, archive the original, and return extracted text for immediate discussion.

Instructions

Ingest a file (PDF, .md, or .txt) into a project: archives the original into sources/raw//, extracts text locally (pdfjs for PDFs — no API call), writes an .extracted.md sidecar for PDFs, and returns the text. Accepts a local absolute path OR an http(s) URL that points directly at a file (e.g. an arXiv PDF link) — URLs are downloaded first. After calling this, discuss the key takeaways with the user and file a summary via mindbase_contribute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path on disk, or a direct http(s) URL to a PDF/.md/.txt file
titleNoOptional human title; defaults to the filename
projectIdNoProject id; defaults to the current project (config.json)
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden of behavior disclosure. It does this well by stating that it archives the original into sources/raw/<date>/, uses pdfjs locally with no API call, writes an .extracted.md sidecar for PDFs, returns the text, and downloads URLs first.

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?

Three sentences of dense, high-value content. No filler, the main behavior appears first, and follow-up instructions are appended at the end in a natural order.

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?

Even without an output schema, the description tells the caller that the text is returned. It documents postconditions, input types, sidecar creation, and the recommended follow-up. For a file ingestion tool, this is complete.

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

Parameters4/5

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

Input schema covers 100% of parameters with descriptions, so the baseline is high. The description adds important semantics for the required path parameter: it can be an absolute local path or direct http(s) URL, and describes the download-first behavior. Title and projectId semantics are already adequately documented in 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?

Description uses specific verb 'Ingest' with clear resource types ('file into a project'), enumerates supported types and formats (PDF, .md, .txt), and describes the concrete workflow: archive, extract, sidecar, return text. It is easily distinguishable from sibling tool names like ingest_source or ingest_plan.

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?

Clear context is provided for when to use this tool: you can pass a local absolute path or a direct http(s) URL pointing to a PDF/.md/.txt file. It also prescribes the follow-up workflow (discuss takeaways and use mindbase_contribute), but it does not explicitly state when to prefer this over sibling tools such as ingest_source. No exclusions are stated but they are not needed for basic usage.

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

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/frankchu91/mindbase-llm-wiki'

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