Skip to main content
Glama

excel_create_pivot_table

Create a pivot table in an Excel workbook by summarizing a source worksheet range into a target worksheet and cell using specified row, column, and value fields.

Instructions

Create pivot table

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": {
      "filename": "<filename>",
      "sourceWorksheet": "<sourceWorksheet>",
      "sourceStartCell": "<sourceStartCell>",
      "sourceEndCell": "<sourceEndCell>",
      "targetWorksheet": "<targetWorksheet>",
      "targetCell": "<targetCell>"
    },
    "name": "excel_create_pivot_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
rowFieldsNoRow fields
targetCellYesPlacement cell
valueFieldsNoValue fields
columnFieldsNoColumn fields
sourceEndCellYesSource end
sourceStartCellYesSource start
sourceWorksheetYesSource worksheet
targetWorksheetYesTarget worksheet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not say whether existing content at targetCell is overwritten, whether the workbook is saved to disk, whether the target worksheet must pre-exist, or what happens when rowFields/columnFields/valueFields are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At two words the text is not verbose, but it is under-specified rather than concise; there is no front-loaded statement of what a pivot table creation requires or returns. The brevity removes information instead of removing waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a nine-parameter, six-required mutation with no annotations and no output schema, and the description says nothing about the required source range, target placement, or the pivot field arrays. For a tool of this complexity, the single-phrase description is completely inadequate.

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 each of the nine parameters already carries a label, which sets the baseline at 3. The description adds no meaning beyond those labels — it does not explain how rowFields, columnFields, and valueFields combine, or the format expected for cell references.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description reads "Create pivot table", which is a near-verbatim restatement of the tool name excel_create_pivot_table. It conveys the verb and resource but adds no scope, no field semantics, and no differentiation from siblings such as excel_add_table or excel_add_chart.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisites (e.g., the source worksheet must already exist with a populated range), and no statement about the target worksheet needing to exist first. The agent must infer the entire usage context.

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

Deploy Server

Other Tools