Skip to main content
Glama

Agent Tools

web_to_markdown

Read a web page as clean LLM-ready markdown (main content, no nav or scripts) for research, RAG and summarization. Respects robots.txt. Price $0.0015 USDC per call via x402. Example output: {"url":"https://example.com/","status":200,"title":"Example Domain","characters":156,"markdown":"This domain is for use in documentation examples..."}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic page URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries disclosure itself and does well: it notes robots.txt compliance and the paid x402 model at $0.0015 USDC per call, which is critical pre-invocation context. It omits failure behavior (paywalls, non-200 handling) and rate limits.

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 core capability is front-loaded in the first clause, followed by cost and a concrete output example. The embedded JSON example is somewhat bulky but earns its place as the only return-shape documentation, since no output schema exists.

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 single-parameter fetch tool with no output schema, the description is nearly self-sufficient: it covers what is returned, content filtering, legal constraint, cost, and an example response. The main gap is the absence of any sibling differentiation against web_read_full.

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?

Only one parameter and the schema already documents it as 'Public page URL' at 100% coverage, so the baseline is 3. The description reinforces that the URL must be a public page but adds no format or edge-case detail (redirects, auth-gated pages) beyond the schema.

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?

States a specific verb and resource: reads a web page and returns clean LLM-ready markdown, explicitly noting main content with nav/scripts stripped. It does not distinguish itself from plausible siblings like web_read_full or url_metadata, so an agent must infer the difference.

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?

Gives use-case context (research, RAG, summarization) which implies when the tool is appropriate. It never states when NOT to use it or names the obvious alternatives (web_read_full, url_metadata), leaving the routing decision to inference.

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