Skip to main content
Glama

FMF Tools Doc Tools

doc_markdown

Any document to Markdown ($0.005 per call, paid via MPP on Tempo). Universal converter: PDF, DOCX, XLSX/XLS/XLSM/XLSB, ODT/ODS, CSV, HTML, XML or Apple Numbers to Markdown (type auto-detected). Max 15 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/doc/markdown. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "doc_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the file
dataNoBase64 file content (alternative to url)
filenameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it names the price ($0.005 per call), the payment rail (MPP on Tempo), the 15 MB size ceiling, the endpoint URL, and critically warns that 'This MCP wrapper does not settle payment by itself' and requires an MPP Payment Authorization header. What it omits is the shape of the result (a markdown string in the response) and failure behavior for unsupported/oversized files.

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?

Dense but front-loaded: purpose first, then formats, then constraints, then payment mechanics. Every clause carries operational information (cost, limit, endpoint, auth) with no filler, though the payment/HTTP-route sentence is technical enough that it reads as a run-on.

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 3-parameter tool with no annotations and no output schema, it covers the operational essentials an agent needs: supported formats, size limit, price, payment requirement, and the underlying HTTP route. Missing pieces are the return-value shape and the exact role/semantics of filename.

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 67% and the schema already explains url and data as alternatives, so the description need only add marginal meaning. It contributes 'type auto-detected', which informs the filename parameter indirectly, but says nothing about when filename is required or what filename should contain, leaving the undocumented parameter untouched.

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 and resource ('document to Markdown') plus an explicit format list (PDF, DOCX, XLSX/XLS/XLSM/XLSB, ODT/ODS, CSV, HTML, XML, Apple Numbers) that lets an agent separate this universal converter from format-specific siblings like pdf_markdown, docx_markdown and html_markdown.

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?

Usage is implied clearly by the format list and the 15 MB cap, and the closing sentence routes payment via 'mppx against the HTTP route'. However, there is no explicit when-not guidance (e.g. prefer pdf_markdown/pdf_text for PDFs) and no statement about which input mode to pick in which situation.

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