Skip to main content
Glama

web_extract

Extract structured JSON from a web page: return URL, title, meta description, cleaned text, extraction timestamp, and payment status for agent workflows. $0.03/call via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPage to extract

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It reveals a key behavior: the tool costs $0.03/call via x402 and returns payment status. This goes beyond the schema and is highly relevant for an agent deciding whether to invoke the tool. However, it does not mention error handling, rate limits, or whether the call has side effects beyond cost, but the cost and payment mechanism are valuable disclosures.

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?

The description is a single sentence that front-loads the core action and lists the outputs and cost. There is no wasted wording; every phrase contributes to understanding the tool's function. The structure is optimal for a simple extraction tool with one parameter.

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?

For a tool with one parameter and no output schema, the description covers the return fields, cost, and intended use case. It is reasonably complete for an agent to call it correctly. The main gap is the lack of differentiation from sibling extraction tools (e.g., batch variants), but for a simple single-URL extractor, the description provides enough context to proceed.

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% (the url parameter has a description 'Page to extract'). The tool description does not add additional meaning about the parameter beyond implying it is a web page URL. Since the schema already documents the parameter adequately, the description adds no extra semantic value, warranting the baseline score of 3.

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 clearly states the action ('Extract structured JSON from a web page') and lists the specific fields returned (URL, title, meta description, cleaned text, extraction timestamp, payment status). This makes the tool's purpose unambiguous. However, it does not explicitly differentiate from sibling tools like batch_extract or extract_json, which slightly reduces clarity in a crowded namespace.

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?

The description mentions 'for agent workflows', which provides some context on intended use, but it does not explicitly state when to use this tool versus alternatives, nor does it give exclusions (e.g., 'for batch extraction use batch_extract'). The guidance is implied rather than explicit, leaving the agent to infer the scope from the single URL parameter.

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.