Skip to main content
Glama

transform

Read-onlyIdempotent

Filter, select, rename, sort, and de-duplicate table data without SQL, then save the full result to Excel, CSV, Parquet, JSON, or Markdown.

Instructions

Filter, select, rename, sort and de-duplicate one table without writing SQL. Save with output.

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": {
      "source": "<source>"
    },
    "name": "transform"
  }
}

Input Schema

NameRequiredDescriptionDefault
keepNoWhich duplicate to keep with dedupe_on.first
limitNoMax rows to return (default from server config, usually 100).
sheetNoSheet name (or 0-based index). Default: first sheet.
whereNoSQL filter, e.g. "region = 'EU' AND amount > 100".
formatNojson = rows as arrays, records = list of objects, markdown = a table.json
offsetNoRow offset for paging.
outputNoSave the FULL result to this file (.xlsx/.csv/.parquet/.json/.md) instead of returning rows.
renameNoRename columns: {'old': 'new'}.
sourceYesData file; for a specific sheet use 'book.xlsx#Sheet1' or the sheet parameter.
columnsNoColumns or expressions to keep, e.g. ['name', 'price*qty AS total'].
distinctNoDrop fully duplicated rows.
order_byNoSort, e.g. ['amount DESC', 'name'].
dedupe_onNoKeep one row per these key columns.
output_sheetNoWhen output is an existing .xlsx: write into this sheet (replaced if it exists), keeping other sheets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior2/5

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

The description states "Save with `output`", which is a file write, and the schema adds that `output_sheet` replaces an existing sheet — yet the annotations declare readOnlyHint=true and destructiveHint=false. That is an unresolved conflict for the export path, and the description does nothing to clarify it. Beyond the save sentence there is no disclosure of operation ordering, limit/offset interaction with `output`, or error behavior for a malformed `where` clause.

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?

Two short sentences, front-loaded with the operations and with zero filler. The save hint is placed after the primary capability, so an agent gets the core behavior in the first clause.

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?

With 14 parameters and no output schema, the definition leaves composition order (filter vs. select vs. sort vs. dedupe) and result semantics to inference, though the `format` and `output` parameter descriptions cover return shape and persistence. The central gap is the unresolved safety story: a tool that can overwrite an existing worksheet is annotated as read-only and non-destructive, and the description neither confirms nor corrects that.

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%, so the schema already carries the parameter semantics and the baseline is 3. The description only points at one non-obvious parameter (`output`) without adding syntax, format, or interaction detail beyond what the schema states. It adds a navigational cue rather than new meaning.

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 uses specific verbs and a bounded resource: "Filter, select, rename, sort and de-duplicate one table without writing SQL." The phrase "without writing SQL" implicitly separates it from a SQL-capable sibling such as `query`, and "one table" scopes it away from multi-table tools. It stops short of naming any sibling, so the differentiation is inferred rather than stated.

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 only: the "without writing SQL" clause suggests when to prefer this over a SQL-based tool, and "one table" hints it is not the tool for joins. There is no explicit when-to-use, when-not-to-use, or named alternative, and no mention of where `aggregate`, `clean`, `combine`, or `query` take over for grouping, cleaning, or merging.

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