Skip to main content
Glama

csv_pii_reader

Read jailed CSV files under enforced row and character caps, automatically redacting emails, card numbers, and API keys so agents never receive raw PII.

Instructions

Read jailed CSV datasets with Z3-proven row/character caps and automatic email, card, and API key PII redaction

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_path": "<csv_path>",
      "max_rows": "<max_rows>",
      "max_chars": "<max_chars>"
    },
    "name": "csv_pii_reader"
  }
}

Input Schema

NameRequiredDescriptionDefault
csv_pathYes
max_rowsYes
max_charsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose useful traits — enforced row/character caps and automatic redaction of emails, cards, and API keys — but says nothing about what happens when a cap is exceeded (truncate vs. error), how redaction is applied (masked, removed, tokenized), or what path jail restrictions mean in practice.

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 dense sentence that front-loads the action and resource, then stacks the safety guarantees. Every phrase carries information; the only weakness is that the compression leaves terms like "jailed" and "Z3-proven" unexplained.

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

Completeness3/5

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

For a three-parameter read tool with no output schema and no annotations, the description covers purpose and safety posture but omits failure modes, redaction output format, and parameter-level meaning. It is adequate to start an invocation but not to predict results.

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% for all three parameters, and the description only loosely gestures at max_rows and max_chars via "row/character caps" while leaving csv_path completely unexplained. It does not compensate for the schema gap with units, path constraints, or cap-breach behavior.

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 uses a specific verb ("Read") and a clearly scoped resource ("jailed CSV datasets"), and adds distinguishing traits (row/character caps, PII redaction) that separate it from a plain file reader. It never names a sibling such as secret_safe_reader to sharpen the boundary, so it stops short of a 5.

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 explicit when-to-use or when-not-to-use guidance and no named alternative, even though the sibling list contains overlapping readers (secret_safe_reader, jailed_report_writer). An agent must infer applicability from the word "CSV" alone.

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