Skip to main content
Glama

Tinplate Edge AI Safety, Security & EU Compliance

tinplate_secret_scanner

Read-onlyIdempotent

Log Redact & Secret Scanner API: Detect and mask leaked API keys, JWTs, and private keys in logs, diffs, and prompts. (Endpoint: POST /v1/secret-scanner)

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>",
      "redact": "<redact>"
    },
    "name": "tinplate_secret_scanner"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesParameter 'text' (e.g. "Authorization: Bearer sk_live_51Nq9abcDEF1234567890ghijklMNO")
redactYesBoolean flag 'redact' (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds that it masks (mutates the returned text) rather than only reporting, which is useful, but it does not say whether the original text is stored, what the response contains, or why a POST endpoint is classified read-only.

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 tight sentences with the capability front-loaded and the endpoint appended as a parenthetical. Minor waste in restating the title as a lead-in label, but nothing obstructive.

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?

For a two-required-parameter tool with no output schema, the description should at least hint at the return shape (masked text, list of findings, placeholders) and the behavior when redaction is disabled. Those gaps remain, though the core purpose and secret coverage are adequately conveyed.

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 the baseline is 3 and the schema already carries both parameters with an example secret string. The description conveys that masking is a core behavior tied to the `redact` flag, but it never explains what `redact=false` yields (detection-only findings?) or how the two modes differ.

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?

States a concrete verb pair ("Detect and mask") and concrete resources (API keys, JWTs, private keys) across concrete surfaces (logs, diffs, prompts), plus the endpoint. It is clear what the tool does, but it never names or distinguishes itself from adjacent siblings like tinplate_pii_redactor or tinplate_prompt_guard.

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 context is implied by "in logs, diffs, and prompts" and by the endpoint path, giving a rough sense of when to reach for it. There is no explicit when-to-use/when-not guidance and no routing to an alternative tool for overlapping redaction needs.

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