Skip to main content
Glama

ScorpTech x402 Tools

Html To Markdown

html_to_markdown
Read-onlyIdempotent

Convert an HTML string to clean Markdown (GFM tables, fenced code, nested lists). No fetch. Body: { "html": "...", "base_url"?: "https://...", "extract_main"?: false }. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/html-to-markdown

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesHTML to convert (JSON body; the service caps request bodies at 256 KB)
base_urlNoOptional http(s) URL used only to absolutise links (never fetched)
extract_mainNoStrip boilerplate, keep main content (default false)
include_linksNodefault true
include_imagesNodefault true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world traits, so the bar is lower, yet the description adds genuinely useful operational facts: pricing at $0.005 USDC per successful call via x402 on Solana, and an equivalent HTTPS endpoint. It does not describe failure/refund behavior or output format, but the payment model disclosure is exactly the kind of context annotations cannot carry.

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 purpose is front-loaded in the first sentence and the pricing/endpoint details are compact and useful. The duplicated JSON body fragment costs a few tokens redundantly against a fully documented schema.

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?

With annotations present and full schema coverage, the description supplies what's missing: payment model, transport alternative, and a no-network guarantee. Only the return shape (a Markdown string, and whether it's wrapped in JSON) is left unstated for a tool with no output schema.

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 100%, so the schema already documents every parameter including the 256 KB cap and the default-true link/image flags. The inline body snippet restates html/base_url/extract_main but adds no semantics beyond the schema, and it omits include_links and include_images entirely.

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+resource (convert HTML string to clean Markdown) and enumerates the output flavors (GFM tables, fenced code, nested lists). 'No fetch' plus the string-input framing cleanly separates it from fetch-based siblings like url_markdown and web_to_text.

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?

'No fetch' is an effective negative cue: an agent holding a URL rather than markup knows to look elsewhere. However, no sibling is named explicitly (url_markdown, readability_extract, format_convert), so routing requires a small inference step.

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