Skip to main content
Glama

web_extract

Extract the main article content from any URL as clean markdown, automatically stripping ads and navigation so AI agents get readable text without clutter.

Instructions

Extract main content from any URL as clean markdown. Strips ads and navigation.

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

Input Schema

NameRequiredDescriptionDefault
urlYesURL to extract

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses only the transformation behavior ('strips ads and navigation', returns markdown). It says nothing about failure modes, paywalls, JS-rendered content, authentication, rate limits, or whether long pages are truncated, which matters for a fetch tool with no annotation coverage.

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, and the core action plus output format is front-loaded. The second sentence adds one useful behavioral detail without padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter tool with no output schema, the description covers what the tool does and its output format. However, with no annotations and no output schema, it leaves the agent without any sense of failure behavior, content limits, or what happens on non-extractable pages.

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?

There is a single required parameter with 100% schema description coverage, so the schema already defines it. The description adds a small amount of meaning by emphasizing 'any URL', implying broad acceptance rather than a domain-restricted input.

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 ('extract main content from any URL'), plus the output format ('clean markdown'), which makes it clearly distinguishable from a search-style sibling. It stops short of naming or contrasting an alternative tool, so it is clear but not sibling-differentiated by explicit reference.

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: 'any URL' signals this applies once a URL is in hand, distinguishing it from discovery tools. There is no explicit when-to-use or when-not guidance, no mention of paywalled or JS-rendered pages, and no routing to alternatives despite a web_search sibling existing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.