Skip to main content
Glama

util_ini_json

Read-only

INI / .properties to JSON converter — Offline converter for INI and Java .properties files to JSON and back. INI: [sections] (dotted names nest with nested=true), = or : separators, ; and # comments incl. inline, quoted values, key[] arrays, indented continuation lines, bare keys, duplicate-key warnings. Properties: ! and # comments, backslash line continuation, escaped separators and spaces, unicode escapes. types=true (default) converts numbers, booleans (true/yes/on) and null; format= auto-detected or ini|properties. json= converts a JSON object back to INI (nested objects become [a.b] sections) or to .properties with format=properties. Params: text= or url= or json=. Price: $0.002 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "util_ini_json"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes[server] host = 0.0.0.0 port = 8080 debug = yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the pure-transform, no-side-effect nature is covered. The description does add real behavior beyond that: duplicate-key warnings, inline-comment handling, backslash continuation and unicode escapes, plus a $0.002 USDC x402 payment requirement. It never describes the shape of the returned JSON or how parse errors are reported, and with no output schema that gap is left open.

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?

Purpose is front-loaded in the first clause, followed by format-specific feature notes and payment info, so an agent can stop reading early. The middle section is dense feature enumeration — every clause is informative but the list runs long for a single-parameter tool.

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 fairly complex converter with no output schema, the description covers input syntax, type coercion, directionality and cost well. It is missing anything about the output JSON structure produced from INI input and about failure modes, and the schema only exposes one of the three input parameters the description references, leaving the calling contract ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single declared parameter (text), so semantics default is met, but the description adds genuine meaning: types=true defaults, format auto-detection, nested=true for dotted section names. However it advertises url= and json= as parameters that do not appear anywhere in the input schema, which can lead an agent to pass arguments the tool may not accept.

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 opens with a specific verb+resource pair ("INI / .properties to JSON converter") and adds scope ("Offline") plus bidirectional capability ("and back"). The format naming itself separates it from the sibling converters util_toml_json, util_xml_json and util_yaml_json without needing to name them.

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?

It gives clear context for when each mode applies: text= or url= for input files, json= to go back to INI, format= auto-detected or ini|properties, and types=true as the default conversion behavior. It stops short of explicit exclusions (e.g. "not for TOML/YAML, use util_toml_json"), so an agent must infer the boundary from the format names.

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