Skip to main content
Glama
mcp-server-cloudflare-browser

mcp-server-cloudflare-browser

by vpsm-sh

Extract JSON

extract_json

Extracts structured JSON data from a webpage using AI; provide a prompt and optional schema to enforce output structure.

Instructions

Extracts structured JSON data from a webpage using AI. Provide a prompt and optionally a JSON schema to enforce output structure. Uses Workers AI by default.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "extract_json"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does reveal two useful behaviors: the extraction is AI-driven and Workers AI is the default backend. It says nothing about cost, latency, failure modes when the model cannot satisfy the schema, or whether output is validated against the schema.

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 short sentences with no padding, and the core operation is front-loaded. The call-to-action about prompt and schema follows logically.

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

Completeness2/5

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

For a tool whose whole interface is a prompt plus optional schema, the empty input schema leaves the agent with no way to know the actual argument names or shapes, and the description does not fill that gap. It also has no output schema, so the description should have said more about what the JSON response looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description instructs the caller to provide a prompt and an optional JSON schema, but the input schema declares zero properties. That is a substantive mismatch: an agent reading the description would look for parameters that the schema does not define. With zero parameters the baseline would be 4, but the conflicting parameter talk pulls this down.

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: extracts structured JSON data from a webpage using AI. That is concrete enough to distinguish it from rendering or crawling siblings. It stops short of naming how it differs from related extraction tools such as scrape_elements or render_markdown.

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?

The description says what to supply but never says when to choose this tool over its siblings or when not to use it. There are no exclusions, no prerequisites, and no mention of how it relates to the other extraction tools in the catalog.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.