Skip to main content
Glama

get_alerts

Read-onlyIdempotent

Fetch recent guard alerts from AgentGuard47 to monitor loop detection, budget exceedances, and errors. Get stored alert details for incident review.

Instructions

Read-only recent guard alerts (loop detection, budget exceeded) and errors from the hosted Read API. This reports stored alerts; it does not stop a running agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax alerts to return (default 50)
sinceNoISO timestamp — only alerts after this time

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark it read-only, idempotent, and non-destructive. The description adds the valuable clarification that it only reports stored alerts and never stops a running agent, which is not fully captured by the annotation hints. No contradiction with annotations.

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?

Two concise sentences with no redundancy: the first states purpose and scope, the second clarifies a key side-effect. Every sentence 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?

For a simple read-only tool with two optional, fully documented parameters and safety annotations already covering behavior, the description is largely complete. It could hint at ordering or default behavior, but nothing essential is missing for correct invocation.

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?

The input schema fully describes both limit and since with their defaults and meanings, so schema coverage is 100%. The description itself adds no parameter-level detail, so the baseline 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 it retrieves recent guard alerts and errors from the hosted Read API in a read-only manner. It distinguishes the resource (alerts) from siblings like traces, usage, costs, and budget, though it does not explicitly name an alternative tool.

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?

The description notes it reports stored alerts and does not stop a running agent, giving one useful exclusion. However, it does not explicitly explain when to choose this over related tools such as check_budget or get_trace_decisions, leaving usage implications to inference.

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