Skip to main content
Glama
@shuliak-corp/sip1-mcp

@shuliak-corp/sip1-mcp

Read Local File with FF1 Slot Isolation

sip_read_protected_file
Read-onlyIdempotent

Reads a local document and applies format-preserving pseudonymization to sensitive fields, keeping reversible mappings only in volatile RAM so AI workflows avoid exposing originals.

Instructions

Read a local document from disk and apply two-phase sentinel-slot NIST FF1 pseudonymization (PAN, SEPA IBAN, LEI, SSN/ITIN/EIN, ICAO MRZ, HIPAA NPI/MBI/VIN/dates) storing reversible twin mappings strictly in volatile RAM.

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": {
      "filePath": "<filePath>"
    },
    "name": "sip_read_protected_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
packsNoSector pack IDs to activate.
filePathYesLocal path to source document.
watchlistNoCustom confidential entity terms.
shiftClinicalDatesNoEnable HIPAA clinical date shift.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.6.5

TDQS

B3.4/5.0
Behavior4/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 covered. The description adds genuinely new behavior: mappings are 'reversible twin mappings' held 'strictly in volatile RAM', which tells the agent the pseudonymization is reversible within the process lifetime but not durable across restarts — an important operational constraint. It does not say what the call returns (redacted text, a path, or a mapping handle) or how the mappings are subsequently accessed, which keeps it below 5.

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?

It is a single, front-loaded sentence that leads with the concrete action before the technical detail, and there is no filler or repetition. Density is high but some terms ('two-phase sentinel-slot') are unexplained jargon that an agent cannot act on, which costs a point.

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 read-only tool with all four parameters documented and no output schema, the description covers the what and the storage model adequately. It leaves a material gap, however: what the caller receives back (redacted document, file path, or mapping reference) and how the reversible mappings are consumed afterwards, which matters given the explicit reversibility claim.

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 filePath, packs, watchlist and shiftClinicalDates are already documented in the schema; the baseline is 3. The description adds only indirect meaning — the entity list hints at what 'packs' and 'watchlist' govern, and 'dates' in the parenthetical loosely connects to shiftClinicalDates — but it never explains the two-phase slot mechanism or how pack IDs interact with the built-in detectors.

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 and resource: 'Read a local document from disk' followed by a named transformation ('two-phase sentinel-slot NIST FF1 pseudonymization'). It even enumerates the entity classes handled (PAN, IBAN, LEI, SSN/ITIN/EIN, MRZ, HIPAA NPI/MBI/VIN/dates), which lets an agent distinguish this file-level tool from payload-oriented siblings. It stops short of naming any sibling explicitly, so it lands at 4 rather than 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 when-to-use or when-not-to-use guidance: nothing tells the agent whether to prefer this over sip_pseudonymize_payload for in-memory content, or how it pairs with sip_save_restored_document if the redacted output must be persisted. Usage is only implied by the verb 'Read' plus the file-oriented parameters. No prerequisites (file access permissions, pack selection) are stated.

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