Skip to main content
Glama

List alerts

listAlerts
Read-onlyIdempotent

Retrieve a paginated list of alerts with optional filters for status, device, and cursor-based pagination. Get only the alerts you need by specifying status or device_id.

Instructions

List alerts. Returns a list of your alerts. Level API endpoint: GET /v2/alerts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoA limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
statusNoFilter to only include alerts with the given status.
device_idNoFilter to only include alerts for the specified device_id.
ending_beforeNoA cursor for use in pagination. ending_before is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with ID '1234', your subsequent call can include 'ending_before=1234' in order to fetch the previous page of the list.
starting_afterNoA cursor for use in pagination. starting_after is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with ID '1234', your subsequent call can include 'starting_after=1234' in order to fetch the next page of the list.
Behavior2/5

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

The description adds no behavioral details beyond the annotations. It mentions the endpoint and a return list, but does not disclose pagination behavior, filtering limitations, or other runtime traits. The annotations already cover read-only and idempotent safety.

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?

The description is two concise sentences and front-loads the core purpose. The endpoint reference is minimal and not redundant.

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 list tool with rich schema descriptions and safety annotations, the description is minimally adequate. It lacks explicit mention of pagination or return format, but the schema covers parameters. Given no output schema, the description could be slightly more informative, but it is not incomplete for the tool's complexity.

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 documents all five parameters with descriptions and examples, so the description does not need to add parameter details. It adds no additional semantic meaning beyond the schema.

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?

The description uses the specific verb 'List' with the resource 'alerts' and states 'Returns a list of your alerts,' clearly identifying the tool's function. It is distinct from siblings like showAlert (single alert) and resolveAlert (mutation).

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as showAlert or resolveAlert. The description only states what it does, not when to choose it or when to avoid it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pbozzay/level-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server