Skip to main content
Glama

mechacut

json_map

Element-wise closed transforms over a JSON array: 12 ops (lower/upper/strip/title/slug/kebab/snake/camel/round/int/str/trunc), applied in order. The missing half of reshape for lists of scalars. Free.

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": {
      "items": "<items>",
      "ops": "<ops>"
    },
    "name": "json_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsYes
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real signal: ops are 'applied in order' and the transforms are 'closed' (no new values invented), and 'Free' signals no cost. It says nothing about what happens with an unknown op, an empty array, or a scalar that cannot be coerced by int/round, which matters for a mutation-free but error-prone pipeline.

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?

Three short sentences, front-loaded with the core verb and the op list. The op enumeration is dense but justified; 'the missing half of reshape' is the only slightly mannered phrase, and 'Free' is terse but informative.

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?

Two required parameters with no annotations and no output schema, so the description should cover return shape expectations and edge behavior. It covers the transform list and ordering but leaves the per-op options (places, max) and failure modes unexplained, which is a meaningful gap for a transform tool with a 0%-documented schema.

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 0%, so the description must carry parameter meaning. It enumerates the op enum values, which is genuinely useful, and 'applied in order' explains ordering semantics for the ops array. However, the optional 'places' and 'max' fields are never explained (presumably round precision and trunc length), leaving half the parameter surface undocumented.

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?

States a specific verb and resource: element-wise transforms over a JSON array, with the exact 12 operations enumerated. It also distinguishes itself from reshape_json ('the missing half of reshape for lists of scalars'), though that framing is slightly allusive rather than a crisp differentiator.

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 missing half of reshape for lists of scalars' implicitly tells the agent to reach for reshape_json when working with objects and this tool when working with scalar lists. There is no explicit when-to-use/when-not statement, no mention of how to combine multiple ops versus calling repeatedly, and no error conditions.

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.