Skip to main content
Glama

Grokzilla Micro Pay

json_flatten

Deterministic nested JSON to flat path-value map. Arrays, custom separators, depth limits. Price $0.006 via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
optionsNosep: any value (stringified, default "."); max_depth: integer or integer-like string (default 12).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose real traits: deterministic output, array handling, configurable separators, depth limits, and a per-call price ($0.006 via x402) that implies a paid/auth flow. It stops short of explaining what happens when max_depth is hit or how separator collisions are handled.

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?

Three telegraphic fragments, purpose front-loaded, nothing wasted. The clipped style costs a little readability but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description should ideally sketch the return shape and failure modes; 'path-value map' is implied but not detailed, and the undocumented `data` parameter plus depth-overflow behavior leave gaps for a tool that has to be invoked correctly.

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 coverage is 50% — the nested options block documents sep and max_depth, but the required `data` parameter is bare. The description's mentions of arrays, separators, and depth limits map onto what the schema already says, adding little new semantics.

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 transformation (nested JSON → flat path-value map) with the determinism guarantee named explicitly. It is clearly distinguishable from json_repair/json_sort by what it produces, though it never names a sibling directly.

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 when-to-use guidance, no prerequisites, and no mention of when another sibling (e.g. json_sort or json_schema_validate) would be the better pick. The only 'context' offered is pricing, which does not help tool selection.

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