x402-is-json
Is JSON: Validate whether a string is valid JSON. Provide value or input; returns true if it parses, false otherwise. 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | ||
| value | No |
Is JSON: Validate whether a string is valid JSON. Provide value or input; returns true if it parses, false otherwise. 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | ||
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / input / descriptionRemoved value: -"Input to process"Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / inputAdded value: +{
+ "description": "Input to process",
+ "type": "string"
+}Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations at all, the description carries the full burden. It does disclose the boolean return ('returns true if it parses, false otherwise'), which is genuine value, but it says nothing about whether non-string input fails, what happens when both parameters are supplied, or whether errors are returned vs thrown. For a zero-annotation tool the safety/side-effect profile is only implied by the word 'Validate'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the verb and result in two short sentences; the third sentence is a pricing/metering note with an emoji but still carries actionable information about the free trial quota.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial two-parameter predicate the description covers purpose and return value, which is most of what an agent needs. The remaining gap is the unresolved relationship between the two undocumented string parameters, which neither schema nor description clarifies.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the schema documents only that both fields are strings. "Provide value or input" hints that the two parameters are interchangeable aliases for the string to check, which is real added meaning, but it does not resolve precedence when both are given or what happens when neither is.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: validate a string as, returning true if it parses. It is clearly distinguishable from the neighbouring json-validate / json-schema-validate style siblings by the boolean outcome, though it never names those siblings explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
"Provide value or input" gives minimal invocation guidance, but there is no statement about when to pick this over x402-json-validate or x402-json-schema-validate in the very large sibling set, and no exclusions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.