Skip to main content
Glama

read_official_json

Read-onlyIdempotent

Read an anonymous public HTTPS JSON document from the explicit official-source host allowlist. Returns original decoded jsonText preserving numeric lexemes, final URL, retrieval time and raw response SHA256. No business data is inferred; duplicate keys and invalid JSON fail. No credentials, purchases or auth/paywall bypass. Free Darwin-owned hosting; no provider key required.

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault
textYes
linksYes
formatYes
statusYes
completeYes
finalUrlYes
jsonTextYes
mediaTypeYes
redirectsYes
retrievedAtYes
sourceBytesYes
requestedUrlYes
sourceSha256Yes
externalWritesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent/openWorld annotations by disclosing that duplicate keys and invalid JSON cause failures, that no business data is inferred, and that the original decoded jsonText is returned with URL, retrieval time and SHA256. These are real behavioral traits an agent cannot derive from structured fields.

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?

Dense and front-loaded: the core action and host restriction come first, followed by return payload and failure modes. The closing sentence about free Darwin-owned hosting and no provider key is mildly tangential but still answers an auth question an agent might have.

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?

Covers constraints, failure behavior, and auth posture, which is more than enough given an output schema already describes the return shape. The one remaining gap is that the allowlist itself is never enumerated, so an agent cannot predict which hosts will be rejected.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the semantics. It adds the key constraint the schema cannot express — the host must be on the explicit official-source allowlist — beyond the schema's bare '^https://' pattern. It does not mention the 2048-char max or min length, but those are visible in the schema itself.

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: reads a public HTTPS JSON document restricted to an official-source allowlist. The 'JSON document' framing distinguishes it implicitly from the sibling read_official_document, but the description never names that sibling or contrasts the two, so the differentiation is left to inference.

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?

Provides clear context plus hard exclusions: no credentials, no purchases, no auth/paywall bypass, no provider key needed. That tells an agent when this tool is appropriate. It stops short of naming the alternate sibling for non-JSON official documents or what to do when a host is not on the allowlist.

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