Skip to main content
Glama
CSOAI-ORG

Agent Prompt Injection Firewall MCP

Server Quality Checklist

75%
Profile completionA complete profile improves this server's visibility in search results.
  • Latest release: v1.0.1

  • Disambiguation5/5

    Each tool has a clearly distinct purpose: rule definition, listing, log viewing, prompt scanning, and attestation. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern in snake_case (e.g., define_custom_rule, list_rules, scan_log). The verbs and nouns are appropriate and predictable.

    Tool Count5/5

    With 5 tools, the set is well-scoped for a prompt injection firewall MCP. It covers the core operations without being too sparse or overly numerous.

    Completeness3/5

    The set lacks update and delete operations for custom rules, which are notable gaps. While scanning and compliance are covered, rule lifecycle management is incomplete.

  • Average 2.9/5 across 5 of 5 tools scored.

    See the Tool Scores section below for per-tool breakdowns.

    • No community issues in the last 6 months
    • 18 commits in the last 12 weeks
    • No stable releases found
    • No critical vulnerability alerts
    • No high-severity vulnerability alerts
    • No code scanning findings
    • CI is passing
  • This repository is licensed under MIT License.

  • This repository includes a README.md file.

  • No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.

    Tip: use the "Try in Browser" feature on the server page to seed initial usage.

  • This repository includes a glama.json configuration file.

  • This server has been verified by its author.

  • Add related servers to improve discoverability.

How to sync the server with GitHub?

Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.

To manually sync the server, click the "Sync Server" button in the MCP server admin interface.

How is the quality score calculated?

The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).

Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.

Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).

Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.

