Skip to main content
Glama

secret_safe_reader

Reads files from a jailed directory while automatically redacting API keys, tokens, card numbers, and email PII, so agents can inspect content without exposing sensitive data.

Instructions

Read files from a jailed directory with automatic API key, token, card, and email 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": {
      "path": "<path>",
      "max_chars": "<max_chars>"
    },
    "name": "secret_safe_reader"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
max_charsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses automatic redaction of API keys, tokens, card data, and email PII, and that reads are confined to a jailed directory, but it does not explain max_chars truncation behavior, error handling, or return shape.

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 a single front-loaded sentence with no filler. It efficiently conveys the action, scope, and redaction behavior.

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 two-parameter read tool with no annotations and no output schema, the description identifies the purpose and redaction behavior but omits parameter usage details. The missing max_chars semantics is especially relevant because it caps the returned output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description never mentions the path or max_chars parameters. It adds no meaning about what path must point to or how max_chars bounds the returned content.

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?

It states a specific verb and resource: reading files from a jailed directory, with automatic PII redaction. This clearly identifies a file-reading tool with sensitive-data stripping, though it does not differentiate it from siblings such as csv_pii_reader.

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 description gives no explicit when-to-use guidance or alternatives. It only implies that the tool is for reading files from a jailed directory, without saying when to choose it over csv_pii_reader or other sibling workflows.

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