Skip to main content
Glama

Fetch Router

Fetch a web page (verified)

fetch_page
Read-only

Fetch a public URL and get its content only if it really loaded. Checks for block pages, CAPTCHAs, login walls and empty JavaScript shells, and retries through other routes (including a headless browser) automatically. Billed only on success. Returns markdown by default. If ok is false, the reason says why (e.g. blocked:cloudflare, http_404, expect_text_missing): don't retry the same URL with the same settings.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL
modeNomarkdown (default, main content), html (raw page), rendered (always use a browser)
max_costNoMost credits to pay: 1 static only, 2 (default) allows a browser, 10-25 allows premium unblocking
expect_textNoText that must appear on the page for it to count as loaded, e.g. a product name
expect_selectorNoCSS selector that must match

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / max_cost / description
      Previous value: -"Most credits to pay: 1 static only, 5 (default) allows a browser, 10-25 allows premium unblocking"New value: +"Most credits to pay: 1 static only, 2 (default) allows a browser, 10-25 allows premium unblocking"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: discloses the verification checks performed (block pages, CAPTCHAs, login walls, empty JS shells), automatic retry/headless-browser escalation, the billing rule (charged only on success), the default return format, and the failure-reason vocabulary (blocked:cloudflare, http_404, expect_text_missing). This is exactly the operational context an agent needs before spending credits.

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?

Four tight sentences, front-loaded with purpose, then verification behavior, billing, default output, and failure handling. Every sentence contributes a distinct operational fact with no repetition of the schema.

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?

There is no output schema, yet the description supplies the return shape (markdown by default, ok flag, reason string with example codes) and the cost model. Combined with a fully documented 5-parameter schema, an agent has everything needed to call this correctly and interpret the result.

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% and each parameter already documents its meaning, including the credit ladder for max_cost and the expect_text/expect_selector semantics. The description adds only marginal parameter meaning ('returns markdown by default') and introduces the ok/reason response fields, so the baseline of 3 is right.

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 ('Fetch a public URL and get its content') plus the key qualifier that content is returned only if it genuinely loaded. It is clearly distinct from domain_reliability by implication (page content vs. domain reputation), but never names or contrasts with the sibling explicitly.

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?

Gives a concrete when-not rule: if ok is false, the reason explains why and the caller should not retry the same URL with the same settings. It also notes retries through other routes happen automatically, so the agent knows not to orchestrate fallbacks itself. It stops short of stating when to prefer domain_reliability or which mode/max_cost to pick for a given situation.

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.