Skip to main content
Glama

Convert content between formats

convert

Convert content between formats. Modes: html-to-pdf, html-to-png (real browser), csv-to-json, json-to-csv. PDF/PNG return as attachment/image; data modes return text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesConversion to perform.
contentYesThe input content: HTML, CSV, or JSON depending on mode.
headersNoFor csv-to-json: treat the first row as column headers.
delimiterNoField delimiter for CSV modes.,
pdfFormatNoPaper size for html-to-pdf.A4

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses that PDF/PNG returns as attachment/image and data modes return text, which is helpful. However, it does not mention idempotency, side effects, or authorization requirements, leaving behavioral gaps.

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?

Two sentences with no wasted words. First sentence states purpose, second lists modes and output characteristics. Information is front-loaded and efficiently structured.

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 conversion tool with no output schema, description covers return types for all modes. Parameters are fully described in schema. Missing error handling or prerequisites, but overall provides sufficient context for agent to use 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%, so schema already documents parameters. Description adds value by explaining return types per mode category (attachment/image vs text) and summarizing mode behaviors, which aids agent understanding beyond schema definitions.

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?

Description clearly states 'Convert content between formats' and enumerates specific modes (html-to-pdf, html-to-png, csv-to-json, json-to-csv), making the resource and action explicit. It distinguishes from siblings check_link and render by focusing on format conversion.

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?

No guidance on when to use this tool versus alternatives or when not to use it. Does not mention prerequisites or context for each mode. The list of modes implies usage but lacks explicit when/when-not conditions.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool serves a distinct purpose: check_link checks URL health, convert transforms content formats, render creates screenshots/PDFs. No overlap in functionality.

Naming Consistency4/5

Two tools use verb_noun pattern (check_link, render) while one is a single verb (convert). Mostly consistent but minor deviation.

Tool Count3/5

With only 3 tools, the server is small but usable. It covers basic web utilities, though additional tools like extract_text could enhance scope.

Completeness4/5

The tool set covers link checking, format conversion, and web rendering. No obvious dead ends for these operations, though some related tasks (e.g., validate HTML) are absent.

Resources