Skip to main content
Glama

sa__ListAlertRules

Lists alert rules for a project and workspace, filtering by status, severity, pipeline, rule name or ID to review configured alerts.

Instructions

[SA] List alert rules

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": {
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__ListAlertRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYeslimit
offsetYesoffset
statusNostatus. ENABLED, DISABLED
pipe_idNopipe_id
rule_idNorule_id
severityNoseverity. TIPS, LOW, MEDIUM, HIGH, FATAL
sort_dirNosort_dir. asc, desc
sort_keyNosort_key
rule_nameNorule_name
project_idYesproject_id
workspace_idYesworkspace_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden and provides essentially nothing beyond the read-only implication of "List". It does not disclose pagination obligations despite limit and offset being required, does not state whether results are filtered by project/workspace scope, and says nothing about the shape or ordering of the response.

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

Conciseness3/5

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

It is a single label with zero wasted words and is trivially front-loaded, but this is conciseness achieved through under-specification rather than disciplined writing. There is no structure to speak of beyond the bracketed service tag.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eleven-parameter, four-required list tool with mandatory pagination, no annotations, and no output schema, the description is completely inadequate. An agent cannot know the paging rules, filtering behavior, or return format from this text.

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 all eleven parameters are documented in the schema itself, including the ENABLED/DISABLED and severity enums. The description adds no param semantics at all, but the schema baseline of 3 applies when coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[SA] List alert rules" restates the tool name (sa__ListAlertRules) almost verbatim, with only a service-tag prefix added. It conveys the verb+resource but provides no scope information — no indication of which alert rules (workspace-level, project-level) or how it differs from siblings like sa__ShowAlertRule or sa__ListAlertRuleTemplates.

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?

There is no when-to-use guidance, no statement of prerequisites, and no mention of alternatives such as sa__ShowAlertRule for a single rule or sa__ListAlertRuleTemplates for templates. The agent must infer from the name alone that this is the bulk-listing entry point.

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

Deploy Server

Other Tools