Skip to main content
Glama

JWT header shape, payload 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.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It discloses a key behavioral trait: 'The body is discarded', clarifying the tool is non-persistent. It does not state the return format (e.g., boolean vs error), rate limits, or side effects, but for a validation check the disposal behavior is the most important behavioral disclosure.

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, front-loaded with the primary purpose and immediately clarifying the destructive/disposal aspect. No wasted words; every phrase earns its place.

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?

The input schema lists four unrelated-looking parameters (url, host, json, zone), and the description only explains 'json'. The tool's actual behavior for the other parameters and what counts as a valid result is unclear. Given a simple tool with no output schema, the description should clarify the expected return value or error behavior.

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 description coverage is 100%, so the schema already documents all four parameters. The description adds value by explaining the 'json' parameter's disposition ('discarded after the check') and the purpose of validation, but it does not clarify the relationship between 'url'/'host'/'zone' and the validation task, which is confusing.

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', and adds that the body is discarded. It distinguishes the core validation purpose, though it doesn't explicitly differentiate from siblings; the sibling names suggest URL/timezone-related functionality, but the description itself doesn't name an alternative.

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 tool is for a quick validity check and explicitly notes the body is discarded, which warns against relying on it for storage. However, it provides no when-to-use versus alternatives, no preconditions, and no note about what makes JSON invalid.

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
Disambiguation3/5

Several tools overlap in the URL/host/status space: citation, normalize-url, and domain-shape all return host-like information, and compatibility is vague. The descriptions help separate them, but an agent could still misselect when looking for a specific URL metric.

Naming Consistency2/5

Names mix single-word nouns like citation and timezone, noun phrases like domain-shape and status-catalog, and verb-led names like normalize-url and validate-json. All use kebab-case, but there is no consistent verb/noun pattern across the set.

Tool Count4/5

Eleven tools is within a reasonable range for a utility server. Most tools have narrow, distinct purposes, though a few time-related and URL-related tools feel somewhat redundant.

Completeness3/5

The set covers URL normalization, JSON/JWT inspection, robots, HTTP status, and time utilities, but the lack of a single cohesive domain leaves noticeable gaps. For example, there is no generic URL validation, no HTTP header inspection, and the compatibility tool is underspecified.