Skip to main content
Glama

read

Fetches a URL and returns its main content as clean markdown, switching to a headless browser when plain extraction is empty. Provider-specific modes support crawl, extract, or screenshot tasks.

Instructions

Read a URL and return its main content as clean markdown; auto-escalates to a headless browser when the plain read comes back empty. Provider-specific extras via mode (crawl, structured extract, screenshot…) → call usage(provider=…) for exact params & example calls.

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to read and return as clean markdown.
modeNoProvider-specific escape hatch: firecrawl "crawl"/"extract", tavily "extract", serper "scrape", steel "screenshot"/"pdf", jina "screenshot"/"links", linkup "js", scrapingant "browser", zenrows "js". Call usage(provider=…) for the exact set.
providerNoForce a specific provider instead of the priority order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose the key non-obvious behavior: silent auto-escalation to a headless browser when the plain read returns empty, plus a provider override that bypasses the default priority order. It omits failure semantics, timeouts, auth requirements, and any cost/latency implications of the browser escalation.

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?

Two tight sentences, front-loaded with the core action and output format before the edge cases. The pointer to usage(provider=…) replaces what would otherwise be a long enumeration of per-provider modes.

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 3-parameter read tool with no output schema and no annotations, the description covers output shape, escalation behavior, and provider selection adequately. The remaining gap is sibling disambiguation against 'browser', which matters because the description itself invokes headless browsing as an internal fallback.

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 the baseline is 3 and the schema already documents url, mode, and provider. The description reinforces mode as a 'provider-specific escape hatch' and points to usage(provider=…) for the exact value set, which is helpful but largely duplicates the schema's own explanation.

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 ('Read a URL') plus the output form ('return its main content as clean markdown'), which is far more informative than the bare name 'read'. It does not differentiate itself from the overlapping 'browser' sibling or from 'search', so the reader must infer those boundaries.

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?

The description implies usage (read a known URL; escalate automatically when plain read is empty) and routes the agent to usage(provider=…) for provider extras. However, it never says when to pick this over the 'browser' tool or when 'search' is the better starting point, and no exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools