Skip to main content
Glama

Create Excel or CSV

create_excel

Creates new XLSX or CSV files from specified column and row data in permitted output directories.

Instructions

Membuat file XLSX/CSV baru dari kolom dan baris data di ALLOWED_OUTPUT_DIRS.

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>",
      "columns": "<columns>"
    },
    "name": "create_excel"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNo
columnsYes
fileNameYesNama file tujuan (basename saja) di dalam ALLOWED_OUTPUT_DIRS.
overwriteNo
sheetNameNoSheet1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is partly covered. The description adds the useful constraint that output is confined to ALLOWED_OUTPUT_DIRS, but it says nothing about how overwrite behaves, what happens when the target exists and overwrite is false, or the row and column limits.

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 compact sentence with the verb and the sandbox constraint front-loaded. It is efficient, though the brevity is also the source of the missing behavioral detail.

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

Completeness2/5

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

For a write tool with no output schema, five parameters and an overwrite switch, the definition is too sparse. It leaves unresolved whether overwriting destroys an existing file, what the size limits are, and how sheetName affects CSV output, all of which an agent needs before calling safely.

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

Parameters2/5

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

Schema coverage is only 20% across 5 parameters, so the description carries a heavy burden, yet it only gestures at columns, rows and the file location implied by ALLOWED_OUTPUT_DIRS. The overwrite flag, which governs whether existing data is replaced, and sheetName are completely undocumented in both the schema and the description.

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: creating a new XLSX/CSV file from columns and rows. This clearly separates it from read_excel and from the other create_* siblings, though the description does not explicitly name those alternatives.

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 when-to-use guidance, no mention of when to choose CSV versus XLSX, and no stated preconditions such as whether the output directory must already exist. The agent must infer all routing from the tool name and the sibling list.

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