Skip to main content
Glama

Habits prompt-injection guard

Server Details

Check user prompts for injection/jailbreaks; your own guard learns from your labels. Works keyless.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a completely different action: checking text (check_prompt), obtaining credentials (get_free_key), and submitting feedback labels (teach_guard). The descriptions explicitly cross-reference each other (teach_guard needs a key from get_free_key; check_prompt results are what you'd teach), making boundaries unambiguous.

Naming Consistency5/5

All three names follow a consistent snake_case verb_noun pattern (check_prompt, get_free_key, teach_guard) with clear, concrete verbs. No mixing of conventions or vague generic verbs.

Tool Count4/5

Three tools is at the low end but appropriate for a narrowly scoped prompt-injection guard service, and each tool earns its place. A slightly richer surface (e.g. batch checking or key management) would justify a larger set, but nothing here is filler.

Completeness4/5

The core lifecycle is covered: detect (check_prompt), onboard/key (get_free_key), and improve the guard (teach_guard). Minor gaps exist—no way to retrieve a past request_id's details, no batch check, and no key rotation/revocation—but agents can work around these.

Available Tools

3 tools
check_promptCheck a prompt for injectionA
Read-only
Inspect

Is this user-typed text a prompt injection or jailbreak (an attempt to override, hijack or extract an AI system's instructions)? Returns flagged true/false and a 0-1 score. Without a key it uses the public guard (30 checks per day per network). With a key it uses your own guard, which learns from teach_guard; the result carries a request_id. Built for user prompts; it is weak on injections hidden in tool output or documents.

Inputs: text (required).

get_free_keyGet a free API keyAInspect

Create a free Habits account and API key (no email). The key is shown once; set it as the Authorization: Bearer header for this MCP server. The free plan has a fixed $0.10/day spend cap and its own trainable injection guard.

Inputs: username.

teach_guardTeach your guardA
Idempotent
Inspect

Label one prompt for your own guard so it stops repeating a mistake (a false alarm on a normal request, or a missed injection). Needs an API key (get_free_key). About 50 of your own labels cut false alarms from 15% to 4% in our benchmark.

Inputs: text (required), injection (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables agents and applications to detect, inspect, and neutralize prompt injection, jailbreak attempts, and hidden instruction escapes in untrusted text before it is passed into prompts.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables real-time injection fuzzing and canary-based exfiltration detection over untrusted prompts, RAG context, and agent actions, with entropy analysis, outbound channel interception, least-privilege sandboxing, and cryptographic audit proofs.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Protects AI agents from prompt injection attacks, jailbreak attempts, and common web vulnerabilities by screening untrusted input through semantic LLM analysis and static pattern matching.
      68 npm
      2
      ISC
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources