Skip to main content
Glama

geld machen x402 agent utilities

Web Extract: Firecrawl Clean Markdown

web-extract
Read-onlyIdempotent

Scrape a URL to clean markdown via Firecrawl (handles JS-heavy pages). Use when you need LLM-ready markdown of a page. Not for a cheap hash/excerpt (use url-fingerprint or url-extract). Returns a free sample plus the paid URL and pay steps (no charge here); the full result costs $0.03 Base USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoInput for the paid endpoint: https URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYes
noteNo
payToNo
priceNo
methodNo
networkNo
paid_urlYes
how_to_payYes
teaser_urlNo
your_inputNo
free_teaserNoFree sample output of this SKU (truncated); null if unavailable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / free_teaser
      Added value: +{
      +  "description": "Free sample output of this SKU (truncated); null if unavailable."
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Optional input (e.g. url / address / text) to pass to the paid endpoint as ?q= or JSON body."New value: +"Input for the paid endpoint: https URL."
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "how_to_pay": {
      +      "type": "string"
      +    },
      +    "method": {
      +      "type": "string"
      +    },
      +    "network": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "paid_url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "payTo": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "price": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sku": {
      +      "type": "string"
      +    },
      +    "teaser_url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "your_input": {}
      +  },
      +  "required": [
      +    "sku",
      +    "paid_url",
      +    "how_to_pay"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive), and the description adds critical economics the annotations cannot: a free sample is returned, the full result costs $0.03 USDC via x402, there is no charge in this call. That disclosure materially changes invocation decisions.

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?

Three sentences, zero waste, front-loaded with purpose then routing then cost. Each sentence earns its place.

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?

Single-parameter read tool with an output schema, so return-shape explanation is unnecessary. Safety (annotations), routing (siblings), and the non-obvious paywall behavior are all present; nothing an agent needs to invoke it correctly is missing.

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 schema already documents the single 'query' parameter as an https URL. The description adds no syntax, format, or constraint detail beyond the schema. Baseline 3 per the rubric when the schema does the heavy lifting.

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 (scrape) and resource (URL) and names the conversion target (clean markdown via Firecrawl). It also names the siblings it is not (url-fingerprint, url-extract) for the cheaper hash/excerpt case. Loses a point only because the differentiation is framed as a negative rather than a positive use case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use ('when you need LLM-ready markdown of a page') and explicit when-not plus alternative ('Not for a cheap hash/excerpt — use url-fingerprint or url-extract'). Routing is unambiguous.

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