Skip to main content
Glama

post_json_repair

Repair common malformed JSON formatting issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

TDQS

C2.6/5.0
Behavior2/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 of explaining behavior. It says only that it repairs malformed JSON but does not disclose what transformations are applied, whether valid JSON is passed through unchanged, what happens if repair is impossible, or whether the response contains the repaired text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short and front-loaded, with no filler words. However, it is under-specified; the brevity comes at the cost of omitting behavioral details and parameter clarification, so it is not 'appropriately sized' for the tool's needs.

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?

With no annotations, no output schema, and an undocumented parameter, the description is incomplete. An agent cannot confidently call this tool without knowing what counts as a repairable issue, what output to expect, or how it differs operationally from the JSON validate/minify/pretty siblings.

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 description coverage is 0%, and the description does not clarify that the single 'text' parameter is the JSON string to repair. The parameter name and tool name offer a weak inference, but the description fails to specify expected input format, size limits, or how the repaired result is returned.

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 names a specific verb, 'Repair', and a resource, 'common malformed JSON formatting issues', which clearly distinguishes it from siblings like post_json_validate, post_json_minify, and post_json_pretty. It is not a tautology and gives a usable idea of the tool's job, though 'common' and 'issues' remain somewhat vague.

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?

There is no guidance on when to use this tool versus alternatives such as post_json_validate or post_json_minify. The description does not mention when it should be preferred, what inputs are suitable, or what scenarios are not covered.

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.7/5.0
Disambiguation2/5

Multiple tools occupy the same security-audit space: get_dns_lookup/get_domain_intelligence, get_security_posture/get_web_audit/post_domain_due_diligence, and the three post_security_repo_risk_report variants heavily overlap. Video generation is split only by duration, and get_ssl_check/get_security_posture both target TLS/certificate concerns, so an agent could easily select the wrong tool.

Naming Consistency3/5

All tools use snake_case and a get_/ post_ prefix, which is a recognizable convention and generally readable. However, the suffix order is inconsistent (get_url_parse vs get_security_posture vs post_security_repo_risk_repport_standard), and get/post are HTTP-style prefixes rather than semantic verbs, so the pattern is only partially coherent.

Tool Count2/5

34 tools is well above the 'too many' threshold and spans unrelated domains: domain security, repo risk, JSON/hash/text utilities, media generation, Quebec invoices, and x402 payments. Many tools are variants that could be consolidated (video durations, risk report tiers, audit scopes), so the count feels inflated rather than purposeful.

Completeness2/5

The set lacks a single apparent domain, so no complete lifecycle is clearly covered: video generation has no status/retrieval, repo risk reporting is read-only, and common companions (URL encoding, current timestamp, image analysis) are missing. It is a broad collection of one-off utilities rather than a coherent functional surface.

Resources