Skip to main content
Glama

MorseByte x402 Edge Data Refinery & Quant Gateway

Workers AI Structured JSON Extractor

morsebyte_extract_json
Read-onlyIdempotent

Scrape any public webpage and extract a strict, deterministic JSON object matching a custom prompt or JSON Schema using Cloudflare Workers AI Llama 3.3 70B ($0.030 USDC via HTTP 402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic HTTPS URL to scrape prior to AI JSON extraction
promptYesDetailed description of the fields, entities, or tables to extract into structured JSON

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerYesService provider name
latency_msYesTotal scraping and AI inference latency in milliseconds
source_urlYesScraped source URL
extracted_jsonYesStructured JSON object extracted by Llama 3.3 70B matching the user prompt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare read-only, open-world, idempotent, and non-destructive behavior, so the description does not need to repeat those. It adds useful behavioral context beyond annotations by disclosing the model, the USDC cost, the HTTP 402 payment mechanism, and the public-webpage constraint.

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 front-loaded sentence with no wasted text. It includes the core action, scope, model, cost, and payment mechanism efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. The description adds the remaining operational context: public webpage requirement, model, cost, and HTTP 402 payment, making it complete for this tool.

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%, so both parameters are already documented in the schema. The description mentions the public URL scope and prompt/schema matching, but it does not add meaningful syntax or format detail beyond what the schema provides, so baseline 3 is appropriate.

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?

The description uses a specific verb and resource: scrape a public webpage and extract a strict JSON object. It clearly distinguishes this tool from the sibling tools, which handle URL refinement, link verification, and quantitative regime analysis rather than structured extraction.

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 implies the use case by saying it scrapes public webpages and extracts JSON matching a prompt or JSON Schema, but it does not explicitly say when to choose this tool over alternatives or when not to use it. Usage is inferable rather than stated as guidance.

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