Skip to main content
Glama

EMQX Metrics History

emqx_metrics_history
Read-onlyIdempotent

Retrieve time-series metrics over a recent window to detect spikes, connection drops, and correlate incidents with broker load.

Instructions

Time-series metrics over a recent window.

Use this to answer "was there a spike", "when did connections drop", or to correlate an incident with broker load.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latest_secondsNoLength of the window to return, in seconds.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive behavior. The description adds the contextual detail that data is over a 'recent window' but does not disclose other behavioral traits such as output format or data granularity. With annotations covering safety, this is adequate but not rich.

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 extremely concise, consisting of two short sentences that define the tool and provide usage context. Every word earns its place, and the most important information is front-loaded.

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?

For a simple tool with one well-documented parameter, output schema, and rich annotations, the description provides sufficient context. It could have explicitly differentiated itself from emqx_metrics_current, but the recent-window framing and use cases make the tool's role clear.

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% with a clear description of the latest_seconds parameter. The description itself does not add further meaning to the parameter, so the baseline score of 3 is appropriate.

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 clearly states the tool provides 'Time-series metrics over a recent window' and gives concrete use cases (spike detection, connection drops, incident correlation). While it lacks an imperative verb like 'Get', the resource and scope are specific and it distinguishes from sibling tools like emqx_metrics_current by focusing on historical data.

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

Usage Guidelines4/5

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

The description explicitly states when to use this tool: to answer questions about spikes, drops, or correlate incidents with broker load. It does not directly name alternatives or state when not to use it, but the use cases are clear and the sibling list provides context.

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

Install Server

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/WOOWTECH/Woow_emqx_mcp_server'

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