Skip to main content
Glama

query_isp_metrics

Filter ISP metrics by site, host, or time window to diagnose network performance issues.

Instructions

Query filtered ISP metrics with optional site/time range filters.

This is the filtered variant of get_isp_metrics: pass host/site to scope the query and start_time/end_time to bound the window. For a quick unscoped read, use get_isp_metrics.

interval: time bucket for metrics aggregation — '5m' or '1h'. host: console name, ID, or composite ID (MAC:numericId format) — resolves to hostId. site: site name or ID — resolves to siteId automatically. sites: advanced use — list of raw {hostId, siteId} dicts; use host/site params instead for human-readable names. start_time/end_time: ISO 8601 UTC timestamp STRINGS, e.g. "2026-07-23T00:00:00Z". These are strings, NOT epoch numbers — passing an epoch integer (seconds or milliseconds) is rejected by schema validation with 'Input should be a valid string [type=string_type]'. (Note the deliberate inconsistency with the epoch-based history tools: list_protect_events, list_client_sessions and get_historical_stats take epoch SECONDS as integers, whereas this Site Manager tool takes ISO 8601 strings.) An epoch supplied AS a string (e.g. "1690000000000") is also rejected, with the expected format, rather than being forwarded to the API as a meaningless window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo
siteNo
sitesNo
end_timeNo
intervalYes
start_timeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A5/5.0
Behavior5/5

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

With no annotations, the description carries full responsibility, and it excels: it reveals that host/site are resolved to IDs, that start_time/end_time must be ISO 8601 strings, that epoch integers are rejected with a specific validation error, and even highlights a deliberate inconsistency with related history tools. This goes far beyond generic filtering semantics.

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 long but highly structured: an opening summary, then a per-parameter breakdown, and a detailed time-format note. Every sentence earns its place by conveying critical, non-obvious information. The front-loaded summary gives immediate purpose clarity before diving into details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 params, one required, unusual time formats) and the presence of an output schema, the description covers all invocation concerns. The only omitted aspect is return shapes, which the output schema already provides. An agent can call this tool correctly with high confidence.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates. It explains interval values, the meaning of host and site, the advanced 'sites' parameter, and the exact accepted format for start_time/end_time, including edge cases and failure modes. Every parameter is meaningfully documented.

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 opens with 'Query filtered ISP metrics with optional site/time range filters', which names a specific verb, resource, and scope. It explicitly positions itself as the filtered variant of `get_isp_metrics`, distinguishing it from the sibling tool without ambiguity.

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

Usage Guidelines5/5

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

It explicitly states when to use this tool versus the alternative: 'For a quick unscoped read, use get_isp_metrics'. It also clarifies the intended use of host/site versus the advanced 'sites' parameter, giving an agent clear situational guidance.

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

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/swkstudios/unifi-fabric-mcp-server'

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