Skip to main content
Glama

Get switch global L2 features

get_switch_global_features
Read-onlyIdempotent

Read switch-level STP/RSTP/MSTP modes and timers, loopback detection, jumbo frame MTU, and multicast settings to inspect global features on a TP-Link Omada switch.

Instructions

Read switch-level STP/RSTP/MSTP mode and timers, loopback detection, jumbo frame MTU, multicast…

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mac": "<mac>"
    },
    "name": "get_switch_global_features"
  }
}

Input Schema

NameRequiredDescriptionDefault
macYes
siteNo

Output Schema

NameRequiredDescriptionDefault
macYes
stpYes
nameYes
jumboYes
warningsYes
portMirrorsYes
capabilitiesYes
loopbackDetectEnableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.2

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so safety profile needs no restating. Beyond that the description adds almost nothing behavioral: it does not say whether the read is per-device or per-site, what happens when the mac is unknown, or how stale the returned configuration may be. The truncated ending also leaves the feature coverage ambiguous.

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?

The single sentence is compact and front-loads the verb and resource, with no filler. The one structural defect is that it terminates in an ellipsis mid-enumeration, leaving the definition visibly unfinished rather than merely brief.

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?

An output schema exists, so return values need not be described, and the parameter list is small. Still, the description is truncated and leaves both parameters undefined, which for a device-lookup tool means an agent cannot tell what to pass or how the two parameters interact.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters (mac, site) are undocumented, and the description never mentions either one. "Switch-level" faintly implies the mac identifies the target switch and site scopes the lookup, but that is inference, not explanation. With zero coverage the description needed to carry this load and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb ("Read") and lists concrete switch-level L2 features: STP/RSTP/MSTP mode and timers, loopback detection, jumbo frame MTU, multicast. That is far more specific than a restated title. However, the sentence is cut off mid-list with an ellipsis, so the full scope is unknown, and it never distinguishes this from sibling tools such as get_switch_ports, which an agent could plausibly pick instead.

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 guidance on when to call this versus alternatives, no prerequisites, and no exclusions. The only implicit signal is "switch-level," which hints this is device-scoped rather than port-scoped, but nothing tells the agent to prefer get_switch_ports for per-port data. Usage must be inferred entirely from the feature list.

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