Skip to main content
Glama

ai_url_extract

Read-only

AI web page field extractor — Fetch any web page and pull the fields you name into a JSON object via Workers AI (price, author, date, address, plan names...). Null for fields the page does not state; inPage lists values found word-for-word in the page text so you know which to trust. Pass url and fields (comma list, up to 25). Not charged if the page cannot be fetched. Price: $0.012 USDC (Base, via x402).

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>",
      "fields": "<fields>"
    },
    "name": "ai_url_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://example.com
fieldsYestitle,purpose

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, non-destructive semantics, and the description adds real value on top: unstated fields return null, inPage flags verbatim values so results can be trusted, and there is a billing caveat that the page is not charged if fetching fails. The only notable omission is pagination or handling of very large pages, and no output schema exists to cover return shape.

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?

Four dense sentences, front-loaded with the purpose before the behavioral caveats and pricing. Every clause carries information, though the parenthetical field examples and the pricing tail make it slightly crowded.

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 only two params, high schema coverage, no output schema, and clear annotations, the description covers what an agent needs: what it does, what it returns conceptually (JSON with null and inPage signals), and the cost. A brief note on result accuracy limits or page-size constraints would make it fully complete.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes further by specifying that fields is a comma list limited to 25 values and by giving sample field names. That exceeds the bare schema examples ('https://example.com', 'title,purpose').

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 — fetching a web page and pulling named fields into a JSON object — with concrete field examples (price, author, date). It does not explicitly distinguish itself from likely siblings such as ai_extract or web_extract, so an agent must infer the boundary from the name and the 'fields' concept.

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 implied: pass url and fields, up to 25 entries. There is no explicit when-to-use vs when-not guidance and no mention of alternatives like ai_summarize_url or ai_url_ask, so the agent has to deduce selection criteria from the tool name.

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