Skip to main content
Glama

extract

Read-only

Extract clean, readable content from one or more web page URLs (articles, docs, listings). Pass query to pull only the sections relevant to a topic instead of the whole page. Content is 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": {
      "urls": "<urls>"
    },
    "name": "extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesThe pages to extract
queryNoOptional focus: extract only content relevant to this
providerNo
max_charsNoMax characters of content per URL (default 8000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety profile is covered. The description adds useful context that output is markdown and that query narrows content, but says nothing about failures, paywalls, timeouts, or how provider selection affects results.

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 short sentences, front-loaded with the core action, then the query behavior, then the return format. No filler or redundancy.

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 read-only extraction tool with no output schema, the description covers purpose, output format, and the key optional parameter. However, it leaves open how multiple URLs are returned and what the provider parameter changes, which an agent would need before tuning calls.

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 coverage is 75%, with urls, query, and max_chars documented in the schema; the description reinforces urls and query semantics (markdown output, topic-focused extraction). The provider enum parameter and the max_chars truncation limit are not explained in the description, so it adds only marginal meaning beyond the schema.

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?

States a specific verb and resource: extract clean readable content from web page URLs, with the resource classes named (articles, docs, listings). It also states the output format (markdown), which distinguishes it from search or transcription siblings.

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?

It explains what the query parameter is for and when to use it (pull only relevant sections instead of the whole page), but gives no explicit exclusions or guidance on when to choose a sibling like search over extract. Usage must be largely inferred from the name and purpose.

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.