Skip to main content
Glama

MoneyTools — Wallet Risk Card, MCP lint, and 100+ read-only x402 tools

YAML ↔ JSON converter

yaml_json_convert
Read-onlyIdempotent

YAML (multi-document, with line-numbered errors) to JSON, or JSON to YAML. Free: 10 calls/day; then $0.005/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "yaml_json_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesYAML or JSON text
directionNoyaml-to-json | json-to-yaml (auto)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, destructiveHint and openWorldHint, so the description's real contribution is the quota ('10 calls/day'), the paid fallback with its two payment channels, and the fact that errors are line-numbered. That is concrete operational context an agent cannot get from the annotations.

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?

Two tightly packed sentences with the conversion contract front-loaded and pricing demoted to the second sentence. Every clause carries information, though the payment-mechanism detail is dense enough to slightly slow reading.

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

Completeness4/5

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

An output schema exists, so return values need no explanation, and the description covers direction, multi-document handling, error granularity, and cost. The only gap is that no guidance is given for choosing this over the format-specific siblings, which is a minor omission for a two-parameter converter.

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 100%, so both 'input' and 'direction' are already documented including the 'auto' default. The description adds only that YAML input may be multi-document, which is a modest addition beyond the schema rather than new syntax or constraint information.

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 gives a precise verb+resource pair ('YAML ... to JSON, or JSON to YAML') and adds the multi-document qualifier, which distinguishes it from the flat-format siblings like csv_json_convert and xml_json_convert. It does not name an alternative, but the format boundary is unambiguous.

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?

Usage is implied by the format pairing ('YAML to JSON, or JSON to YAML'), and 'auto' in the schema indicates direction detection, but there is no explicit statement of when to pick this over csv_json_convert or json_format, nor any preconditions for input validity. The guidance is inferable rather than stated.

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