Skip to main content
Glama

Read webpage

read_webpage

Clean article Markdown. Use it when the page is long or cluttered. Skip it on a short or already clean page: the quote compares the tokens both ways and does not charge for that check. Savings are compared with the page's visible text, not its HTML. One all-in price (7 sats). Blocked calls are credited.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http or https page.
metaNoOff by default. Set true to include finalUrl, canonical, byline, wordCount, fetchedAt, and totalLength. Title, url, markdown, and published are always returned. published is the page date, or null.
modeNoarticle drops images, link URLs, citations and reference lists. full keeps them.article
max_satsNoMost this call may charge. Minimum 1. A higher total charges nothing.
max_charsNoOptional cap on the Markdown. The maximum is 200000 characters. (minimum 500).

Output Schema

NameRequiredDescriptionDefault
codeNoapproval_required, limit_exceeded, or insufficient_balance when the call stopped.
whichNoWhich limit: per_call, per_day, per_session, per_hour_buys, per_minute_calls, or per_minute_sats.
contentNoDelivered text. Empty when the call did not deliver.
messageNo
order_idNoOrder id after a charge. Null when nothing was charged.
truncatedNoTrue when the source was longer than content, or the page itself was cut.
total_costNoAll-in price string.
approval_urlNoPage where the person approves this exact price.
balance_satsNoCredit balance after the call, or null when it was not read.
sats_chargedNoSats charged for this call. 0 when nothing was charged.
total_lengthNoCharacters before truncation. Larger than content_length when truncated is true.
content_lengthNoCharacters in content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (destructiveHint=false, openWorldHint=true, and notably readOnlyHint=false for a billed read). The description adds real context beyond that: a flat 7-sat price, that blocked calls are credited, that savings are measured against visible text rather than HTML, and that the quote check is free. It does not explain the per-call charge ceiling behavior or freshness/caching, but the cost model is well disclosed.

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?

Five short sentences, front-loaded with the output type and the use/skip rule. The telegraphic phrasing ('the quote compares the tokens both ways') is slightly elliptical, and the savings-comparison sentence is preparatory context rather than an instruction for this call, but very little is wasted.

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?

With an output schema present, the description need not explain return values, and it focuses on the parts an agent cannot infer: cost, credit behavior, and the free pre-check. For a billed, open-world fetch tool this is close to complete; freshness, auth/balance prerequisites, and what 'blocked' means in practice are left unspecified.

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%, including per-parameter descriptions for url, meta, mode, max_sats, and max_chars, so the baseline is 3. The description only indirectly touches parameters via the 'one all-in price' note relating to max_sats; it adds nothing about mode's article/full split or the meta flag that the schema does not already state.

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 a specific output ('Clean article Markdown') for a specific resource, the webpage at the required url. It distinguishes itself indirectly from the pricing sibling by pointing at 'the quote' check, though it never names read_pdf or read_feed as alternatives, so differentiation from the wider family is only partial.

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?

Explicit when/when-not guidance is present: 'Use it when the page is long or cluttered. Skip it on a short or already clean page.' It also routes the agent to the free quote check before committing. The gap is that it never says what to do instead on a short/clean page, so the 'skip' half of the branch is left open.

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