ai-runtime-guard
The ai-runtime-guard server is a policy-enforcing intermediary for AI agents, providing controlled file operations and command execution with safety checks, logging, backups, and approval gates.
Execute commands (
execute_command): Run shell commands subject to full policy evaluation (workspace containment, command-tier rules, Script Sentinel checks) and human approval gates; destructive patterns are blocked or require explicit approval.Read files (
read_file): Read text files from within allowed workspace paths.Write files (
write_file): Create or overwrite files with policy enforcement, automatic logging, and backup creation.Edit files (
edit_file): Apply targeted text replacements with pre-edit backup support.Delete files (
delete_file): Delete after policy checks, with optional pre-delete backup for safety.List directories (
list_directory): List directory contents with metadata, respecting path and depth policies.Restore backups (
restore_backup): Restore files from AIRG backup manifests, supporting dry-run planning and token-gated apply.Inspect server info (
server_info): Retrieve runtime identity details, build ID, workspace root, and base directory.
The server enforces workspace/path boundaries, supports per-agent policy overlays (AIRG_AGENT_ID), and includes security hardening via Script Sentinel and universal agent posture enforcement. All allowed, blocked, and pending actions are logged for auditing, and an optional web GUI enables policy editing, approvals, and agent management.
ai-runtime-guard
Your agent can say anything. It can only do what policy allows.
AI agents with filesystem and shell access can delete files, leak credentials, or execute destructive commands, often without the user realizing until it is too late.
Runtime Guard sits between your AI agent and your system, enforcing policy on every file and shell action before it executes. Install once, configure your rules, and your agent operates within the boundaries you set. Works with Claude Code, Claude Desktop, Cursor, Codex, and any MCP-compatible client. No retraining, no prompt engineering, no external account required.
See it in action
agent -> execute_command("rm -rf /tmp/build")
✗ BLOCKED destructive command pattern: rm -rf
matched_rule: destructive_command | decision: blocked
agent -> execute_command("git push --force")
⏸ APPROVAL REQUIRED awaiting operator
token: a4f2b9 | expires: 10min | check GUI to approve
agent -> write_file("README.md", ...)
✓ ALLOWED backup created before write
backup_location: ~/.local/state/airg/backups/2026-03-18Related MCP server: Stage0 Authorization MCP Server
Quick start
pipx install ai-runtime-guard
pipx ensurepath # if airg* commands are not found
# open a new terminal
airg-setup
airg-doctorAfter setup, open http://127.0.0.1:5001 and add your first agent from Settings -> Agents.
Alternative quick start (venv):
python3 -m venv .venv-airg && source .venv-airg/bin/activatepython -m pip install --upgrade pippython -m pip install ai-runtime-guardairg-setup(guided, recommended: select/create workspace during setup; includes telemetry opt-in prompt, default Yes)airg-doctorOpen GUI
Settings -> Agents, add agents manually, and apply MCP config/hardening from there.
Source-clone path:
git clone --branch main https://github.com/runtimeguard/runtime-guard.gitcd runtime-guardpython3 -m venv .venv-airg && source .venv-airg/bin/activatepython -m pip install --upgrade pippython -m pip install .airg-setupairg-doctor
Unattended automation-only setup (CI/non-interactive):
airg-setup --defaults --yes --workspace /absolute/path/to/workspace
See docs/INSTALL.md for the full install reference.
What it does
Prevention
Blocks destructive commands (
rm -rf, privilege escalation, sensitive file access) before they runAuto-backs up any file before destructive or overwrite operations
Control
Gates risky commands behind explicit human approval via local GUI or API
Enforces workspace and path boundaries keyed to
AIRG_WORKSPACESupports per-agent policy overlays keyed to
AIRG_AGENT_IDConfigurable network policy with allowlists, denylists, and monitor/enforce modes
Visibility
Logs every allowed, blocked, and pending action to
activity.logIndexes events into
reports.dbfor a dashboard view of agent behavior
Hardening
Script Sentinel: detects attempts to launder blocked commands through scripts
Universal agent hardening: GUI-driven posture enforcement including hooks, sandboxing, and native tool restrictions (support varies by client)
Why MCP
Runtime Guard is built as an MCP server because MCP provides the interception point you need. When your agent issues a tool call, Runtime Guard evaluates it against policy before execution. For clients that support pre-tool hooks (like Claude Code), AIRG can also deny the agent's native file and shell tools, forcing risky operations through the policy layer.
This approach is the closest to kernel-level enforcement without requiring system privileges or modifying your agent, and it works across any MCP-compatible client without per-agent engineering.
Who it is for
Developers and operators running AI agents who want deterministic guardrails on what an agent can actually do to their system, without giving up agent autonomy or rewriting their workflow.
Supported platforms and clients
Platform | Clients |
macOS | Claude Code, Claude Desktop, Cursor, Codex |
Linux | Claude Code, Claude Desktop, Cursor, Codex |
Enforcement depth varies by client. MCP policy enforcement is universal; hook-based native tool restriction and sandboxing depend on what each client exposes.
For Codex, AIRG supports both user-scope (~/.codex/) and project-scope (<workspace>/.codex/) artifacts. Project-scope enforcement requires the workspace to be trusted in the user-layer ~/.codex/config.toml before Codex will load the project .codex/ files. AIRG writes Codex tool approval stanzas only in the project-scoped .codex/config.toml.
Scope and boundaries
What AIRG is designed for: reducing accidental damage from agent mistakes, hallucinated commands, and policy-evasion patterns.
What AIRG is not: a full malicious-actor containment platform.
Known enforcement boundary:
AIRG enforces policy only on actions routed through AIRG MCP tools
Native client tools outside MCP (e.g. Claude Code's built-in Bash, Glob, Read, Write, Edit) bypass AIRG unless the client is configured to restrict them
For strict enforcement, use
Settings -> Agentsin the GUI to apply hook-based native tool restrictions where supported
Configuration essentials
AIRG_WORKSPACE
The default project root for guarded agent operations. execute_command runs from this directory, file tools evaluate path policy relative to this root, and traversal outside the root is blocked. Multiple workspaces are supported. Each agent profile should set workspace explicitly in its MCP config.
AIRG_AGENT_ID
The runtime identity key used for activity and report attribution, per-agent policy override resolution, and posture state in Settings -> Agents.
Web GUI
AIRG includes a local web control plane at http://127.0.0.1:5001 for policy editing, approvals, agent profile management, reports, and telemetry control.
Service commands:
airg-service install --workspace /absolute/path/to/airg-workspace
airg-service start | status | stop | restart | uninstallTelemetry
AIRG supports optional anonymous telemetry to help prioritize improvements. It is opt-in during setup (default: Yes) and can be toggled any time from Policy -> Advanced -> Anonymous telemetry.
No command text, file contents, paths, prompts, usernames, or machine identifiers are collected
One aggregate payload per UTC day
Payload preview available in the GUI before enabling
Full details in docs/telemetry.md
More
Available Tools
8 toolsdelete_fileA
Delete a single file after policy checks and optional pre-delete backup.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description adds context about policy checks and optional backup beyond the name, but lacks details on permissions, irreversibility, or error handling. Without annotations, more behavioral disclosure would be helpful.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with key information. Not verbose, but could incorporate more details without being wordy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Description covers primary purpose and a safety feature (backup), but lacks return value, error cases, and interaction with siblings. Given the complexity of deletion, more completeness would aid agent selection.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 implies 'path' is the file to delete but does not describe 'ctx' or any format constraints. The description adds minimal value over the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states verb 'delete', resource 'a single file', and additional context 'after policy checks and optional pre-delete backup'. This distinguishes it from siblings like read_file or restore_backup.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description implies tool is for deletion with safety features but does not explicitly state when to use versus alternatives like write_file or restore_backup. No exclusions or when-not guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
edit_fileC
Apply targeted text replacements in an existing file with backups.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| old_text | No | ||
| new_text | No | ||
| replace_all | No | ||
| edits | No | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so description must carry full behavioral burden. It mentions backups but omits details on regex, case-sensitivity, error handling, or storage location of backups.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence is concise but lacks structure for a tool with 6 parameters. Would benefit from bullet points or brief parameter descriptions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 6 parameters and output schema, description is insufficient. Does not clarify the use of 'edits' vs simple old/new text, or the 'ctx' parameter.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 0% description coverage and description adds no parameter meaning. Parameters like path, old_text, new_text, replace_all, edits, ctx are not explained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it applies targeted text replacements in an existing file, with backups. This distinguishes it from siblings like write_file (creates/overwrites) and delete_file (deletes) etc.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implies use for targeted replacements but does not explicitly compare to alternatives like write_file or restore_backup. No when-not guidance provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
execute_commandB
Execute a shell command after full AIRG policy and approval checks.
The command is evaluated against network/workspace containment, command-tier policy, Script Sentinel continuity checks, and optional confirmation gates before execution.
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| retry_count | No | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description effectively discloses key behavioral traits: safety checks like AIRG policy, network containment, command-tier policy, Script Sentinel continuity checks, and confirmation gates. However, it does not mention the mutability (destructive potential) or the output format (though output schema exists).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, with the purpose stated first. Every sentence adds value (purpose + safety context), and there is no redundant or filler content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 3 parameters, no parameter descriptions in schema or description, and an output schema that is not mentioned, the description fails to provide a complete picture. It covers safety checks but omits critical param semantics and output expectations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description adds no information about any of the three parameters (command, retry_count, ctx). An agent cannot understand what 'retry_count' or 'ctx' mean or how to use them, which is a severe gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Execute a shell command', which is a specific verb and resource. It distinguishes from sibling tools (file operations and server_info) by being the only command execution tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'after full AIRG policy and approval checks' but provides no explicit guidance on when to use this tool versus alternatives (e.g., when not to use it or what prerequisites are needed). No sibling tools compete directly, but the description could clarify scenarios where command execution is inappropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_directoryB
List directory entries with metadata, honoring path and depth policy.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description mentions 'honoring path and depth policy,' hinting at behavioral constraints, but does not elaborate on what happens with invalid paths, policy violations, or the readonly nature. Since no annotations are provided, the description carries the full burden but only offers partial insight.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of 10 words, front-loaded with the core purpose. No wasted words, though it could benefit from expansion.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description does not clarify return values, error behavior, or the depth policy. For a tool with 2 parameters and no annotations, it lacks sufficient detail for an agent to use correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must explain parameters but fails to do so. The 'path' parameter is implicit, but 'ctx' is entirely unexplained. No additional meaning is added beyond the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List directory entries') and the resource ('directory entries with metadata'). The verb 'list' distinguishes it from sibling tools like read_file or write_file, which operate on file content rather than directory structure.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, nor does it indicate when not to use it. Siblings include other file operations, but the description does not mention contexts where list_directory is appropriate or inappropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_fileC
Read a text file from the workspace after path-policy enforcement.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description fully bears the burden of behavioral disclosure. It mentions reading a text file but omits details on file type, size limits, encoding, behavior on missing files, or error handling, leaving significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely short (one sentence) but suffers from under-specification rather than efficiency. It fails to include essential details that could be added without significant length, such as parameter hints or behavior notes.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has two parameters (one required), no schema descriptions, and no annotations, the description is insufficient for an agent to correctly select and invoke the tool. It lacks parameter semantics and behavioral context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage, and the description does not explain either parameter. 'path' is only loosely implied, and 'ctx' is completely ignored. The description adds no value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (read), resource (text file from workspace), and a condition (after path-policy enforcement). It distinguishes from sibling tools like write_file, delete_file, and list_directory, 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies a prerequisite (path-policy enforcement) but does not explicitly state when to use this tool over alternatives like list_directory or write_file. No when-not-to-use guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
restore_backupA
Restore files from a recorded AIRG backup manifest.
Supports dry-run planning and token-gated apply mode when restore confirmation is required by policy.
| Name | Required | Description | Default |
|---|---|---|---|
| backup_location | Yes | ||
| dry_run | No | ||
| restore_token | No | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses support for dry-run planning and token-gated apply mode, but does not mention other behaviors such as file overwrite policy, permission requirements, or error handling. This is insufficient for a restore operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loading the core purpose and adding key behavioral notes. Every word earns its place with no redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 4 parameters and an output schema. The description covers dry-run and token modes, which are critical, but lacks details on backup_location format, context object usage, and outcome (e.g., overwrite behavior). For a restore tool, more context is needed to avoid user error.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 for 'dry_run' (planning mode) and 'restore_token' (gated apply), but 'backup_location' is only vaguely described as 'recorded AIRG backup manifest' and 'ctx' is not mentioned. Coverage is partial.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Restore files from a recorded AIRG backup manifest,' specifying a precise verb and resource. Sibling tools are file operations unrelated to backup, so this tool is well-distinguished.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions dry-run and token-gated modes, implying when to use them, but does not explicitly state when not to use the tool, prerequisites (e.g., existence of manifest), or alternatives. Since no sibling backup tools exist, the lack of alternatives is acceptable, but the guidance is still minimal.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
server_infoB
Return runtime identity details for this AIRG server instance.
Includes build id, active workspace root, and resolved base directory.
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It indicates the tool returns identity details but does not disclose whether it requires permissions, error behavior (e.g., if server is unavailable), or performance characteristics. Adequate but could be more explicit about safety.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences: one stating the overall purpose and one listing the included items. Every word serves a purpose with no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values are documented elsewhere, but the description does not mention edge cases, error conditions, or the purpose of the undocumented parameter. For a simple informational tool, it is mostly adequate but incomplete regarding the parameter.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has one parameter 'ctx' which is optional and nullable, but the description does not mention it at all. With 0% schema description coverage, the description fails to add any meaning to this parameter, leaving an agent without guidance on what 'ctx' represents.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns runtime identity details for the AIRG server, listing specific items like build id, active workspace root, and resolved base directory. This is a specific verb+resource combination that is distinct from sibling tools like file operations or restore_backup.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. As a diagnostic tool, it could be used for configuration validation, but the description does not mention context, prerequisites, or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
write_fileC
Write full file content with policy checks, logging, and backup support.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| ctx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description must disclose behavioral traits. It mentions policy checks, logging, and backup but fails to explain what these entail (e.g., permissions, automatic backups, overwrite behavior). Critical side effects are omitted.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is concise, but it packs multiple concepts (policy checks, logging, backup) without structuring them clearly. The core action is front-loaded, but secondary features add noise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema (unseen) and no annotations, the description should provide more context about return value, error handling, file size limits, or how backup works. It is insufficient for a write operation with multiple parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 path, content, or ctx at all, leaving the agent uninformed about their semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the core action 'Write full file content' and adds secondary features like policy checks, logging, and backup. It is distinct from siblings like edit_file, which does partial edits, but does not explicitly differentiate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 such as edit_file or delete_file. The description does not mention prerequisites, limitations, or suitable contexts.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v2.3.1- Added
edit_file
7 tool updates
v1.5.0- First observed
delete_file - First observed
execute_command - First observed
list_directory - First observed
read_file - First observed
restore_backup - First observed
server_info - First observed
write_file
TDQS
Each tool targets a distinct operation: file read/write/edit/delete, command execution, directory listing, backup restore, and server info. No two tools have overlapping purposes.
All tool names follow a consistent snake_case verb_noun pattern (e.g., delete_file, execute_command, server_info). No mixing of conventions.
8 tools is well-scoped for a runtime guard. Each tool earns its place by covering essential file, command, backup, and info operations without bloat.
Covers core CRUD-like operations for files, plus command execution and backup. Minor gaps like missing move/copy or directory creation tools, but agents can work around with existing tools.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AgentGuard — 20-tool AI safety MCP: policy preflight, risk scoring, audit logging, rate limits.
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
- gatewayOAuthai.sealgate
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Related MCP Servers
- AlicenseCqualityCmaintenanceA Model Context Protocol (MCP) server that provides AI-powered security analysis and safety instruction tools. This server helps protect AI agents by providing security guidelines, content analysis, and cautionary instructions when interacting with various MCPs and external services.65321ISC
- AlicenseBqualityCmaintenanceAn MCP server that enforces runtime authorization for tool calls using Stage0 policy validation, preventing AI agents from executing unauthorized actions before they happen.6MIT
- FlicenseNot gradedqualityAmaintenanceMCP server that intercepts and controls AI agent actions in your codebase by enforcing policies on file operations and commands, with logging, approval workflows, and rollback capabilities.-
- AlicenseNot gradedqualityDmaintenanceRuntime safety guardrails for AI coding agents. Checks file access, validates shell commands, and scores your repo's AI safety — all via MCP.108MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/runtimeguard/runtime-guard'
If you have feedback or need assistance with the MCP directory API, please join our Discord server