Skip to main content
Glama

Document to Markdown

claix.markdown.doc
Read-onlyIdempotent

Convert Word/text document to Markdown (POST /api/doc-markdown). No schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omit/false returns markdown only.

Input Schema

NameRequiredDescriptionDefault
saveNoWhen true, insert into the connected DB using Markdown rules and may return row_id. Omit or false: return markdown only.
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).
filenameNoNombre original del archivo con extensión. Ejemplo: factura-2026-03.pdf. Ayuda a inferir el MIME cuando envías file_base64.
file_pathNoURL HTTPS pública del archivo a procesar. Ejemplo: https://cdn.example.com/factura.pdf. No uses rutas locales del PC del usuario.
file_base64NoArchivo codificado en Base64. Acepta data URLs (data:application/pdf;base64,...) o Base64 puro. Ejemplo de uso: adjunta el PDF/imagen del chat como Base64 antes de llamar a extract_*.

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

B3.3/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true, but the description states save=true 'inserts into the connected DB', which is a state-changing write. That directly contradicts the read-only annotation (and the idempotent/no-destructive framing), so the description undermines rather than reinforces the structured safety signals.

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?

Front-loads the core conversion purpose, then the endpoint, then the save branch. Efficient and free of padding, though the 'No schema_id' fragment is terse and slightly cryptic out of context.

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?

An output schema exists, so return values needn't be explained, and the description covers the endpoint and the one behaviorally significant branch (save). The main gap is the unaddressed conflict between the write-on-save behavior and the declared read-only annotations.

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 coverage is 100%, so all five parameters are already documented in the schema, including save. The description restates the save semantics and adds nothing new for filename, file_path, file_base64, or api_key, so baseline 3 is appropriate.

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?

States a specific verb (Convert) and resource (Word/text document) with an explicit output (Markdown), and the '.doc' scope distinguishes it from siblings like claix.markdown.pdf, claix.markdown.text, and claix.markdown.excel. The endpoint reference and 'No schema_id' note further pin it down.

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?

It clarifies the save=true vs omit/false behavior, which is real usage guidance for that parameter. However, it never says when to choose this over claix.markdown.text or claix.agent.doc, so tool-selection guidance is only implied by the document-type scope.

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