Skip to main content
Glama

JSON byte count, body discarded

validate-json

Check whether a body is valid JSON. The body is discarded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoHTTPS URL to normalize or cite
hostNoPublic hostname
jsonNoJSON text to validate; discarded after the check
zoneNoIANA timezone name

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a useful behavioral trait: 'The body is discarded,' meaning the input is not retained. However, it omits how the validity result is reported, error behavior, and any authentication or rate-limit context.

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?

Two short sentences with no padding, and the core purpose is front-loaded. Both sentences earn their place: one states the function, the other adds the behavioral note about discarding input.

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?

Although the tool is conceptually simple, the definition is not self-sufficient: it does not clarify which parameter is the 'body', how the validity check is returned (there is no output schema), or what happens on invalid JSON. The unrelated url/host/zone parameters compound the ambiguity.

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?

Schema coverage is 100%, which normally warrants a baseline of 3, but the schema is clearly contaminated: url, host, and zone are described as 'HTTPS URL to normalize or cite', 'Public hostname', and 'IANA timezone name' — all unrelated to JSON validation. The description's 'body' also fails to map cleanly to the json parameter, creating real confusion about what to supply.

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?

The description states a clear verb and resource: 'Check whether a body is valid JSON.' The tool name reinforces this intent. However, it refers to a 'body' while the schema contains no parameter named 'body', and with no sibling tools listed it does nothing to differentiate from alternatives.

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 usage scenario — validate a JSON body — but offers no explicit guidance on when to use it, no exclusions, and no alternatives. With only one sentence of guidance and no sibling context, the agent is left to infer applicability.

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.

TDQS

C2.3/5.0
Disambiguation4/5

Each tool has a distinct function: URL analysis, JSON inspection, time/timezone, and HTTP status. Only 'compatibility' is vaguely defined and could conceptually overlap with status-catalog, but the other descriptions prevent significant misselection.

Naming Consistency2/5

Names mix noun-only (citation, compatibility), noun-noun (json-bytes, status-catalog), and verb-noun (inspect-robots, normalize-url, validate-json) styles with no clear pattern. All are readable, but the convention is not systematic or predictable.

Tool Count5/5

With 11 tools, the count sits comfortably in the ideal range. Each tool has a specific purpose, and the set does not feel bloated, even though the overall scope spans multiple utility domains.

Completeness3/5

URL, JSON, time, and HTTP status areas each have reasonable coverage with no obvious dead ends. However, the lack of a clearly stated central domain makes completeness hard to fully evaluate, and 'compatibility' feels under-specified.