Skip to main content
Glama

Excel Create

excel_create
Destructive

Creates a new Excel spreadsheet (.xlsx file) with headers and optional data rows. JSON numbers (integers and decimals) are written as numbers, so SUM() and charts work on them; JSON strings always stay text even when they look numeric ("007", "1e3", or " 42"), as do integer values longer than 10 digits because they are identifiers like a CUIT, CBU or phone number rather than quantities. JSON booleans are written as boolean cells. A string that starts with "=" is written as text, not a formula — use excel_write_cell to put a formula in a cell.

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": {
      "path": "<path>",
      "headers": "<headers>"
    },
    "name": "excel_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesOutput path for the .xlsx file
rowsNoArray of ROW ARRAYS — each row is itself an array of cell values (optional)
confirmNoIgnored; kept for older clients.
headersYesColumn headers
overwriteNoRequired (with confirm) to REPLACE a file that already exists at path. Without it an existing file is never touched.

Output Schema

NameRequiredDescriptionDefault
pathYesPath of the created .xlsx file
rowsYesNumber of data rows written
createdYesTrue when the file was created
headersYesColumn headers written

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / rows / items / items / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / rows / items / items / type
      Removed value: -[
      -  "string",
      -  "number",
      -  "boolean",
      -  "null"
      -]
  2. Changed1 schema field changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to create"New value: +"Ignored; kept for older clients."
  3. Changed2 schema fields changed
    • addedInput schema / properties / overwrite
      Added value: +{
      +  "description": "Required (with confirm) to REPLACE a file that already exists at path. Without it an existing file is never touched.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / rows / items / items
      Added value: +{
      +  "type": [
      +    "string",
      +    "number",
      +    "boolean",
      +    "null"
      +  ]
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / rows / description
      Previous value: -"Array of row arrays with data (optional)"New value: +"Array of ROW ARRAYS — each row is itself an array of cell values (optional)"
    • addedInput schema / properties / rows / items
      Added value: +{
      +  "description": "One row: the cell values, in column order",
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / properties / rows / description
      Previous value: -"Array of ROW ARRAYS — each row is itself an array of cell values (optional)"New value: +"Array of row arrays with data (optional)"
    • removedInput schema / properties / rows / items
      Removed value: -{
      -  "description": "One row: the cell values, in column order",
      -  "type": "array"
      -}
  6. Changed2 schema fields changed
    • changedInput schema / properties / rows / description
      Previous value: -"Array of row arrays with data (optional)"New value: +"Array of ROW ARRAYS — each row is itself an array of cell values (optional)"
    • addedInput schema / properties / rows / items
      Added value: +{
      +  "description": "One row: the cell values, in column order",
      +  "type": "array"
      +}
  7. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so safety is covered. The description adds substantial behavior the annotations cannot: exact type-coercion rules for numbers, strings, booleans, long integers, and numeric-looking strings, plus the '=' text-not-formula rule. File-overwrite behavior lives in the schema rather than the description, which keeps this at a 4.

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?

Front-loaded with purpose, then one sentence per behavioral rule, no filler. The quoted examples ('007', '1e3', ' 42') add length but each demonstrates a distinct coercion trap, so they earn their place.

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?

An output schema exists, so return values need not be described, and overwrite/confirm semantics are documented in the schema. What remains unstated is minor (e.g. whether parent directories must exist, or how existing files interact with creation beyond the overwrite flag), but nothing blocking is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema by defining how each element of the `rows` array is interpreted — which JSON types survive as numbers/booleans versus being coerced to text — which is precisely the semantics an agent would otherwise guess wrong on.

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 and resource with scope: 'Creates a new Excel spreadsheet (.xlsx file) with headers and optional data rows.' It also draws an explicit boundary against the excel_write_cell sibling for the formula case, so an agent can separate creation from cell writing without opening either schema.

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

Usage Guidelines4/5

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

Gives a concrete routing rule: strings starting with '=' become text, and formulas belong in excel_write_cell. That is real when-to-use guidance. It stops short of broader exclusions (e.g. appending to an existing workbook), so it is strong but not fully exhaustive.

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.

Resources