Skip to main content
Glama
mtn888

document-evidence-mcp

by mtn888

ingest_document

Import a local document once to extract and persist its structured evidence. Caches by content and configuration to avoid redundant processing.

Instructions

Import a local document once and persist its structured evidence.

The cache identity includes source SHA-256, parser configuration, OCR provider, languages and engine versions. Use force only to create an explicit new revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
forceNo
ocr_modeNoauto
languagesNo

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, the description carries the full behavioral disclosure burden. It discloses that the operation persists data, that cache identity includes source SHA-256, parser configuration, OCR provider, languages, and engine versions, and that force creates an explicit new revision. This goes beyond the schema and informs the agent about side effects and revisioning, though it does not detail failure modes or permission requirements.

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 compact: three sentences total, front-loaded with the primary purpose, followed by cache identity details and force guidance. Every sentence contributes value without redundancy or filler.

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 4-parameter complexity, no annotations, and an output schema (which removes the need to describe return values), the description is fairly complete. It covers the main behavior, cache identity, and force semantics. It omits edge cases like duplicate imports or error handling, but the provided context is sufficient for an agent to invoke the tool reasonably correctly.

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?

The schema has 0% description coverage, so the description must compensate. It explains that cache identity derives from source SHA-256 (linked to path), OCR provider (ocr_mode), and languages, and explicitly clarifies force's role for new revisions. However, it does not explain ocr_mode's enum values or the languages format (e.g., ISO codes), leaving some parameter semantics implicit. It adds meaningful guidance but not full compensation.

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 states a specific verb ('Import') and resource ('local document'), and clarifies the key action: 'persist its structured evidence'. This clearly distinguishes it from sibling tools like search_evidence, get_evidence, and render_crop, which are all retrieval or manipulation tools rather than ingestion.

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 implies the primary use case: importing a local document once for evidence persistence, and explicitly warns that 'force' should only be used to create a new revision. It does not name alternative tools, but the contrast with retrieval-focused siblings is contextually clear. It lacks explicit 'do not use when' exclusions, but the 'once' and 'revision' guidance provides solid usage boundaries.

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/mtn888/document-evidence-mcp'

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