Skip to main content
Glama

Crawl4Agent

Turn a URL into LLM-ready Markdown with crawl4ai's /md contract

md

Turn a URL into LLM-ready Markdown with crawl4ai's /md contract: f raw|fit (raw or pruned fit_markdown), q optional user query, c cache flag. Answers {url, filter, query, cache, markdown, success}. Price: $0.008 a call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cNoCache flag ("0" default, "1" to bypass the cache)
fNoraw = raw_markdown, fit = pruned fit_markdown
qNoOptional user query for BM25 fit filtering
urlYesThe page to crawl: an https:// URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It usefully discloses the response shape ({url, filter, query, cache, markdown, success}), cache semantics, and per-call price ($0.008), but says nothing about auth requirements, rate limits, failure modes, or what happens to the page when success is false for a network-dependent crawl.

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?

Two tightly packed sentences: purpose first, then a param legend, then the answer shape and price. Nothing is wasted, though the telegraphic a/b/c style is terse rather than flowing and the title is repeated verbatim in the first clause.

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 4-parameter tool with no output schema, the description compensates well by spelling out the return keys and cost. Direction on choosing raw vs fit, and any failure/retry behavior, are the only meaningful gaps.

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 baseline is 3. The description's parameter legend (f raw|fit, q optional query, c cache flag) largely restates what the schema already documents, including the raw_markdown/fit_markdown mapping, adding no format or syntax detail beyond it.

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?

The description states a precise verb+resource: turn a URL into LLM-ready Markdown via crawl4ai's /md contract. It names the underlying contract, so an agent knows exactly what transform is performed. No sibling tools exist, so no differentiation is needed.

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?

Usage is only implied via the parameter legend (raw vs fit, optional BM25 query, cache bypass), with no explicit statement of when to choose this tool or when raw is preferred over fit. With no siblings there are no alternatives to route away from, but the when-to-use conditions remain unstated.

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