Skip to main content
Glama

extract

Read-only

Scrape a public URL and return JSON that conforms to a caller-supplied bounded schema. Use web_scrape when you need the page content itself rather than structured fields.

Input Schema

NameRequiredDescriptionDefault
urlNoRequired public source-page URL to scrape before structured extraction.
renderNoDocumented values: auto, http, browser.
schemaNoRequired bounded JSON Schema with object root: at most 24000 bytes, depth 8, and 80 properties in total. $ref, anyOf, oneOf, allOf, not, and patternProperties are unsupported.
instructionsNoOptional extraction task. When omitted, the service extracts the fields in the supplied schema from the source page.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / instructions / description
      Added value: +"Optional extraction task. When omitted, the service extracts the fields in the supplied schema from the source page."
    • addedInput schema / properties / schema / description
      Added value: +"Required bounded JSON Schema with object root: at most 24000 bytes, depth 8, and 80 properties in total. $ref, anyOf, oneOf, allOf, not, and patternProperties are unsupported."
    • addedInput schema / properties / url / description
      Added value: +"Required public source-page URL to scrape before structured extraction."
  2. Changed1 schema field changed
    • addedInput schema / properties / render / description
      Added value: +"Documented values: auto, http, browser."
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds that the source must be a 'public URL' and that output is shaped by a caller-supplied schema, but it does not cover rate limits, error behavior, or rendering fallbacks. With annotations carrying the safety profile, this is adequate but not rich.

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 sentences with zero waste: purpose first, then the alternative-tool routing. The most decision-relevant information is front-loaded.

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?

An output schema exists, so the description need not explain return values, and all parameters are documented in the schema. It covers purpose and the key sibling alternative. Minor failure-mode or timeout context is missing, but selection is not impaired.

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%, so url, render, schema, and instructions are already documented in the schema. The description repeats the bounded-schema idea but adds no syntax or format detail beyond what the structured fields provide. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

Names the specific verb 'Scrape' and resource 'public URL', and states the output contract: JSON conforming to a caller-supplied bounded schema. It also explicitly distinguishes itself from the sibling web_scrape by output form (structured fields vs. page content).

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

Usage Guidelines5/5

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

Directly routes the agent: use web_scrape when the raw page content is needed rather than structured fields, which is an explicit when-not condition and named alternative. No ambiguity remains about which tool to select for structured extraction.

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.