Skip to main content
Glama

defense_record_block

Log a defense action blocking a threat, track its performance, and flag false positives to adjust rules automatically.

Instructions

Record that a defense blocked a threat.

Used to track defense performance. Mark false positives to auto-tune rules. Requires Pro tier or Novyx Cloud.

Args: defense_id: The defense rule that blocked the threat. is_false_positive: Whether this block was a false positive (default False).

Returns: JSON string confirming the record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
defense_idYes
is_false_positiveNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations provide destructiveHint:false, which aligns with the logging nature of the tool. The description adds value by stating that marking false positives triggers auto-tuning, and it discloses a licensing requirement. No contradictions.

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 front-loaded with the primary purpose, followed by usage context and structured parameter details. It is efficient but the Args section partially repeats schema information; still, it is clear and well-organized.

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?

Given the tool has 2 simple parameters and an output schema, the description covers purpose, usage, prerequisites, and parameter meanings. It mentions the return type but could elaborate on error conditions or ID format, though not necessary for clarity.

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

Parameters5/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, and it does. For both parameters, it provides full descriptions: defense_id is 'the defense rule that blocked the threat' and is_false_positive explains its boolean nature and default.

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 starts with 'Record that a defense blocked a threat,' which is a specific verb+resource combination. This clearly distinguishes it from sibling tools like defense_stats or defense_list, which are query or management tools.

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 explains it is used to track defense performance and auto-tune rules via false positives. It also states the prerequisite of Pro tier or Novyx Cloud. However, it does not explicitly mention when not to use it or compare to alternatives, though no direct alternative exists.

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/novyxlabs/novyx-mcp'

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