Skip to main content
Glama
Shrike-Security

Shrike Security MCP Server

scan_prompt

Analyzes text for security threats including prompt injection, jailbreak attempts, PII exposure, and toxic content to protect AI agents.

Instructions

Scans text for security threats including PII, prompt injection, jailbreak attempts, and toxicity.

Returns a security assessment with:

  • blocked: true/false - whether the content was blocked

  • threat_type: category of threat detected (prompt_injection, jailbreak, pii_exposure, etc.)

  • severity: critical/high/medium/low

  • confidence: high/medium/low

  • guidance: actionable explanation of what was detected

  • request_id: unique identifier for this scan

If blocked=false, only request_id is returned (content is safe).

When redact_pii=true, PII is redacted client-side before scanning. The response includes:

  • pii_redaction.redacted_content: text with PII replaced by tokens like [EMAIL_1]

  • pii_redaction.tokens: array of {token, original, type} for rehydrating LLM responses PII never leaves the MCP process when redaction is enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe text content to scan for security threats
contextNoOptional conversation history or context for better analysis
redact_piiNoWhen true, PII is redacted before scanning. Response includes redacted_content and tokens for rehydration.
Behavior4/5

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

With no annotations provided, the description carries the full burden and does an excellent job disclosing behavioral traits: it explains the return format in detail, describes conditional behavior (blocked=false returns only request_id), and provides crucial security context about PII redaction and data handling. The only minor gap is lack of rate limit or performance information.

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

Conciseness5/5

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

The description is perfectly structured and front-loaded: the first sentence states the core purpose, followed by organized sections on returns, conditional behavior, and parameter implications. Every sentence earns its place with essential information, and there's zero wasted text.

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 3-parameter security scanning tool with no annotations and no output schema, the description is remarkably complete: it explains the scanning purpose, detailed return format, conditional behavior, and parameter implications. The only minor gap is not explicitly mentioning error cases or performance characteristics, but it covers the essential operational context well.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds significant value by explaining the redact_pii parameter's implications beyond the schema: it details what happens when enabled (client-side redaction, response includes redacted_content and tokens), and clarifies that PII never leaves the MCP process. This provides crucial operational context not in 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?

The description clearly states the tool's purpose with specific verbs ('scans text for security threats') and resources ('PII, prompt injection, jailbreak attempts, and toxicity'), distinguishing it from siblings like scan_file_write or scan_sql_query by focusing on text content rather than files or queries.

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 clear context for when to use this tool (scanning text for security threats) and implicitly distinguishes it from siblings by mentioning specific threat types. However, it lacks explicit guidance on when not to use it or direct alternatives among the sibling tools.

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/Shrike-Security/shrike-mcp'

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