Skip to main content
Glama

Get one alert

get_alert
Read-onlyIdempotent

One alert with its scan metrics and, in site_limits, what this alert may watch on ITS provider — read that before offering to widen a selection.

NOTE: scan_count and last_checked_at are a MINIMUM across the alert's polling targets, which are scanned independently and phase-staggered — so a fresh multi-zone alert can legitimately show scan_count 0 with a timestamp that predates its own creation. That is the laggard target, not a fault.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "alert_id": "<alert_id>"
    },
    "name": "get_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
alert_idYesAlert id.

Output Schema

NameRequiredDescriptionDefault
idYes
park_idNo
date_endNo
is_activeNo
park_nameNo
date_startNo
nights_maxNo
nights_minNo
scan_countNo
site_limitsNo
activity_typeNo
equipment_nameNo
last_checked_atNo
auto_boost_activeNo
equipment_filter_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / auto_boost_active
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  2. Changed16 schema fields changed
    • changedOutput schema / properties / activity_type / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / date_end / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / date_start / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / equipment_filter_mode
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / equipment_name
      Added value: +{}
    • changedOutput schema / properties / is_active / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / last_checked_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / nights_max / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / nights_min / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / park_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / park_name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / scan_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / site_limits / properties / max_sites_per_alert / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / site_limits / properties / max_total_sites / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / site_limits / properties / provider / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / site_limits / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered structurally. The description then adds genuinely non-obvious behavioral context: scan_count and last_checked_at are a MINIMUM across independently scanned, phase-staggered polling targets, so a fresh multi-zone alert can legitimately show 0 with an older timestamp. That prevents a real misdiagnosis, though nothing is said about behavior for invalid or deleted alert ids.

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?

The definition is short and front-loads what the tool returns before the NOTE, so the important framing comes first. The NOTE itself is dense and runs long with heavy capitalization and em-dashes, which is slightly harder to scan than necessary but is not wasted text.

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 one-parameter read tool with a full output schema and complete annotations, the description covers what an agent most needs, including the counterintuitive metric semantics. The remaining gap is guidance on failed lookups or alert_id provenance, which is minor at this complexity level.

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 single required 'alert_id' documented in the schema, so the schema carries the parameter burden. The description adds no format, sourcing, or lookup detail beyond what the schema states; baseline 3 applies.

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 identifies a specific resource ('One alert') and names the payload it returns (scan metrics plus site_limits), which is enough for an agent to recognize it as a single-alert fetch distinct from the list/create/update/delete siblings. It stops short of an explicit 'retrieve the alert identified by alert_id' phrasing and never contrasts itself with list_my_alerts.

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?

There is one concrete usage directive: read site_limits before offering to widen a selection, which tells the agent to consult the response before acting. However, there is no explicit statement of when to call this versus list_my_alerts, nor any prerequisite or exclusion, so usage is only partially implied.

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