Skip to main content
Glama

x402, crypto, defi, base, usdc, evm, security, sec-edgar, news, web-search

Clean markdown from URL

web_fetch_markdown
Read-onlyIdempotent

[$0.002] Fetch any public HTTPS webpage with SSRF protection, strip navigation/ad boilerplate, and return clean LLM-ready Markdown, word count, and extracted entities as JSON. Do not use for searching across sites (use web_search) or auditing x402 endpoints (use x402_endpoint_audit). Only summarize=true invokes the local LLM, and expiring timeout_ms returns degraded=true with extracted Markdown but no summary. Live SSRF-guarded HTTPS fetch, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "web_fetch_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAny public URL to fetch, clean, and extract content from
summarizeNoAdd LLM-powered summary with entity extraction and sentiment scoring
timeout_msNoOptional deadline in ms. If the local LLM would exceed it, the response comes back fast with "degraded": true and non-LLM/cached data

Output Schema

NameRequiredDescriptionDefault
urlNo
cachedNo
degradedNo
endpointNo
entitiesNo
markdownNo
sentimentNo
nlp_methodNo
word_countNo
schema_versionNo
sentiment_scoreNo
robots_txt_allowedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description still adds substantial behavior: SSRF guarding, boilerplate stripping, per-call cost of $0.002, rate limits of 30-60 req/min, payment paths (x402 USDC or Stripe MPP with 10 free lifetime calls), and the degraded=true fallback when timeout_ms expires. That is real operational context an agent cannot get from structured fields.

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?

Front-loaded with purpose, then exclusions, then behavior, then pricing and limits — a sensible order with little wasted language. It is dense to the point of being a single crammed block, with the bracketed cost tag and payment details competing for attention, but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter read-only fetch tool with an output schema and full annotation coverage, the description supplies everything else an agent needs: auth/payment requirements, rate limits, degradation semantics, and the cost of the LLM path. Return values are covered by the output schema, so their absence from the prose is not a gap.

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 the baseline is 3, but the description adds meaning beyond the schema by tying summarize=true to local LLM invocation and cost, and by stating that an expiring timeout_ms still returns extracted Markdown without a summary. The timeout_ms degradation is partly duplicated from the schema, keeping it just short of 5.

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?

Names a specific verb and resource ("Fetch any public HTTPS webpage") plus the transformation and output shape (clean Markdown, word count, extracted entities as JSON). It explicitly separates itself from web_search (cross-site search) and x402_endpoint_audit (endpoint auditing), so an agent can pick it without opening sibling schemas.

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?

Provides explicit negative guidance ("Do not use for searching across sites", "or auditing x402 endpoints") and names the correct alternative for each. It also conditions the expensive path ("Only `summarize=true` invokes the local LLM"), which is a use decision, not just a description.

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