Skip to main content
Glama

v2_switch_stats

Read-onlyIdempotent

Retrieve per-switch port operation, link speeds, PoE status, and traffic totals for a given switch MAC, matching the Omada Statistics page view.

Instructions

Per-switch statistics view: per-port operation, speeds, PoE and traffic totals as the Statistics page shows them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteIdNo
switchMacYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful content context by listing the statistic categories returned (per-port operation, speeds, PoE, traffic totals), but it does not cover auth, rate limits, pagination, or return format.

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 a single front-loaded sentence with no wasted wording. It names the view and enumerates the included statistic categories efficiently.

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 simple read-only statistics tool with annotations covering safety, the description adequately names the returned content. However, it leaves parameter meaning, differentiation from sibling stats tools, and return shape unaddressed, which is a meaningful gap given the absence of an output schema.

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 the description must compensate, but it does not mention switchMac or siteId directly. 'Per-switch' weakly implies switchMac identifies the target, while siteId is entirely unexplained in both the schema and the description.

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 states a specific resource and scope: 'Per-switch statistics view' with per-port operation, speeds, PoE, and traffic totals. It is clear what the tool returns, but it does not explicitly distinguish itself from sibling stats tools such as v2_port_stats or v2_switch_ports.

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 explicit guidance on when to use this tool versus alternatives, nor any when-not-to-use conditions. The phrase 'as the Statistics page shows them' provides only loose implied context, not actionable usage guidance.

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