Skip to main content
Glama
thinkneo-ai

ThinkNEO MCP SMB

Official

guardrails_scan_secrets

Read-onlyIdempotent

Scans text or source code for exposed secrets and credentials to prevent leaks into commits, logs, or LLM context. Detects 8 credential formats including API keys, tokens, and passwords.

Instructions

Scan text or source code for exposed secrets and credentials before they leak into commits, logs, or LLM context.

Detects 8 credential formats: Stripe keys (sk_live/pk_test...), AWS
access key IDs (AKIA...), GitHub personal access tokens (ghp_...),
OpenAI API keys (sk-...), Slack tokens (xox...), JWTs (three-part
eyJ... tokens), hardcoded password literals (password=...), and
generic api_key/secret_key/access_token assignments. Use this before
committing code, pasting logs into tickets, or forwarding text to an
external model. Deterministic regex engine; read-only, never stores
or transmits the scanned content.

Returns a JSON object:
  - secrets_detected (bool): true if any credential was found.
  - findings (list): one object per credential type found, with
    "secret_type" (str, e.g. "aws_access_key", "github_pat", "jwt")
    and "count" (int: occurrences). Raw secret values are never
    echoed back.
  - severity (str): "critical" if anything was found, else "none".

Example: guardrails_scan_secrets(text="AWS_KEY=AKIAIOSFODNN7EXAMPLE")
returns secrets_detected true, severity "critical", with one finding
of secret_type "aws_access_key" (count 1).

Billing note: on the hosted ThinkNEO endpoint this call costs 1 TNC;
this open-source build runs free and offline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text or source code to scan for leaked credentials: code snippets, configuration files, environment dumps, CI logs, or any string that might accidentally contain API keys, tokens, or passwords. Up to 50,000 characters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description states behavior beyond annotations: 'Deterministic regex engine; read-only, never stores or transmits the scanned content.' This complements the readOnlyHint=true and idempotentHint=true annotations. Additionally, it notes billing costs. No contradictions.

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?

Well-structured with a clear front-loaded purpose, list of formats, usage guidance, behavioral notes, return format, and example. Some sentences are slightly long but overall efficient and informative.

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?

Covers all necessary aspects: input constraints, detection capability, return structure (including example), usage context, and billing note. The detailed return format description compensates for the absence of an explicit output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already has a detailed description for the 'text' parameter (100% coverage). The description adds extra context about suitable input types and the 50,000 character limit, providing more value than the schema alone.

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 clearly states 'Scan text or source code for exposed secrets and credentials' and lists 8 specific credential formats. The tool is distinctly different from siblings (guardrails_check, guardrails_scan_injection, guardrails_scan_pii) which focus on other scanning tasks.

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?

Provides explicit when-to-use guidance: 'before committing code, pasting logs into tickets, or forwarding text to an external model.' Does not explicitly state when not to use or suggest alternatives, but the context of sibling tools implies this is for secrets only.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thinkneo-ai/mcp-smb-products'

If you have feedback or need assistance with the MCP directory API, please join our Discord server