Skip to main content
Glama

OnchainCheck Web

Web contents

web_contents
Read-onlyIdempotent

Read up to 5 web pages in one call as clean text for an LLM, in the Exa /contents shape: POST {urls: [...], text: {maxCharacters}} and get results with url, title, author, publishedDate, image and the main text as Markdown (navigation, header, footer and scripts dropped), plus a per-URL status. One flat price per call. Costs $0.002 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
textNoOptional {maxCharacters} per page (default 20,000)
urlsYes1 to 5 page URLs

Output Schema

NameRequiredDescriptionDefault
notesNostring, e.g. "text is the page's main content as Markdown (navigation, he
resultsNoarray
statusesNoarray
requestIdNostring, e.g. "2164275a-0d29-449f-9c5d-c02daced6b79"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description goes well beyond them: it discloses the exact response fields, that nav/header/footer/scripts are stripped, that a per-URL status is returned, and critically that each call costs $0.002 USDC on Base via x402 with flat pricing. Cost and payment rail are material behaviors no annotation conveys.

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?

Front-loaded with the core action and packed into a single dense sentence where nearly every clause carries information (batch size, output shape, text cleaning, price). The 'Exa /contents shape: POST {urls: [...], text: {maxCharacters}}' fragment is slightly jargon-heavy for an agent but still informative. Minor density cost only.

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?

For a paid, batched external-fetch tool the description covers everything an agent needs before calling: scope limit, response fields, text normalization, per-URL status, and cost. Since an output schema exists, the return-field listing is partly redundant but not harmful, and nothing material 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 description coverage is 100%, so both parameters are already documented, including the 20,000 character default. The description restates the 1-5 URL bound and the maxCharacters shape without adding format or edge-case semantics beyond the schema. Baseline 3 is appropriate.

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 and resource with a hard scope bound: 'Read up to 5 web pages in one call as clean text for an LLM'. An agent immediately knows this is a batched page-text reader. It does not name or contrast any sibling (web_fetch, web_extract, web_contents are ambiguous without guidance), so it falls short of a 5.

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 batch limit and the 'clean text for an LLM' framing, which suggests use when you need readable page text for up to five URLs at once. There is no explicit when-not or routing to alternatives such as web_extract or web_fetch, so the agent must infer selection.

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