Skip to main content
Glama

secret_redaction_preflight

Detect and redact common secret indicators before transmission; 0.002 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "payload": {
      +      "message": "public status only"
      +    },
      +    "policy": {
      +      "mode": "redact"
      +    }
      +  }
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It says detect and redact, but not what happens when a secret is found (block, redact-and-continue, fail closed), whether the original payload is logged or retained, or whether the caller must supply a policy. The cost token '0.002 USDC' is the only extra disclosure.

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 front-loaded sentence with the action first and the price last; every clause earns its place. Slightly terse for a security-sensitive preflight, but no filler.

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?

An output schema exists, so return format need not be explained. But with zero annotations and a security-sensitive operation, the description should say what the tool does on detection and whether the caller's payload is mutated or merely inspected; that gap leaves the definition only minimally complete.

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% and the schema carries an example showing a 'policy.mode' of 'redact' plus a 'payload' object, so the structured data already documents usage. The description adds no parameter detail beyond restating the redaction intent, making the baseline 3 appropriate.

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 gives a specific verb pair and resource: 'Detect and redact common secret indicators before transmission.' An agent can tell this is a scanning/redaction preflight step rather than, say, an egress policy check. However, it does not distinguish itself from nearby siblings such as data_egress_preflight or tool_output_firewall, so the boundary is left to inference.

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?

'before transmission' implies the calling context (invoke prior to sending a payload outbound), which is reasonable implied usage. But there is no explicit when-to-use vs alternatives guidance, no mention of when redaction should not be applied, and no pointer to the sibling preflight tools it competes with.

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.

Resources