Skip to main content
Glama
hlteoh37

mcp-devutils

by hlteoh37

yaml_json

Convert YAML to JSON or JSON to YAML with automatic format detection. Specify direction for explicit control.

Instructions

Convert between YAML and JSON. Auto-detects input format or use direction param

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesYAML or JSON string to convert
indentNoIndent spaces (default: 2)
directionNoConversion direction (default: auto-detect)
Behavior3/5

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

With no annotations, the description carries the full burden of disclosure. It adds the auto-detection behavior, which is useful, but it does not mention error handling, invalid input behavior, or the exact output format. The description partly overlaps with the schema's direction enum default.

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 a single concise sentence, front-loaded with the primary purpose, and contains no filler or redundant information.

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 full schema coverage, the description adequately covers the primary use case and auto-detection. It is missing edge-case behavior or return format details, but these are largely implied by the tool's purpose.

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?

The input schema covers all three parameters (input, indent, direction) with descriptions, so the baseline is 3. The description's mention of the direction param adds no new semantic detail beyond the schema.

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 clearly states the tool converts between YAML and JSON, with a specific verb and resource pair. This distinguishes it from sibling tools like csv_json and json_format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on how to use the tool, mentioning auto-detection and the direction parameter for explicit control. It does not explicitly list alternatives, but the guidance is sufficient for a straightforward conversion tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlteoh37/mcp-devutils'

If you have feedback or need assistance with the MCP directory API, please join our Discord server