Skip to main content
Glama

convert_document

Use this when converting a public PDF/DOCX/HTML/text URL to markdown or plain text for RAG/summaries. Example: {url, format:"markdown"} → {detected_format, markdown, pages, word_count}. $0.03 USDC.

Input Schema

NameRequiredDescriptionDefault
urlYes
formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the material behavioral facts of cost ($0.03 USDC, implying a paid endpoint) and the return shape ({detected_format, markdown, pages, word_count}), but omits how payment/auth is established, size or page limits, failure behavior, and whether an unspecified format has a default.

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?

Three tight clauses — when-to-use, worked example, price — with the trigger front-loaded and no filler. Slightly more compact than a 5 would require only because the example and cost sit in separate fragments rather than integrated prose.

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?

There is no output schema, and the description compensates by naming the four returned fields, which is the most important missing structure. For a two-parameter tool that is nearly sufficient, though defaults, limits, and error conditions remain uncovered.

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 description coverage is 0%, so the description must compensate for both parameters. The example ({url, format:"markdown"}) shows a valid format value and the 'public ... URL' phrasing adds a real constraint on url, but the default for format and any URL validation rules are left unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ('converting a public PDF/DOCX/HTML/text URL to markdown or plain text') and enumerates exactly which input formats are supported, so the agent knows the operation precisely. It does not, however, distinguish this from the sibling read_url, which plausibly overlaps in fetching URL content, leaving the agent to infer the split.

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 gives a clear triggering context ('Use this when converting... for RAG/summaries') and implicitly excludes non-public URLs via the word 'public'. No alternative tool is named and no explicit when-not conditions are stated, so selection against read_url or extract_links still requires inference.

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.