Skip to main content
Glama

text_csv

Read-onlyIdempotent

text csv

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": {
      "operation": "<operation>"
    },
    "name": "text_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoRows for stringify: an array of arrays or of objects.
textNoThe text to process, plain UTF-8, for example: The quick brown fox.
headersNoColumn names for stringify, for example ["name","qty"].
delimiterNoField separator, one character; default comma. For example ; or a tab.
operationYesparse (CSV text to rows), stringify (rows to CSV) or toJson (CSV text to JSON objects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / delimiter / description
      Added value: +"Field separator, one character; default comma. For example ; or a tab."
    • addedInput schema / properties / headers / description
      Added value: +"Column names for stringify, for example [\"name\",\"qty\"]."
    • addedInput schema / properties / operation / description
      Added value: +"parse (CSV text to rows), stringify (rows to CSV) or toJson (CSV text to JSON objects)."
    • addedInput schema / properties / rows / description
      Added value: +"Rows for stringify: an array of arrays or of objects."
    • addedInput schema / properties / text / description
      Added value: +"The text to process, plain UTF-8, for example: The quick brown fox."
  2. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the bar is lower. However, the description adds no behavioral context such as what operations entail or any side effects.

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?

The description is only two words and lacks front-loaded useful information. While brief, it does not earn its place by conveying any actionable 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 tool with five parameters and multiple operations, the description is incomplete. Annotations cover safety hints, but the description fails to explain the tool's core functionality or expected outcomes.

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 the input schema fully documents all five parameters. The description adds no meaning beyond what the schema provides, meeting the baseline of 3.

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 'text csv' merely restates the tool name without specifying a verb or resource. It does not distinguish the tool's purpose from similar siblings like csv_to_pptx or text_similarity.

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?

No guidance is provided on when to use this tool versus alternatives. The description contains no context or exclusions.

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