Skip to main content
Glama

List alerts and failed checks

list_alerts
Read-onlyIdempotent

What needs attention: open monitoring alerts (tracking gone dark, ETA long past, container dwelling at the terminal, draft never validated) and shipment checks that failed or raised a warning (for example a document that disagrees with the booking). Use it for "anything wrong with my shipments" or, with shipment_id, "is shipment shp_123 healthy". An alert a member snoozed or dismissed is still listed, with dismissed_at or snoozed_until set; use hidden to leave those out or to see only them. Returns two lists, alerts and checks, each newest first and limited to limit entries. Each entry has a shipment_url: link the shipment's container or air waybill number to it, never a made-up URL.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 1 to 100.
hiddenNoAlerts a member snoozed or dismissed: "include" (default) lists them with their state, "exclude" leaves them out, as the issues page does, and "only" lists just those.include
shipment_idNoOnly this shipment's alerts and checks, such as "shp_123".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / hidden
      Added value: +{
      +  "default": "include",
      +  "description": "Alerts a member snoozed or dismissed: \"include\" (default) lists them with their state, \"exclude\" leaves them out, as the issues page does, and \"only\" lists just those.",
      +  "enum": [
      +    "include",
      +    "exclude",
      +    "only"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, and the description goes further: snoozed/dismissed alerts are still returned with dismissed_at or snoozed_until set, results are ordered newest first and capped by limit, and each entry carries a shipment_url that must be used verbatim. The one notable omission is total counts or pagination behavior past the limit, but the added context is substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the value proposition ('What needs attention') and organized as purpose → use cases → hidden semantics → return shape → URL rule. Dense but every sentence carries information; only the hidden-parameter sentence partly repeats the schema.

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?

With no output schema, the description compensates by describing the two-list return, ordering, limit semantics, per-entry shipment_url, and the dismissed/snoozed state fields. For a three-optional-parameter read tool, an agent has everything needed to select and call it correctly.

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% and the hidden enum is already fully documented in the schema, so the description's restatement of include/exclude/only is largely duplicative. It does add a use-case framing for shipment_id ('is shipment shp_123 healthy') and ties the default hidden behavior to the product's issues page, earning the baseline 3 rather than more.

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?

States a specific verb and resource ('open monitoring alerts' and 'shipment checks that failed or raised a warning') and enumerates concrete alert conditions (tracking gone dark, ETA long past, container dwelling, draft never validated). An agent can tell this listing apart from run_checks, which would presumably execute checks rather than report already-failed ones.

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?

Gives explicit trigger phrases — "anything wrong with my shipments" and, with shipment_id, "is shipment shp_123 healthy" — plus a clear rule for the hidden parameter (default includes snoozed/dismissed, exclude to match the issues page, only to see just those). It stops short of naming any sibling alternative (e.g., re-running checks via run_checks), so exclusions are left implicit.

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.

Resources