Skip to main content
Glama

bridge-watch on-chain intelligence

query_alerts

Read-only

Query historical alert records; filterable by address, rule kind, severity, and time range.

Input Schema

NameRequiredDescriptionDefault
kindNoFilter by alert kind
hoursNoAlerts from the last N hours
limitNoNumber of records (default 20, max 100)
addressNoFilter by monitored address (0x-prefixed)
severityNoFilter by severity

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"按监控地址过滤(0x 开头)"New value: +"Filter by monitored address (0x-prefixed)"
    • changedInput schema / properties / hours / description
      Previous value: -"查询最近 N 小时的告警"New value: +"Alerts from the last N hours"
    • changedInput schema / properties / kind / description
      Previous value: -"按告警类型过滤"New value: +"Filter by alert kind"
    • changedInput schema / properties / limit / description
      Previous value: -"返回条数(默认 20,最多 100)"New value: +"Number of records (default 20, max 100)"
    • changedInput schema / properties / severity / description
      Previous value: -"按严重程度过滤"New value: +"Filter by severity"
  2. First observed

TDQS

B3.3/5.0
Behavior2/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 essentially nothing beyond that: no note on pagination behavior, result caps, ordering, or retention limits. For a read tool with annotations this is thin but not contradictory.

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 with a clear verb-resource clause and a compact list of filters; nothing is wasted and nothing is buried.

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?

With five optional parameters and no output schema, the description covers the input surface adequately but says nothing about what a record looks like or how results are ordered/limited, which is a real gap for a query tool whose shape the agent must reason about.

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%, so every parameter (kind, hours, limit, address, severity) is already documented in the schema, including enum values and min/max. The description only restates the filter categories, adding no syntax or format detail beyond the schema.

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 verb and resource ('Query historical alert records') and enumerates the filter dimensions (address, rule kind, severity, time range), which maps cleanly onto the schema. It could have differentiated itself more explicitly from the sibling alert_stats (records vs. aggregates), but an agent can still infer the split.

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 'historical alert records' but there is no explicit when-to-use guidance, no mention of when to prefer alert_stats instead, and no stated prerequisites. An agent can guess the intent but is given no routing rule.

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.