Skip to main content
Glama

AgentLogic MCP Server

extract_page

Extract structured data from a web page. Price: $0.005 USDC on Base via x402. Returns structured JSON about the page, including title, headings, links and contact details.

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_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesWebsite URL to process.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the paid-call model ($0.005 USDC on Base via x402) — meaningful operational context an agent needs before invoking. It stops short of failure behavior, JS-rendering limits, truncation of large pages, or whether the page is fetched internally, which are the traits that matter for a network-bound extraction tool.

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?

Three compact sentences with purpose front-loaded and no filler. The pricing sentence sits between purpose and return shape, which slightly breaks the logical flow but is short enough not to bloat the definition.

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?

With no output schema and no annotations, the description correctly compensates by naming the returned fields and the payment cost, which is the right move. It is still thin for a network extraction tool: error behavior, content-type handling, and the fetch_page-adjacency question all remain unanswered.

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 100% for the single required `url` parameter, so the baseline is 3. The description adds nothing about URL requirements — absolute vs relative, scheme handling, redirects, or whether non-HTML targets are rejected — beyond what the schema already states.

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 opens with a specific verb and resource ("Extract structured data from a web page") and enumerates the payload (title, headings, links, contact details), so the agent knows exactly what comes back. It does not, however, distinguish itself from plausible siblings such as fetch_page or link_check, leaving the agent to infer the difference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to choose this tool over fetch_page, check_site, or seo_audit, and no prerequisites or exclusions are given. The only implicit signal is the word "structured", which is far too weak to route an agent reliably among several page-oriented siblings.

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.