Skip to main content
Glama
@guardbee/mcp-security-proxy

@guardbee/mcp-security-proxy

Official

threat_rules__evaluate_event

Evaluates structured ATR AgentEvent JSON against threat rules to identify security violations and policy breaches in MCP sessions.

Instructions

Evaluate a structured ATR AgentEvent JSON (type, content, fields, sessionId, …).

Input Schema

NameRequiredDescriptionDefault
laneNo
eventYesJSON AgentEvent: { type, content, fields?, sessionId?, agentId?, scanContext? }
formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.1.1

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does not disclose that this is a read/analysis operation, whether any rule can block or mutate anything, or what the response contains. Most critically, it is silent on the 'lane' values enforce/alert/hunt, where 'enforce' clearly implies consequence-bearing behavior that an agent must understand before calling.

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?

It is a single front-loaded sentence with no padding, which is good, but it is so short that it reads as truncated (trailing '…') rather than deliberate. Brevity here comes at the cost of needed detail rather than from efficient editing.

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?

For a 3-parameter tool with no annotations, no output schema, and two undocumented enum parameters, the description is far too thin. An agent cannot tell the return format, the effect of lane selection, or when to prefer this over the sibling evaluate_* tools.

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 coverage is only 33%: 'lane' and 'format' have no descriptions, and the description adds nothing about either despite both being enums with meaningful choices. The parenthetical (type, content, fields, sessionId, …) merely restates what the 'event' parameter's schema description already says, so no new semantic value is added.

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 names a specific verb ('Evaluate') and a specific resource ('structured ATR AgentEvent JSON'), and even sketches the payload shape. It is clear what the tool acts on, but it never says what 'evaluate' means in practice (which rule set runs, what the verdict looks like) and gives no hint of how it differs from the sibling threat_rules__evaluate_text / evaluate_file.

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?

There is no indication of when to pick this over threat_rules__evaluate_text, threat_rules__evaluate_file, or threat_rules__list_rules. The only implicit cue is that the input is an AgentEvent object, which the caller must infer rather than being told explicitly.

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

Deploy Server

Other Tools