Skip to main content
Glama

convert_content

Convert short, self-generated documents by passing content as a string. Supports markdown, HTML, reStructuredText, plain text, and base64 docx to various output formats including PDF and Word.

Instructions

Offload an inline document conversion to Botverse — pass the content directly as a string. ONLY use this tool for content you generated yourself (e.g. Markdown you just wrote). HARD LIMIT: content must be under 10,000 characters. If the content is longer than 10,000 characters, or came from an uploaded or external file, DO NOT use this tool — tell the user to make the file available at a public URL (Google Drive share link, Dropbox, object storage, etc.) and use convert_from_url instead. Supported inputs: md, html, rst, txt (plain text), docx (base64). Supported outputs: docx (Word), pdf, html, txt, md, rst, xlsx. Flat fee $0.05 per file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe file content as a plain text string (for md, html, rst, txt) or base64-encoded bytes (for docx).
input_formatYesSource format of the content.
output_formatYesTarget format: docx | html | txt | md | rst | pdf | xlsx
encodingNoEncoding of the content field. Defaults to "text". Use "base64" for binary inputs like .docx.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesUnique identifier for this job. Pass to get_job_status and get_download_url.
statusYesInitial job state — always queued or processing immediately after submission.
estimated_secondsNoRough estimated processing time in seconds. Actual time may vary.
Behavior4/5

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

Annotations indicate non-readonly, non-destructive, non-idempotent, open world. Description adds cost transparency ('Flat fee $0.05 per file') and hard limit on content length. Could mention error handling or job status.

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?

Concise, well-structured with no wasted sentences. Front-loaded with purpose, then conditions, then supported formats. Uses bolded limits and alternative tool names.

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?

With 4 parameters fully covered, output schema present, and description providing cost and limits, the tool is fully documented. No missing context for an agent to use it correctly.

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?

Schema coverage is 100%, but description adds meaning: explains content can be text or base64 depending on input format, defaults, and the 10k character limit. Only minor gap is no explicit mention of encoding default in description.

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 uses a specific verb ('offload an inline document conversion') and resource ('Botverse'), distinguishes from sibling tool convert_from_url, and clearly states the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (self-generated content under 10,000 chars), when not to use (longer or external files), and directs to convert_from_url as alternative. Also lists supported input/output formats.

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/MkTurner74/botverse-mcp'

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