Skip to main content
Glama

Cloudflare Edge Compute (Browser Run, Sandboxes & Vectorize RAG)

edge_browser_extract

Render a JS-heavy public HTTPS page via Cloudflare Browser Run and extract structured JSON via AI Gateway / Workers AI. ($0.04 via Base USDC _meta["x402/payment"] or Atlas spend_key)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "edge_browser_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
formatNo
full_pageNo
spend_keyNoOptional Atlas prepaid spend key (sbk_*).
schema_hintNo
payment_signatureNoOptional x402 v2 Base USDC PAYMENT-SIGNATURE.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful behavior: the rendering backend, the AI extraction path, a concrete cost of $0.04, and the two payment mechanisms (x402 Base USDC via _meta or an Atlas spend_key). It stops short of covering failure behavior, rate limits, or whether results are cached, which keeps it below a 5.

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 sentences, front-loaded with the core action and followed by the cost/payment parenthetical. Dense but every clause carries information; the only mild cost is that the payment detail is packed into a parenthetical that is easy to skim past.

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

Completeness3/5

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

For a six-parameter tool with no annotations and no output schema, the description covers purpose, backend, and cost/payment adequately but leaves the extraction contract underspecified. The most important omission is how schema_hint drives the returned JSON, plus what format and full_page do on a JSON-extraction call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, so the description must compensate, and it only partially does: it explains the spend_key and payment concepts but never explains schema_hint, which is central to 'extract structured JSON', nor format, full_page, or url constraints. An agent still cannot tell from the description how to specify the extraction shape or why a png/webp format enum exists on a JSON extraction tool.

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?

The description names specific verbs and resources: render a JS-heavy public HTTPS page via Cloudflare Browser Run and extract structured JSON via AI Gateway / Workers AI. That is far more than a restatement of the name and implies a distinct output type (structured JSON) versus the markdown/pdf/screenshot siblings, though it never names those siblings explicitly.

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 phrase 'JS-heavy public HTTPS page' implicitly scopes usage to pages requiring JS rendering and to public HTTPS targets, which is useful selection context. However, there is no explicit guidance on when to prefer this over edge_browser_markdown or edge_browser_screenshot, and no stated exclusions such as authenticated or non-HTTPS pages beyond the adjective 'public'.

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