Skip to main content
Glama

mechacut

format_convert

Convert between json, yaml, toml, csv, env. Deterministic: keys sorted where the format allows, \n endings. env requires flat scalars; toml requires an object; csv requires an array of objects. Free under 32 KB, x402 above.

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": "<input>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "format_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
inputYesthe source text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description must carry the full burden, and it does disclose real behavioral traits: determinism (sorted keys, \n line endings) and a size-based pricing boundary at 32 KB with x402 above it. It stops short of error behavior when input does not satisfy format constraints and never says what the call returns or whether the result is a string blob.

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?

Four telegraphic sentences, front-loaded with purpose, then determinism, then per-format preconditions, then cost. No filler; every clause maps to something an agent needs.

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 pure computation tool with no annotations and no output schema, the definition covers purpose, determinism, format preconditions, and pricing — a lot for three sentences. The remaining gap is the return value (a single converted text string) and failure modes, which the absence of an output schema leaves undocumented.

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 coverage is only 33% — 'from' and 'to' are bare enums and only 'input' is described ('the source text'). The description adds meaningful constraints on what content is representable per target format, partly compensating, but it never states explicitly whether those constraints apply to the string in 'input' or to the parsed structure, and json/yaml targets get no guidance.

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?

States a specific verb (Convert) plus the exact set of five formats handled, which cleanly separates it from siblings like units_convert, num_format, and check_format. An agent can tell what this does without opening the schema.

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?

Usage is implied through stated input preconditions ('env requires flat scalars; toml requires an object; csv requires an array of objects') and the free/x402 threshold, which effectively says when the call will fail or cost money. However, it never names an alternative or exclusion — e.g. no guidance on using check_format to validate before converting.

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.