Skip to main content
Glama

Penny link tools

Web page to Markdown

web_to_markdown
Read-only

Fetch a public web page and return clean Markdown for LLM context (navigation, scripts, ads and footers removed; headings, lists, links, code and tables kept), plus title, description and word count. Free tier returns up to 4000 characters; full length (up to 100k chars) is available per call over x402 at https://penny-link-preview.netlify.app/api/markdown.

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": "web_to_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page URL
max_charsNoMax characters to return (free tier cap 4000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnly and openWorld; the description adds genuinely new behavior: nav/scripts/ads/footers are stripped, headings/lists/links/code/tables are retained, and the response carries title, description and word count. It also discloses the 4000-character free-tier truncation and the paid 100k-character path over x402, which is exactly the kind of limit and auth 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 definition is a single front-loaded sentence that leads with the verb and outcome before the parenthetical detail on stripped and kept elements. It is dense but every clause carries information; the only cost is that the long nested parentheses make the payment clause easy to skim past.

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 no output schema, the description correctly spells out the return payload (Markdown plus title, description, word count), so an agent knows what comes back. It leaves minor gaps, such as behavior on non-HTML or JS-rendered pages and how errors surface, but nothing that blocks a correct call on a typical public page.

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%, so both url and max_chars are already documented in the schema, including the 4000-character free-tier cap. The description restates the same cap and the 'public http(s)' constraint rather than adding new meaning such as what happens when max_chars exceeds the free tier or how truncation is signaled.

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 opens with a specific verb and resource ('Fetch a public web page') and names the exact output ('clean Markdown for LLM context'), with the preserved/dropped element lists making the transformation concrete. It never references the sibling 'link_preview', so an agent must infer the boundary between previewing and full-page conversion.

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?

The phrase 'for LLM context' establishes the intended use case, and the free-tier versus x402 distinction gives an agent a clear cost/length tradeoff decision point. No explicit exclusions or 'use X instead' routing are stated, leaving the choice against link_preview implicit.

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.