Skip to main content
Glama
ofershap

mcp-server-anydoc

by ofershap

convert_base64

Convert base64-encoded document bytes into Markdown locally when you lack a filesystem path. Runs on-device via anydoc.

Instructions

Convert document bytes (base64) to Markdown locally. Use when the file content is already in context and you cannot pass a filesystem path. Still runs on-device via anydoc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoFormat hint such as "docx", "pdf", "xlsx", "csv"
filenameNoOptional filename used to infer format from extension
content_base64YesBase64-encoded document bytes
Behavior3/5

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

The description reveals that conversion runs locally and on-device via anydoc, which is a meaningful behavioral trait given no annotations. However, it does not mention return format, error handling, or other side effects, leaving some behavioral aspects undisclosed.

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 two sentences, starts with the core action, and each sentence contributes distinct value: what it does, when to use, and where it runs. There is no wasted or redundant wording.

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 tool with 3 parameters and no output schema, the description covers purpose, usage context, and a behavioral note. It does not explicitly describe the return value, but the conversion to Markdown implies the output. Given the simplicity, it is reasonably complete for selection and invocation.

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 input schema already provides complete descriptions for all 3 parameters (100% coverage), so the description adds little beyond schema. It mentions 'base64' and 'filename' but does not clarify parameter usage or dependencies beyond what the schema states.

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 clearly states the tool converts base64 document bytes to Markdown locally, using a specific verb and resource. It distinguishes itself from path-based sibling tools by emphasizing the base64 input context.

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 gives explicit guidance on when to use the tool: when file content is already in context and a filesystem path cannot be passed. It implies when not to use it but does not name alternative tools directly, though siblings are visible in context.

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/ofershap/mcp-server-anydoc'

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