Skip to main content
Glama

x402 Structured Data & Headless Scraper

parse_web_schema

Read-only

Fast key-value entity extraction from raw web or document text when you only need a flat list of named fields rather than a full nested JSON Schema. Ideal for pulling contacts, dates, tickers, or metadata out of messy text (max 6,000 bytes).

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": {
      "content": "<content>",
      "fields": "<fields>"
    },
    "name": "parse_web_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesExact entity or field names to extract as keys.
contentYesRaw web or document text to scan (max 6,000 bytes).
preview_tokenNoOptional 300s preview token returned by preview_extract to immediately return the unmasked snapshot without re-processing.
include_metadataNoWhen true, wraps output in { data, meta: { resolved_url, status, block_reason, cached } }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds only the 6,000-byte ceiling, which is already restated in the schema, and says nothing about what happens when text exceeds the limit, whether truncation or error occurs, or how the preview_token shortcut behaves.

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?

Two front-loaded sentences with the scope constraint first and use cases second; minimal waste. The adjectives 'Fast' and 'Ideal' are slightly promotional but do not obscure the content.

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 read-only extraction tool with four fully documented parameters and no output schema, the description covers purpose, input scope, and size limit adequately. The main gap is the absence of any hint about the returned structure, which the include_metadata option implies but does not explain.

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 all four parameters are already documented in the schema. The description adds no meaning beyond that—it does not explain the preview_token 300s reuse workflow or when include_metadata is worth setting, so the baseline 3 applies.

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 ('key-value entity extraction from raw web or document text') and immediately distinguishes the output shape from a full nested JSON Schema, which separates it from extract_structured_data without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear selection condition ('when you only need a flat list of named fields rather than a full nested JSON Schema') plus concrete example use cases (contacts, dates, tickers, metadata). It implies but never names the alternative tool, so there is no explicit when-not or routing instruction.

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.