Skip to main content
Glama

mechacut

table_pivot

Pivot records (index x columns -> aggregated values, agg sum|count|mean|min|max|first, columns sorted, missing -> null) or unpivot (melt, keep/vars). Paid route (x402 from first call).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "table_pivot"
  }
}

Input Schema

NameRequiredDescriptionDefault
aggNosum
csvNo
dataNo
keepNounpivot: retained columns
modeNopivot
varsNounpivot: melted columns
indexNopivot: column or list of columns
valuesNopivot: aggregated column
columnsNopivot: values spread here
var_nameNovariable
value_nameNovalue

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two genuinely useful behavioral traits: columns are sorted, missing combinations become null, and the route is paid via x402 from the first call — payment being the single most important operational fact here. However it says nothing about the return shape (no output schema exists), size/row limits, or whether csv and data are interchangeable.

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?

A single front-loaded sentence with zero filler and no repetition of the schema. The dense arrow-and-parenthetical style borders on cryptic and slightly hurts first-read comprehension, but nothing is wasted.

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 an 11-parameter transformation tool with no annotations and no output schema, the description covers the central concepts and the billing model, but omits the return format and several parameters entirely. An agent could call the pivot path correctly from this, but would be guessing on the unpivot naming parameters and on input-source choice.

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 only 45% across 11 parameters, so the description must compensate. It does explain the core pivot mapping (index x columns -> values, agg enum values) and the unpivot keep/vars pair, but leaves var_name, value_name, csv vs data, and the interaction among index/columns/values undocumented in both places.

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 names the resource and both operations precisely: pivot (index x columns -> aggregated values) and unpivot (melt, keep/vars), with the aggregation verbs enumerated. That is enough to tell it apart from table_peek / table_scale / table_sql_dump, which are clearly different operations, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It splits into pivot vs unpivot branches, which implies when each mode applies, but never states when to choose this tool over its siblings or what prerequisites exist (e.g., data vs csv input, size limits). No when-not guidance at all.

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.