Skip to main content
Glama

data_convert

Read-only

Convert files between JSON, YAML, and TOML formats to enable data interchange and compatibility across different systems and applications.

Instructions

Convert file format.

Use when you need to transform a file from one format (JSON, YAML, TOML) to another.

Output contract: Returns {"success": bool, "result": str, ...} or writes to file. Side effects: Writes to output_file if provided. Failure modes: FileNotFoundError if input missing. ToolError if formats same or conversion fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to source file
output_formatYesTarget format to convert to
output_fileNoOptional output file path (if not provided, returns converted content)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Tool Definition Quality

Score is being calculated. Check back soon.

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/bitflight-devops/mcp-json-yaml-toml'

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