Skip to main content
Glama

Fetch a page as markdown

fetch_markdown
Read-onlyIdempotent

Fetch one public http(s) URL and return markdown. 0.003 USDC, 3 sats, or 3 eighths of a prepaid credit. The worker respects robots.txt, identifies itself as agentpaywire, blocks private and metadata addresses, and does not charge when the fetch or conversion fails. POST https://api.agentpaywire.com/v1/markdown.

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": "fetch_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

This is where the description earns most of its value. It goes well past the annotations, which only declare a safe read-only open-world operation, by disclosing pricing (USDC, sats, prepaid credit), robots.txt compliance, the agentpaywire user agent, SSRF-style blocking of private and metadata addresses, the no-charge-on-failure policy, and the concrete endpoint. It stops short of timeout, redirect, page-size, or rate-limit behavior, which matters for a network fetch, so it is strong but not complete.

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, each load-bearing: capability, cost, then operational guarantees plus endpoint. The primary action is front-loaded and nothing is repeated from the annotations or schema.

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 one-parameter network fetch with no output schema, the description covers what it returns (markdown), what it costs, and the safety posture. The remaining gap is runtime behavior — timeouts, redirects, truncation of large pages — which an agent would want before calling on arbitrary URLs.

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

Parameters4/5

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

The schema is a bare url string at 0% description coverage, so the description carries the burden and does so reasonably: it constrains the value to a single public http(s) URL, which tells the agent what will be rejected. It adds no format, encoding, or example guidance for the url value itself.

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 states a specific verb and resource — fetch one public http(s) URL and return markdown — with the output format made explicit. It does not name or contrast itself with near neighbors like get_article or get_source, so an agent must infer the boundary, but the stated scope (arbitrary public URL to markdown) is distinctive enough to be actionable.

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?

Usage is implied by the constraints: one URL, must be public http(s), robots.txt is respected. There is no explicit when-to-use versus when-to-use-a-sibling guidance, and no stated exclusions beyond the address blocking, so the agent has context but no routing instructions.

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