Skip to main content
Glama
synology-mcp
by r03eRt

Firewall and auto block

dsm_firewall
Read-only

Read Synology NAS firewall and IP access security settings: active-profile rules, auto-block thresholds and durations, plus blocked and allowed IP lists. Requires a DSM administrator account.

Instructions

Security settings that decide who can connect: whether the firewall is on and the rules of its active profile; auto block (how many failed sign-ins block an IP, for how long) and the blocked and allowed IP lists. Read only. Needs a DSM administrator account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dsm_firewall"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.16.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so 'Read only' largely restates structured data. However, the description adds a real behavioral constraint the annotations do not carry: the call requires a DSM administrator account, which determines whether an agent can invoke it at all. No rate limits or pagination concerns apply to a zero-parameter read.

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?

Three compact sentences, front-loaded with what the settings govern and then the enumerated scope, followed by the access caveat. No filler or hedging.

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?

A zero-parameter, read-only tool with no output schema whose description still enumerates the returned setting groups, which is enough for correct invocation. The only missing piece is any indication of how the firewall/profile/IP-list data is structured in the response, though that is partly covered by the output-side enumeration.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The enumeration of returned fields is a bonus beyond parameter semantics rather than a gap.

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?

Names the resource (firewall/auto block security settings) and enumerates precisely what it covers: firewall on/off state, active profile rules, auto block thresholds and duration, and blocked/allowed IP lists. An agent knows exactly what data this returns without opening anything else.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the precondition 'Needs a DSM administrator account' and that it is read only, which tells the agent when it can be called. It gives no guidance on when to prefer this over adjacent tools such as dsm_network or dsm_services, or on whether it must be called before a mutation elsewhere.

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