Skip to main content
Glama

bridge-watch on-chain intelligence

alert_stats

Read-only

Alert statistics overview: totals, breakdown by kind / severity / address, and the latest alert time.

Input Schema

NameRequiredDescriptionDefault
hoursNoStatistics for the last N hours; omit for all time

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / hours / description
      Previous value: -"统计最近 N 小时的告警,不填则全部"New value: +"Statistics for the last N hours; omit for all time"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful context about what the response contains (breakdown dimensions and latest alert time), but says nothing about result size, pagination, or performance characteristics.

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?

A single front-loaded sentence that lists the concrete aggregate outputs with zero filler; every clause earns its place.

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?

With no output schema, the description carries the burden of describing return values and does so by enumerating the aggregate breakdowns. It is largely complete for a simple read-only stats tool, with only minor gaps around result shape or time-window behavior.

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 description coverage is 100% for the single 'hours' parameter, so the schema already documents the time window and its all-time default. The description does not restate or extend parameter meaning, which is the expected baseline when the schema does the heavy lifting.

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 names the resource (alert statistics) and enumerates the specific aggregates returned: totals, breakdown by kind/severity/address, latest alert time. This clearly distinguishes it from the sibling query_alerts, which presumably returns individual alerts rather than an aggregate overview, though the sibling is not named explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'overview' versus the list-oriented sibling query_alerts, but there is no explicit statement of when to choose this tool over alternatives or any prerequisite/time-window guidance beyond what the schema carries.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.