Skip to main content
Glama

Scan secrets

scan_secrets
Read-onlyIdempotent

Scan pasted text (up to 200KB) or one public page or script for leaked credentials: AWS, GitHub, OpenAI, Anthropic, Stripe, Google, Slack, a Supabase service_role JWT, private keys, and high-entropy secret assignments. Matches are redacted to the first 4 and last 2 characters and are not stored. Call anytime: POST https://botthru.com/mcp tools/call, or POST https://botthru.com/a2a message/send.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "scan_secrets"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOne public page or script. Do not send this with text.
textNoText to scan, up to 200000 characters. Do not send this with url.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNo
gradeNo
scoreNo
messageNo
summaryNo
findingsNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / grade / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / score / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • addedOutput schema / properties / suggestions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and open-world behavior, yet the description still adds genuinely new context: the 200KB input ceiling, that matches are redacted to first 4 and last 2 characters, and that results are not stored. It does not mention rate limits or what happens if neither parameter is supplied, keeping it short of a 5.

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?

Front-loaded with the action and scope, and the credential list is compact. The trailing 'Call anytime: POST https://botthru.com/mcp tools/call...' transport sentence is boilerplate that does not help an agent decide or invoke the tool.

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?

With an output schema present, return values need not be explained, and the description covers inputs, size limit, redaction, and storage policy. Only edge cases (both parameters omitted, private/non-public URLs, error behavior) are unaddressed, which is minor for a two-parameter tool.

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% and the schema itself already states the mutual exclusion and the 200000-character limit, so the description's restatement adds little. The phrase 'one public page or script' reinforces the single-URL constraint but does not add syntax or format detail beyond the schema.

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?

Names a specific verb (scan) and two concrete resources (pasted text up to 200KB, or one public page/script), then enumerates exactly which credential classes are detected (AWS, GitHub, OpenAI, Stripe, private keys, Supabase service_role JWT, high-entropy assignments). An agent can distinguish this from siblings like check_mcp_security or audit_page without opening the 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 enumerated credential types and the mutual exclusivity of text/url, but the description never states when to prefer this over a sibling security tool, nor any exclusions. 'Call anytime' is a transport note, not usage guidance.

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