Skip to main content
Glama
bicibg

Apixies MCP Server

by bicibg

yaml_to_json

Read-only

Convert YAML content to JSON, including multi-document YAML, anchors, aliases, and Kubernetes configs. Produces valid JSON for further processing.

Instructions

Convert YAML content to JSON. Supports multi-document YAML, anchors, aliases, and Kubernetes config files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yamlYesYAML content to convert
prettyNoPretty-print JSON output (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=false. The description adds valuable behavioral context by stating support for multi-document YAML, anchors, aliases, and Kubernetes config files, which informs the agent of the tool's capabilities beyond a simple conversion. It does not contradict annotations.

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?

The description is two sentences, with the primary purpose front-loaded. It is concise, avoids fluff, and every phrase (multi-document, anchors, aliases, Kubernetes) adds value. There is no wasted text.

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?

For a simple conversion tool with 2 parameters, no output schema, and readOnlyHint, the description is largely complete. It covers the input capabilities and implies a JSON output. It could mention the output format (e.g., JSON string) or error handling, but given the simplicity and the schema's coverage, it is sufficient.

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 both parameters (yaml and pretty) are already documented in the schema. The description does not add additional parameter-specific details beyond the YAML capabilities, which are not tied to a specific parameter. Baseline of 3 is appropriate given the schema covers everything.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the exact operation ('Convert YAML content to JSON') and differentiates itself from sibling tools by listing specific capabilities (multi-document YAML, anchors, aliases, Kubernetes config files). This is a specific verb+resource with clear scope, and it clearly distinguishes from json_to_yaml or other converters.

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?

The description does not explicitly state when to use this tool versus alternatives. While the name is self-explanatory, there is no mention of 'use this for YAML to JSON; for the reverse use json_to_yaml' or any exclusion criteria. The only usage hint is the mention of Kubernetes configs, which is a context but not a routing guideline.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.