Skip to main content
Glama

Read a web page into structure

extract_web_page
Read-onlyIdempotent

Decant: Read one public web page into title, headings, text, links and JSON-LD. robots.txt is honoured.

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

Input Schema

NameRequiredDescriptionDefault
urlYeshttp or https address of a public page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / url / description
      Added value: +"http or https address of a public page"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so safety is covered. The description adds genuinely new context: it fetches only public pages and honours robots.txt, which tells the agent some requests will be refused or blocked. It stops short of covering rate limits, request timeouts, or how dynamic content is handled.

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?

Two short sentences with zero waste; the extraction scope is front-loaded and the operating constraint (public pages, robots.txt) follows. The only filler is the 'Decant:' brand prefix, which is negligible against otherwise dense phrasing.

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 no output schema, the description usefully enumerates the returned fields, so the agent knows the response shape. For a single-parameter fetch-and-parse tool that is close to sufficient; what is missing is any note on size limits, truncation, or failure behaviour for blocked or non-HTML pages.

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?

There is one parameter at 100% schema coverage, and the schema already documents it as an 'http or https address of a public page'. The description repeats the 'public' qualifier but adds no syntax, format, or validation detail beyond the schema, so it sits at the baseline for well-documented parameters.

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?

The description names a specific verb ('Read') and resource ('one public web page') and enumerates the extracted fields (title, headings, text, links, JSON-LD), so an agent knows exactly what the tool produces. None of the sibling tools (convert_document, company_financial_facts, screen_sanctions) overlap with this, so no explicit differentiation is needed.

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 only implied: it works on 'one public web page' and honours robots.txt, which hints at scope. There is no explicit guidance on when to prefer this over convert_document, nor on exclusions such as authenticated pages, paywalled content, or JavaScript-rendered sites that may return empty text.

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