Skip to main content
Glama
Hybrid SAGE

Hybrid SAGE

Official
by bioassembly

airgap_scan

Scan text or files for exposed credentials, API keys, PII/PHI identifiers, and genomic VCF headers before cloud use; optionally return a redacted copy with secret and PHI placeholders.

Instructions

Pre-flight PII/PHI/Secret Airgap Firewall: scans text and/or files for live credentials, API keys, clinical patient identifiers (NIK, MRN), or genomic VCF headers, and optionally returns a redacted copy safe for cloud models.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "airgap_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoOptional raw text or prompt to scan
filesNoOptional file paths to scan for secrets or PHI
redactNoIf true, returns redacted text with [REDACTED_SECRET] and [REDACTED_PHI] placeholders

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the detection categories and that redaction produces [REDACTED_SECRET]/[REDACTED_PHI] placeholders, but it is silent on what happens on a positive hit (block vs. warn), whether scanning is local/offline, and how findings are surfaced when redact is false.

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, front-loaded with the tool's identity and followed by the specific detection targets and the optional redaction outcome. Every clause carries content, though the stacked acronyms make it slightly harder to parse than necessary.

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?

With three optional parameters, no annotations, and no output schema, the description should say what a scan returns (a findings list? a verdict?) and what an empty result looks like. It covers inputs and detection scope but leaves the return contract entirely unaddressed.

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 all three parameters are already documented, and the description adds no format or syntax detail beyond restating that redaction is optional. The baseline 3 applies: the schema does the heavy lifting and the prose adds little.

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?

Uses a specific verb ("scans") and concrete resources (text and/or files) and enumerates what it looks for: credentials, API keys, clinical identifiers (NIK, MRN), genomic VCF headers. The purpose is unmistakable, though it never contrasts itself with any other tool, so it stops short of the top score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Pre-flight" and "safe for cloud models" imply this is run before sending data to a cloud model, which is a useful usage cue. However, it states no explicit when-to-use/when-not conditions and names no alternatives, leaving the agent to infer routing from the label alone.

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