Skip to main content
Glama

getAttackDefenseSetting

Read-only

Retrieves DDoS and attack defense configuration for a site, including flood protection settings and thresholds.

Instructions

Get the DDoS and attack defense configuration, including flood protection settings and thresholds.

Input Schema

NameRequiredDescriptionDefault
siteIdNoSite ID to target. If omitted, uses the default site from OMADA_SITE_ID config. Use listSites to discover available site IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.0-rc.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is fully covered structurally. The description contributes a small amount beyond that by scoping what the read returns (flood protection settings and thresholds), but says nothing about whether defaults are materialized, whether the response is site-scoped, or how large it may be.

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?

One sentence, front-loaded with the verb and resource, with no filler or redundancy. It is appropriately sized for a single-parameter read tool, though it is brief enough that a little more routing or scope detail could have been added without bloat.

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?

For a low-complexity, zero-required-parameter read with full schema coverage and safety annotations, the description covers the essentials. It stops short of describing the shape of the returned configuration beyond two example categories, and there is no output schema to fill that gap.

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?

Schema coverage is 100% and the single siteId parameter is already documented in the schema, including its regex pattern, the OMADA_SITE_ID fallback, and the pointer to listSites. The description adds nothing further about the parameter, so the baseline 3 applies.

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 description uses a specific verb and resource ('Get the DDoS and attack defense configuration') and enumerates the payload ('flood protection settings and thresholds'), which clearly separates it from the many adjacent *Setting/get* siblings such as getFirewallSetting or getDot1xConfig. It does not explicitly name when to prefer it over those neighbors, but the resource naming is precise enough for an agent to pick it out.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives or prerequisites. An agent must infer the context (auditing DDoS posture for a site) purely from the noun phrase, with no exclusions against firewall/ACL tools that sound similar.

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

Deploy Server

Other Tools