Skip to main content
Glama
sandraschi

Windows Operations MCP

by sandraschi

winops_net_firewall_add

Create a Windows Firewall rule to allow or block inbound/outbound traffic by port or program, securing network access.

Instructions

Add a Windows Firewall rule.

Return Format

{"success": bool, "rule_name": str}

Examples

firewall_add(rule_name="Allow SSH", direction="in", action="allow", port="22")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNoTCP port number (optional).
actionNoRule action.allow
programNoPath to executable (optional).
directionNoTraffic direction.in
rule_nameYesUnique name for the firewall rule.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already communicate that this is a non-read-only, non-idempotent operation, and the description adds a return format plus a usage example. However, it omits important behavioral context like admin privilege requirements, duplicate-rule_name behavior, and side effects of action='block'.

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 description is compact and front-loaded with a one-sentence purpose, followed by a useful return-format block and a concrete example. There is no filler, though the example uses 'firewall_add' instead of the exact tool name, which is a minor inconsistency.

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?

The schema and return format cover most invocation details, but the description lacks usage guidance and operational caveats such as admin requirements, duplicate-rule name handling, and the potentially disruptive effect of a block action. For a mutating firewall tool, these are material gaps.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the example meaningfully shows how rule_name, direction, action, and port combine in a realistic call. It does not illustrate the program parameter, but this is covered by the schema.

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 'Add a Windows Firewall rule' with a specific verb and resource, and the example reinforces a concrete firewall-add scenario. It is distinct from sibling tools like winops_net_firewall_list and winops_net_firewall_delete.

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 given about when to use this tool versus alternatives such as winops_net_firewall_delete or other network tools. There is no mention of prerequisites, exclusions, or preferred use cases.

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/sandraschi/windows-operations-mcp'

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