Skip to main content
Glama

set_csv_connection

Configure the workbook datasource to use a local CSV connection.

Instructions

Configure the workbook datasource to use a local CSV connection.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
charsetNoutf-8-sig
filepathYes
delimiterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.28.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether this replaces an existing datasource connection, whether it requires a prior upload_workbook, whether it mutates the in-memory workbook or persists it, or what side effects occur — all significant gaps for a mutation tool.

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, front-loaded sentence with no wasted words. Brevity here reflects missing content rather than tight writing, but the structure itself is efficient.

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?

An output schema exists so return values need not be described, but for a four-parameter mutation tool with 0% schema coverage and no annotations, the description leaves too much unspecified — parameter meaning, prerequisites, and connection-replacement behavior are all absent.

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 description coverage is 0%, so the schema documents none of the four parameters. The phrase 'local CSV connection' weakly implies filepath is a local filesystem path, but fields, charset, and delimiter (including that delimiter defaults to an empty string, which is unusual) are entirely unexplained.

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 states a specific verb (configure) and resource (CSV connection on the workbook datasource), which is clearly distinct from the connection siblings such as set_mysql_connection, set_excel_connection, and set_hyper_connection. It does not explicitly name those alternatives, so it falls short of full sibling routing.

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 choose this over the other set_*_connection tools, nor any prerequisites (e.g., that the CSV must already exist locally or be uploaded). The agent must infer usage entirely from the name.

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