Skip to main content
Glama

Zambo

prompt_shield

Read-onlyIdempotent

Zambo Stack — Detect prompt injection, jailbreaks, and policy bypass attempts before they reach your AI model. Two-phase analysis: instant pattern library scan (12 attack vectors) + Groq semantic analysis. Returns injection_risk 0–100, recommendation safe/review/block, and a safe rewritten version when possible. 50 free/day. Best for: 'validate user input before LLM call', 'detect jailbreak attempts', 'is this prompt safe to send to GPT?'. When to use: call prompt_shield when the user's request matches this capability. When not to use: do not call it for unrelated work, missing required inputs, or when a safer read-only route is more appropriate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo'fast' = pattern scan only (default), 'deep' = pattern + Groq semantic analysis
emailNoZambo Pass email for unlimited calls (optional)
promptYesThe user input or prompt to validate for injection/jailbreak (max 16K chars)
systemNoYour system prompt — also scanned for prompt leak attempts (optional)
contextNoDescribe your app for better contextual analysis (optional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
safeNo
threatsNo
sanitizedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond annotations, the description adds substantive behavioral detail: 'Two-phase analysis: instant pattern library scan (12 attack vectors) + Groq semantic analysis,' return values ('injection_risk 0–100, recommendation safe/review/block, safe rewritten version when possible'), and a rate limit ('50 free/day'). These details meaningfully enrich the annotation-provided read-only/idempotent profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose Alert, but it becomes repetitive with overlapping 'Best for' and 'When to use' sections. The line 'call prompt_shield when the user's request matches this capability' is tautological, and the brand prefix 'Zambo Stack —' adds little. It would be stronger with tighter phrasing.

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?

For a tool with an output schema and fully documented parameters, the description is nearly complete: it covers purpose, analysis modes, output format, free-tier quota, and usage boundaries. Minor gaps like behavior when the daily free limit is exhausted are not addressed, but the overall context is sufficient.

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%, and the schema already explains parameters like mode, prompt, system, and context. The description adds little parameter-specific meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 states a specific verb and resource: 'Detect prompt injection, jailbreaks, and policy bypass attempts' and clarifies it operates 'before they reach your AI model.' It is clear and specific, but it does not explicitly differentiate from sibling tools, so it stops short of a 5.

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?

The description provides explicit 'When to use' and 'When not to use' sections, plus 'Best for' examples like 'validate user input before LLM call' and 'detect jailbreak attempts.' However, the when-to-use condition is somewhat circular ('when the user's request matches this capability') and no specific sibling alternatives are named.

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.