Tool Scores

  • Behavior2/5

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

    No annotations provided, so description must carry the burden. It does not disclose side effects, required permissions, or what 'emit signed attestation' entails (e.g., audit trail, storage).

    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?

    Two sentences, no fluff, but under-specified. The description is concise but lacks detail on parameters and usage.

    Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

    Completeness2/5

    Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

    With 8 parameters (6 required), no annotations, and an output schema not described, the description fails to cover essential context. It does not explain return value or parameter significance.

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

    Parameters1/5

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

    Schema description coverage is 0%. Description does not explain any of the 8 parameters (e.g., tenant_id, window_start_utc). Agents have no information about what these fields represent.

    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?

    Description states specific purpose: emitting a signed attestation of firewall enforcement, and lists compliance standards it supports. It clearly differentiates from sibling tools which handle rules and scanning.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    No guidance on when to use this tool versus alternatives. The description implies use for compliance but does not specify prerequisites or exclusion conditions.

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

  • Behavior2/5

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

    With no annotations, the description carries full burden. It reveals 'Pro+ only' and pattern/action options, but fails to disclose key behaviors such as required permissions, idempotency, side effects, or the fact that it creates a rule (write operation). Incomplete.

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

    Conciseness2/5

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

    The description is very concise (two bullet points), but it sacrifices completeness by ignoring three out of five parameters. While brevity is positive, under-specification reduces usefulness for an agent. Structure is minimal.

    Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

    Completeness1/5

    Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

    Given 5 parameters, 0% schema coverage, and an output schema, the description is severely incomplete. It does not explain required parameters, output format, or error conditions. Significant gaps remain, making it inadequate.

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

    Parameters2/5

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

    The input schema has 0% description coverage. The description adds meaning for 'pattern' (regex, case-insensitive) and 'action' (block|escalate|log), but omits three required parameters (tenant_id, rule_name, api_key). Agent lacks understanding of essential inputs.

    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 'Define a tenant-specific detection rule', including a specific verb (define) and resource (tenant-specific detection rule). It is distinguishable from siblings like list_rules (listing) and scan_log (scanning), making the purpose unambiguous.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    No guidance is provided on when to use this tool versus alternatives. The description mentions 'Pro+ only' as a constraint but does not explain appropriate contexts or exclusions. No explicit reference to sibling tools or when-not-to-use.

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

  • Behavior2/5

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

    With no annotations provided, the description must fully disclose behavioral traits. It fails to mention that the tool is read-only (likely), authentication requirements (e.g., api_key), or error behavior for missing/invalid tenant_id. The minimal description does not meet the burden.

    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?

    A single, well-structured sentence that conveys the core functionality without superfluous words. Every word serves a purpose, and the condition is clearly expressed.

    Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

    Completeness3/5

    Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

    Given the tool's simplicity and presence of an output schema, the description covers the basic functionality. However, it omits important context like error handling, expected input formats, and the role of api_key, leaving gaps for a simple tool.

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

    Parameters2/5

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

    Schema description coverage is 0%, so the description must compensate. It adds meaning to tenant_id (controls rule scope) but completely ignores api_key, leaving its purpose unexplained. This partial coverage is insufficient.

    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 clearly states the action (list), the resource (rules), and distinguishes built-in vs custom based on tenant_id. While it differentiates from siblings like define_custom_rule, the phrasing 'if tenant_id provided' is slightly ambiguous about what is listed when the parameter is absent, preventing a perfect score.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    No explicit guidance on when to use this tool versus alternatives like define_custom_rule or scan_log. The description hints at a conditional scope but does not provide when-not criteria or compare with siblings, leaving an agent to infer usage.

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

  • Behavior3/5

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

    Discloses tier-based bounds on results (unbounded for Pro, last 100 for Free), which is a key behavioral trait. However, lacks details on result ordering, time range, side effects, or authentication needs.

    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?

    Extremely concise—two sentences front-loaded with purpose. Could add more detail without losing conciseness, but current form is efficient.

    Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

    Completeness2/5

    Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

    Given the tool has 4 parameters and an output schema, the description is too sparse. It omits how to use risk_filter, the meaning of limit, and what the output contains. Incomplete for effective use.

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

    Parameters2/5

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

    With 0% schema description coverage, the description should explain parameters. It does not mention tenant_id, risk_filter, limit, or api_key, leaving their roles entirely implicit.

    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 clearly states it returns recent scan logs and distinguishes between tier limits. However, it lacks an explicit verb like 'retrieve' or 'list', but the purpose is clear.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

    Does the description explain when to use this tool, when not to, or what alternatives exist?

    No guidance on when to use this tool versus alternatives. The tier limitation is noted but does not help in decision-making among siblings like list_rules or scan_prompt.

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

  • Behavior4/5

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

    With no annotations, the description carries full burden. It discloses the return structure (decision trace with fields) and the context parameter's purpose. It lacks details on side effects, authentication, or rate limits, but the scanning operation is implicitly non-destructive and the output info is thorough.

    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?

    The description is short and front-loaded with the main action. The bullet-style list of return fields and context options is clear and efficient. However, the parameter documentation gap prevents a perfect score.

    Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

    Completeness3/5

    Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

    Given 4 parameters (2 required), an output schema, and 4 sibling tools, the description covers the tool's purpose, output, and one parameter. But it omits explanations for 'tenant_id' and 'api_key', leaving critical gaps for a complete understanding of how to invoke the tool.

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

    Parameters2/5

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

    Schema description coverage is 0%, requiring the description to compensate. The description only explains the 'context' parameter with its allowed values. It does not cover 'tenant_id', 'text', or 'api_key', which are not self-explanatory. Thus, the description adds limited value for parameter understanding.

    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 scans text for prompt injection, using a specific verb and resource. It lists the return fields (safe, risk_level, patterns_matched, recommended_action) and the context parameter options, making it easy to distinguish from siblings like scan_log or define_custom_rule.

    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?

    The description explains that the tool scans text and provides context options (user-prompt, rag-document, etc.), which implies usage scenarios. However, it does not explicitly state when not to use it or suggest alternatives among siblings, leaving the agent to infer without clear guidance.

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

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues.
  • Evaluate tool definition quality.

Our badge communicates server capabilities, safety, and installation instructions.

Card Badge

agent-prompt-injection-firewall-mcp MCP server

Copy to your README.md:

Score Badge

agent-prompt-injection-firewall-mcp MCP server

Copy to your README.md:

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/CSOAI-ORG/agent-prompt-injection-firewall-mcp'

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