Skip to main content
Glama

ForgeSuite Web3, FinOps, Brand & Media MCP

EnvShield Secret Leak Scanner & Redactor

envshield_scan
Read-onlyIdempotent

Scan .env files, JSON configs, shell logs, or transcripts for leaked API keys (OpenAI, Anthropic, GitHub, AWS, Google, Stripe, Telegram, Slack), 64-hex EVM private keys, seed mnemonics, JWTs, database URI passwords, and high-entropy secrets. Returns structured findings and safely redacted text.

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": {
      "text": "<text>"
    },
    "name": "envshield_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesRaw .env, config, JSON, diff, or log text to scan.
includeRedactedNoInclude safely redacted text in the response (default: true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered structurally. The description adds that output is 'structured findings' plus 'safely redacted text', which is useful context beyond annotations, but it omits limits such as maximum input size, truncation behavior, or whether findings include line/offset locations.

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?

Two sentences, front-loaded with the action and accepted input types before the return description. The long enumeration of secret types and providers earns its place for match decisions, though it reads as a dense block rather than a scannable structure.

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 single-required-parameter read-only scanner with no output schema, the description covers what goes in and roughly what comes out, which is close to sufficient. It could be stronger by noting output shape of findings or size limits on 'text'.

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% with only two parameters, so the schema already documents 'text' and 'includeRedacted'. The description's mention of 'safely redacted text' loosely corresponds to includeRedacted but adds no format or sizing detail beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Scan') applied to enumerated resources (.env files, JSON configs, shell logs, transcripts) and enumerates the secret classes it detects. This is clearly distinguishable from siblings like evm_token_risk_scan or brand_domain_handle_scan without opening any schema.

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?

Usage is implied by the input-type list (agents can infer 'use this when you have raw text that may contain secrets'), but there is no explicit when-to-use/when-not statement and no named alternative for adjacent jobs like wallet or token risk scanning. Adequate but leaves routing to inference.

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.