Skip to main content
Glama

get_url_json

Read-only

Extract structured JSON from a page using AI. Provide a prompt and/or a response_format JSON schema to guide extraction. Costs 5 credits per successful extraction.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
promptNoNatural-language instruction for what to extract
browserNoBrowser that renders the page. Omit to use the default Chrome browser. Set to "kitesurf" to use the Kitesurf browser engine.
response_formatNoOptional JSON-schema response format to constrain the output

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, non-idempotent, non-destructive behavior, so the safety profile is covered. The description adds genuinely new context not in annotations: extraction is AI-driven and costs 5 credits per successful extraction. It does not explain failure handling or how page rendering affects results.

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?

Three short sentences: purpose first, then how to drive it, then cost. Every sentence carries distinct information and nothing is padded.

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 page-extraction tool with no output schema, it covers purpose, the guiding inputs, and the billing implication. Minor gaps remain around failure behavior and the effect of the browser choice, but nothing blocks correct invocation.

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?

With 75% schema coverage, the schema documents prompt, browser, and response_format, and the description reinforces prompt/response_format as optional guides for extraction. It adds nothing about the browser parameter or how json_schema constrains output beyond the schema's own wording.

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 output type: 'Extract structured JSON from a page using AI', which separates it from sibling output formats like markdown, HTML, and links. It never names a sibling explicitly, so differentiation rests on the output-format wording rather than direct routing.

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 when to use it (when you want structured JSON rather than raw content) and says prompt and response_format are optional combinable inputs. It gives no explicit when-not or named alternative, so an agent must infer the choice from sibling names alone.

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.