Skip to main content
Glama

Document Format Conversion

convert_document_format
Read-onlyIdempotent

Accepts a document as base64 or URL and converts between PDF, DOCX, RTF, HTML, and plain text. Preserves formatting fidelity. Useful as a pre-processing step before data extraction on non-standard file types.

Input Schema

NameRequiredDescriptionDefault
filenameNoOriginal filename with extension (e.g. 'resume.docx'). Defaults to 'resume.txt' if omitted.
outputtypeNoTarget format: 'pdf' (default), 'doc', 'docx', 'dot', 'rtf', or 'html'.
resume_textNoPlain text content of the resume/document. The server encodes it internally.
facedetectionNoSet 'true' to detect and preserve face images during conversion.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / subuserid
      Removed value: -{
      -  "default": "",
      -  "description": "Sub-user identifier for multi-tenant isolation.",
      -  "title": "Subuserid",
      -  "type": "string"
      -}
    • removedInput schema / properties / userkey
      Removed value: -{
      -  "default": "",
      -  "description": "RChilli API userkey. Leave blank to use the authenticated session key.",
      -  "title": "Userkey",
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the description does not need to restate those traits. It adds useful context about preserving formatting fidelity and its pipeline role, but it claims base64/URL inputs that are not represented in the schema and omits what the conversion returns.

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 description is three sentences and front-loads the core conversion behavior. It is appropriately sized, though some of its compact claims are inaccurate against the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a conversion tool with no output schema and all-optional parameters, the description should clarify what is returned or how converted output is delivered. It provides a useful use case and fidelity note, but leaves the response shape unspecified and mischaracterizes supported inputs.

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

Parameters2/5

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

Schema coverage is 100%, so the schema already documents filename, outputtype, resume_text, and facedetection. The description's mention of base64 or URL input is not supported by any parameter, and its reference to plain-text output does not match the outputtype enum, so it adds confusion rather than semantic clarity.

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 and resource: converts documents between named formats. It also distinguishes the tool's role as a pre-processing step before data extraction, which separates it from siblings like extract_resume_data or extract_resume_data_from_url.

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?

It clearly says when the tool is useful: before extraction on non-standard file types. It does not name when not to use it or explicitly compare it to alternatives, but the context is sufficiently clear for a conversion utility.

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