Skip to main content
Glama

convert_url

Fetch a URL (web page, PDF, Office doc, and more) and convert it to Markdown.

Works on publicly accessible URLs. Web pages are converted from their
served HTML; JavaScript-rendered content may be incomplete. Optional
filename_hint (e.g. "report.pdf") helps format detection when the URL
has no file extension.

The result carries a `quality` object (output-health check of the returned
Markdown: status review / no_issues_detected / not_evaluated, coverage and
a list of issues with line locations). quality_check="basic" (default)
runs only local deterministic checks. quality_check="ai" additionally
sends selected excerpts of the CONVERTED text to TypeSafe for narrow
yes/no judgments (garbled text, hard-wrapped prose, broken tables); it is
off unless requested. No check compares against the source document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
filename_hintNo
quality_checkNobasic

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / quality_check
      Added value: +{
      +  "default": "basic",
      +  "title": "Quality Check",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/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 burden. It discloses that JavaScript-rendered content may be incomplete, which is a behavioral limitation. It details the quality object and the two quality_check modes, noting that AI checks are off unless requested and that no source comparison is performed. This is rich behavioral context beyond what schema provides.

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 multi-paragraph but each sentence contributes useful information. It front-loads the core purpose and then details parameters and behaviors. It could be slightly more concise, but the length is justified given the complexity of quality_check. No fluff.

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 annotations or output schema, this description is quite complete. It explains the return quality object, the parameter usage, and limitations. Minor gaps: it doesn't mention error handling for invalid URLs, authentication requirements (beyond public access), or response structure for success/failure. But overall, it covers the essentials for an agent to decide and call.

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 0%, so the description must compensate. It explains the purpose of filename_hint and quality_check, adding meaning to those parameters. However, it doesn't detail the format or constraints of the 'url' parameter beyond 'publicly accessible', which is already in the description. Overall, it adds value but could be more detailed on URL validation or examples.

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 verb (fetch and convert), the resource (URL), and the output (Markdown). It distinguishes from siblings by indicating it handles URLs, whereas convert_base64 presumably handles base64-encoded input. The mention of supported document types adds specificity.

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 it works on publicly accessible URLs, mentions the filename_hint for format detection, and clarifies the quality_check options. While it doesn't explicitly say when NOT to use it, it implies using other tools for non-URL inputs. The distinction between basic and AI quality checks is clear.

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.