Skip to main content
Glama

iafri x402 APIs

extract_markdown

Read-only

Clean token-efficient HTML-to-text/Markdown extractor for any public URL (?url=https://...). Price $0.01 per call via x402, USDC on Base.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "extract_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTP/HTTPS URL to extract clean Markdown/text from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint already declaring a safe read, the description adds genuinely new behavioral context: per-call cost ($0.01), the payment rail (x402, USDC on Base), and the requirement that the URL be public. It omits error handling and pagination/truncation behavior, keeping it below a 5.

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?

A single dense sentence that front-loads purpose and appends cost context; every clause carries information and none is filler.

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 one-parameter, read-only extraction tool with full schema coverage and no output schema, the key missing pre-call information (cost and payment mechanism) is covered. Minor gaps around output size or failure modes remain.

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 100% and there is a single required url parameter already documented in the schema. The description only restates the URL format via the ?url= example, adding no meaning beyond the structured field, so baseline 3 is appropriate.

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 names a specific verb+resource (HTML-to-Markdown/text extractor) and a clear scope (any public URL), with the qualifier 'token-efficient' hinting at its output style. It does not explicitly contrast itself with siblings such as web_search, so it falls short of the top mark.

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?

It implies usage by providing the call form (?url=https://...) and the constraint that the URL must be public, but it gives no when-to-use or when-not-to-use guidance relative to alternatives like web_search or page_seo_check.

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