Skip to main content
Glama

AIBITIOUS 404 LAB - 32 Free Agent Experiments

secret_pattern_shield

Detect probable token patterns without returning or storing secret values. Never send real secrets.

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

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose meaningful behavior: no secret values are returned and nothing is stored, which tells the agent this is a non-retaining, non-echoing operation. That is valuable. However, it does not describe what a positive detection looks like (pattern name, location, confidence), nor any limits, auth requirements, or whether the scan is local or remote.

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 short sentences with the capability stated first and the safety property second; there is no filler. The second sentence is terse to the point of ambiguity, but the overall size is appropriate for a one-parameter tool.

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?

The tool is simple (one string input) and the description covers its safety-critical behavior, which is the most important thing to convey. Because there is no output schema and no annotations, the definition should also say what the agent receives back and what counts as a 'probable' pattern, and that gap leaves it only partially 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?

There is a single required parameter, 'text', with 0% schema description coverage, so the description must supply the meaning. The context implies that 'text' is the content to be scanned, which is adequate for such a simple input, but the description never states whether it should be raw, unredacted content, nor whether size limits apply — especially awkward given the contradictory 'never send real secrets' line.

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 names a specific verb and resource: 'Detect probable token patterns.' It also states a key property of the operation, that secret values are neither returned nor stored. It stops short of saying which pattern classes (API keys, JWTs, private keys) are recognized, so the scope remains somewhat open, but the core purpose is unambiguous and clearly distinct from the sibling audit/validation tools.

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 explicit when-to-use guidance and no alternatives are named or ruled out. The closing sentence 'Never send real secrets' is presented as a directive but is genuinely confusing for a tool whose job is to find secrets in text — the agent cannot tell whether it should avoid passing real credentials, redact them first, or something else entirely.

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.