Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

Batch URL to Markdown: up to 5 web pages per call (LLM-ready) ($0.005/call)

page_markdown_batch
Read-onlyIdempotent

$0.005 per call (x402, USDC on Base; not covered by the free trial). [Fetch and read the web] Batch URL to Markdown web scraper for RAG ingest and research agents. page-markdown for 1-5 public URLs in one paid call (comma-separated): the same clean main-content Markdown, metadata and options (include_links, max_tokens) per URL, with a per-URL error (robots_disallowed, target_http_error...) where a page cannot be read. If every URL fails, nothing is charged. One payment for 5 URLs is $0.005 ($0.001 per URL), cheaper than 5 single page-markdown calls ($0.0021 each, $0.0105 total); for 1-2 URLs single calls ($0.0021 each) cost less, for 3-5 URLs the batch is cheaper. robots.txt checked per URL and redirect. ~2-10 s.

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": {
      "urls": "<urls>"
    },
    "name": "page_markdown_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYes1-5 public http(s) URLs, comma-separated
max_tokensNoCut the Markdown to about this many tokens at block boundaries (100-100000); sets truncated and truncated_reason "max_tokens"
include_linksNofalse = drop link targets and images, keep the text (default true)true

Output Schema

NameRequiredDescriptionDefault
okNo
toolNo
cacheNo
countNo
_trialNoPresent when the call was a free trial call.
failedNo
resultsNo
providerNo
price_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "count",
      +        "ok",
      +        "results"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "count": {
      +      "type": "integer"
      +    },
      +    "failed": {
      +      "type": "integer"
      +    },
      +    "ok": {
      +      "type": "integer"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "error": {
      +            "type": "string"
      +          },
      +          "final_url": {
      +            "type": "string"
      +          },
      +          "markdown": {
      +            "type": "string"
      +          },
      +          "ok": {
      +            "type": "boolean"
      +          },
      +          "truncated": {
      +            "type": "boolean"
      +          },
      +          "truncated_reason": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url",
      +          "ok"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "tool": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description adds substantial context beyond that: per-URL error codes on partial failure, robots.txt enforcement per URL and redirect, no charge when every URL fails, and a 2-10s latency window. These are exactly the operational traits an agent needs to set expectations and handle partial failures.

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?

The opening pricing and fetch statement front-loads the key facts, and pricing math is genuinely decision-relevant. However, the per-call price is stated twice ($0.005 at the start and again in the batch-vs-single comparison), a minor redundancy in an otherwise dense, well-ordered description.

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?

With an output schema present, return values need not be explained, and the description still covers cost model, per-URL failure semantics, rate/robots constraints, and latency. Nothing an agent needs to call this correctly or interpret partial results 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 urls, max_tokens, and include_links thoroughly, including truncation behavior. The description only restates the comma-separated URL format and option names without adding syntax or edge-case detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource: fetch and convert 1-5 public URLs to clean main-content Markdown in one call, with metadata and options per URL. It explicitly distinguishes itself from the page_markdown sibling by explaining that batch covers 3-5 URLs cheaply while single calls win for 1-2.

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 explicit decision rules: use this for 1-5 URLs, and prefer single page_markdown calls when there are 1-2 URLs because pricing per URL is lower there. It also notes the free trial does not apply, so an agent knows a payment requirement exists before invoking.

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