Skip to main content
Glama

Agent Toolkit (all-in-one)

Leak Guard: check text BEFORE your agent sends or stores it for API keys, passwords, private keys, card numbers and personal data, and get a redacted copy

scan_for_leaks

[Agent Shield] Detects secrets (AWS, GitHub, OpenAI, Anthropic, Google, Slack and Stripe keys, private keys, JWTs, database connection strings, bearer tokens, password assignments, crypto private keys, high-entropy tokens next to key/secret words) and personal data (emails, phone numbers, Luhn-valid card numbers, checksum-valid IBANs, US SSNs, IP addresses). Returns risk level, masked findings with line numbers and a redacted_text that is safe to send. include=secrets checks only secrets. Nothing is stored or logged. Price 0.002 USDC per call; first 3 calls per day free.

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": "scan_for_leaks"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesOutgoing message, email, post, code or document (max 300,000 chars)
includeNoall (default) or secrets only
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
allow_contact_infoNoTreat emails/phone numbers alone as acceptable (safe_to_send stays true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that nothing is stored or logged, describes the return payload (risk level, masked findings with line numbers, redacted_text safe to send), and states the pricing model (0.002 USDC per call, first 3 daily calls free). It also implies where payment is needed, which is exactly the non-obvious operational detail an agent needs.

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?

The parenthetical inventory of secret and PII types is dense but front-loaded and skimmable, and the operational facts (redaction, pricing, no logging) follow in order of importance. The leading '[Agent Shield]' tag and the sheer length of the detection list cost it a point on tightness.

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

Completeness5/5

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

There is no output schema, yet the description still explains the return shape (risk level, findings with line numbers, redacted_text) and states the size limit is handled via the text parameter. For a single-purpose text scanner, nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the schema already documents all four parameters; the description's note that 'include=secrets checks only secrets' largely restates the enum documentation. It never touches allow_contact_info or the payment parameter, so it adds little beyond structured data — baseline 3 is right.

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?

The description opens with a specific verb ('Detects') and enumerates the exact resource classes it covers (AWS/GitHub/OpenAI keys, JWTs, connection strings, emails, IBANs, SSNs), which lets an agent distinguish it from sibling scanners like scan_text_for_injection or scan_dependencies 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 Guidelines4/5

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

It explicitly frames the trigger condition — check text BEFORE the agent sends or stores it — and clarifies the narrower mode ('include=secrets checks only secrets'). It stops short of naming when to prefer scan_text_for_injection or safe_check_text instead, so an agent must infer the boundary.

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.