Skip to main content
Glama

Ask across multiple documents

claix.multi_document.ask
Read-onlyIdempotent

Ask up to 5 typed questions across up to 10 uploaded documents (POST /multi-document). Multipart: repeat field file for each document; questions as a JSON string of { question, format } (format: string|int|boolean|timestamp|array). Optional window_context, window_time, space_id match OpenAPI MultiDocumentRequest. Returns user_ask, ia_response, documents_processed, log_id.

Input Schema

NameRequiredDescriptionDefault
filesYesUp to 10 documents. Each is sent as multipart field file.
api_keyNoAPI key secreta de Claix. Ejemplo: claix_sk_abc123.... Opcional si la conexión MCP envía x-api-key en cabecera HTTP (recomendado en Smithery/Cursor).
space_idNoOptional OpenAPI MultiDocumentRequest space_id (only when window_context is true).
questionsYesQuestions as objects { question, format }. Max 5 per call, 400 characters per question. format ∈ string|int|boolean|timestamp|array.
window_timeNoRequired by API if window_context is true. Minutes or "infinity".
window_contextNoOptional OpenAPI MultiDocumentRequest flag: when true, converted documents may be retained.

Output Schema

NameRequiredDescriptionDefault
dataNoJSON payload from the Claix API (extracted records, schema list, or Excel export metadata).
errorNoHuman-readable error message when success is false.
successYesTrue when Claix returned a successful response. False when isError is set on the tool result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds real operational context (multipart with repeated 'file' field, questions as a JSON string), but its return-value listing (user_ask, ia_response, documents_processed, log_id) largely duplicates the output schema, and it does not note that window_context=true may cause documents to be retained beyond the call.

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 purpose is front-loaded in the first clause, followed by mechanics in a compact paragraph. The endpoint reference (POST /multi-document) and the return-field list are lower-value additions that could be trimmed, but overall it is tight and readable.

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?

For a fairly complex tool (6 params, nested question objects, multipart upload) with a 100% covered schema, annotations, and an output schema, the description supplies the missing glue: multipart shape, per-call limits, and the typed-question structure. It does not explain the retention semantics of window_context or the api_key fallback, which are left to the schema.

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 every parameter is already documented in the schema, including the format enum and the window_context/window_time relationship. The description only restates the format enum and gestures at the optional parameters matching OpenAPI MultiDocumentRequest, adding no syntax or constraint detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb (ask typed questions) and resource (multiple uploaded documents), and states the operational envelope (up to 5 questions, up to 10 documents). This implicitly separates it from single-document siblings like claix.retrieve.ask and the extract.* family, but it never explicitly names an alternative, so it falls short of a 5.

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 scope limits (max 5 questions, max 10 documents) imply when the tool applies, but there is no explicit when-to-use guidance, no prerequisites, and no routing to sibling tools such as claix.retrieve.ask or claix.agent.* for single-document or single-question cases. Usage is inferable but not stated.

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.

Resources