Skip to main content
Glama
KitchenSink4AI

io.github.nometalalchemist/kitchensink4xl

import_data

Import CSV, TSV, or JSON into an Excel sheet at a chosen anchor, auto-detecting file format and blocking formula injection for secure data loading.

Instructions

Import CSV, TSV, or JSON into a sheet at an anchor. Pass source (inline text) or source_file (a path); fmt auto-detects from the extension. location is the top-left anchor (default A1). A cell whose text begins with =, +, -, or @ is written as TEXT to block formula injection unless formulas is true. An import past the 200,000-cell write ceiling refuses rather than dropping rows. A hazardous workbook refuses unless allow_loss is true. Auto-backup to .ks4xl-backups; atomic verified save. Refuses while open in Excel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fmtNoauto
pathYes
sheetNo
backupNo
headerNo
sourceNo
encodingNoutf-8
formulasNo
locationNo
delimiterNo
allow_lossNo
verify_comNo
source_fileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  2. Changed2 schema fields changedv1.1.0
    • addedInput schema / properties / location / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / location / title
      Removed value: -"Location"
  3. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

The description discloses formula-injection blocking, the 200,000-cell write ceiling refusal, hazardous-workbook refusal, auto-backup, atomic verified save, and refusal while open in Excel. This is far beyond the minimal readOnlyHint=false annotation.

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?

The description is dense but each sentence carries operational value, from source selection to safety limits and concurrent open refusal. It is appropriately sized for a 13-parameter import tool and front-loads the core purpose.

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?

It covers the main workflow and most edge cases comprehensively, which matters given the sparse annotations and absent output schema. It is not fully complete because the required path parameter is unexplained and success/error return behavior is not stated.

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?

It usefully explains source vs source_file, fmt, location, formulas, and allow_loss. However, the required 'path' parameter is never described, and header, delimiter, encoding, backup, sheet, and verify_com are left to inference despite 0% schema description coverage.

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?

The description opens with a specific verb and resource: 'Import CSV, TSV, or JSON into a sheet at an anchor.' This clearly differentiates the tool from write_range or export_range by identifying the input formats and the anchor concept.

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?

It gives clear invocation guidance: use source for inline text or source_file for a path, fmt auto-detects from extension, and location defaults to A1. It doesn't explicitly name alternatives or exclusion conditions, so it stops short of a 5.

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