Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Convert Format

fc_convert_format
Idempotent

Converts files between JSON, CSV, INI, YAML, TOML, XML, and TOON formats, and pretty-prints or minifies JSON, so you can transform structured data without manual rewriting.

Instructions

Converts files between different formats.

Args:

  • input_path (string): Path to source file

  • output_path (string): Path to target file

  • input_format (string): "json" | "csv" | "ini" | "yaml" | "toml" | "xml" | "toon"

  • output_format (string): "json" | "csv" | "ini" | "yaml" | "toml" | "xml" | "toon"

  • json_indent (number, optional): JSON indentation (default: 2)

Supported conversions:

  • JSON <-> CSV (for arrays of objects)

  • JSON <-> INI (for flat objects/sections)

  • JSON <-> YAML

  • JSON <-> TOML

  • JSON <-> XML

  • JSON <-> TOON (hierarchical key-value format)

  • JSON pretty-print / minify

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_path": "<input_path>",
      "output_path": "<output_path>",
      "input_format": "<input_format>",
      "output_format": "<output_format>"
    },
    "name": "fc_convert_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
input_pathYesSource file
json_indentNoJSON indentation
output_pathYesTarget file
input_formatYesInput format
output_formatYesOutput format

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.5
  2. Removedv1.9.3
  3. First observedv1.7.8

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so safety is covered. The description adds genuine value with the supported-conversion matrix, but omits what happens to an existing output_path (overwrite vs fail), whether conversions are lossy for nested structures, and what errors look like on incompatible shapes — real gaps for a write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The supported-conversions section is the genuinely useful part and is well placed, but the five-entry 'Args' list duplicates the input schema word-for-word and occupies roughly half the description without adding information. The purpose sentence is correctly front-loaded.

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

Completeness3/5

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

For a five-parameter write tool with no output schema, the description should say what the tool returns (path? byte count? nothing?) and confirm overwrite semantics. The conversion matrix is a solid addition, but these operational details are missing, leaving the agent to guess at failure and overwrite behavior.

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% with enums on both format parameters, so baseline is 3. The 'Args' block restates the schema almost verbatim (including the same enum values and the json_indent default of 2) rather than adding semantics such as how json_indent interacts with non-JSON output formats or whether input_format must match the file's actual content.

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 opens with a specific verb+resource ('Converts files between different formats') and the supported-conversion list makes the tool's scope concrete. It distinguishes itself implicitly from siblings like fc_fix_json, fc_validate_json, and fc_md_to_html, but never explicitly says 'use those instead when X'.

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?

The supported-conversion matrix implies when the tool applies, and the 'JSON <-> X' phrasing hints that conversions are JSON-mediated. However, it never states whether non-JSON pairs (e.g. CSV -> YAML) are allowed, nor when to prefer fc_fix_json or fc_md_to_html over this tool — the agent must infer that.

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