Skip to main content
Glama
Neboy72
by Neboy72

guardrail_check

Check if a command is safe to execute by querying Nexus Memory protection rules before running destructive operations, returning allow, block, or override.

Instructions

Active Guardrails: Check if an action is safe before executing it. Queries Nexus Memory for protection rules (category='rule' with protection keywords like 'niemals', 'never delete', 'protected'). Returns allow/block/override verdict. Use before destructive operations (rm, drop, kill, overwrite, recreate).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe command string to check (e.g. 'rm -rf ~/nexus-memory-test/')
tool_nameNoThe tool being called (e.g. 'terminal', 'write_file')
tool_inputNoFull tool input dict for path-based checks
Install Server

TDQS

A4/5.0
Behavior4/5

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

Wih no annotations, the description carries the full burden and does a good job: it discloses that the tool queries Nexus Memory for protection rules, the category and keyword criteria used, and the form of the result. It clearly frames the tool as a check, implying no mutation, though it does not explicitly state side-effect-freeness.

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 descripion is compact and well-structured: purpose first, mechanism second, usage third. Every sentence contributes meaningful information, and the examples are concrete without being verbose.

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?

With no output schema, the descripion gives a sufficient summary of the return verdict (allow/block/override) and the circumstances for invocation. It could be slightly more complete about how 'override' is interpreted and exactly how tool_input is used in path-based checks, but overall it is adequate for an agent to select and call the tool correctly.

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?

The input schema already documents all three parameters with 100% coverage, so the descripion does not need to add parameter-level detail. The description provides useful context about why command/tool_input matter (safety checks on destructive ops) but does not add semantics beyond the schema.

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 descripion states a specific verb and resource: check if an action is safe by querying Nexus Memory, and identifies the return verdict (allow/block/override). This is clear and useful, though it does not explicitly distinguish itself from the sibling guardrail_override beyond implying this tool is a pre-execution check.

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?

It explicitly directs usage before destructive operations with concrete examples (rm, drop, kill, overwrite, recreate). This provides clear context for when to call it, but it does not discus when not to use it or name alternatives like guardrail_override.

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

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/Neboy72/nexus-memory'

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