Skip to main content
Glama

CSV Viewer

csv_viewer
Read-onlyIdempotent

A CSV viewer that reads CSV or TSV text into rows and columns, detects the separator, and can filter and sort. A HelpySelf tool (helpyself.com).

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": {
      "csv": "<csv>"
    },
    "name": "csv_viewer"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYesThe CSV or TSV text to read. Quoted fields, embedded line breaks and doubled quotes are handled. Returns the separator, row and column counts, a summary of each column (number or text, empty cells, min and max) and the first rows, optionally filtered and sorted.
rowsNoHow many rows to return after filtering and sorting, 0 to 100. Defaults to 10.
filterNoKeep only rows where some cell contains this text, ignoring case. Empty (the default) keeps every row. rowCount stays the whole file; matching counts the kept rows.
headerNoTreat the first row as column names. On by default.
sortByNoSort by this column: its header name (any case) or its 1-based number. Numbers like 1,234.50, 12 % or $3 sort as numbers when the whole column reads that way; empty cells go last. Omit to keep the file's order.
delimiterNoThe field separator: comma, semicolon, tab or pipe. 'auto' (the default) picks whichever appears most on the first line outside quotes. The one used is returned.auto
descendingNoSort largest or last first. Ignored without sortBy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the separator auto-detection and filter/sort behavior, but says nothing about return shape, row limits, or the 5 MB input cap beyond what the schema already states.

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?

The core sentence is front-loaded and dense with useful verbs. The second sentence is pure promotion ("A HelpySelf tool (helpyself.com)") and earns no place in a tool definition.

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?

For a 7-parameter read-only viewer with full schema documentation and clear annotations, the definition covers enough to call it correctly. The missing piece is a note on what the call returns, which the schema carries but the description does not.

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% and each parameter is documented at length, so the baseline of 3 applies. The description mentions filtering, sorting and separator detection but adds no format or edge-case detail beyond the schema's own text.

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: reads CSV or TSV text into rows and columns, with separator detection, filtering and sorting. That is enough to distinguish it from csv_to_json (a converter) or ascii_table (a formatter), though no sibling is named explicitly.

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?

The word "viewer" implies read-only inspection, but there is no explicit when-to-use, no when-not-to-use, and no pointer to csv_to_json or ascii_table for conversion or formatting. An agent must infer the choice from sibling names alone.

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