Skip to main content
Glama

sa__ListAlerts

Search and list alerts by project and workspace, filtering by condition and time range with sorting and pagination to review security findings.

Instructions

[SA] 搜索告警列表

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

Input Schema

NameRequiredDescriptionDefault
limitNolimit
orderNoorder
offsetNooffset
sort_byNosortby
to_dateNosearch end time
conditionNosearch condition
from_dateNosearch start time
project_idYesID of project
workspace_idYesID of workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and discloses almost nothing. 'Search' implies a non-destructive read, but it does not confirm read-only behavior, mention pagination via limit/offset, or explain how the nested condition filter behaves. Only the minimal safety inference comes from the word 'search' itself.

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?

The phrase is waste-free and immediately readable, but it is also under-specified rather than concise. There is no structure to speak of — a single clause with no lead-in about scope, filtering, or returns.

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?

With nine parameters including a nested search-condition object, no annotations, and no output schema, this definition leaves far too much unspecified. An agent would have to open the schema to learn anything about filtering, ordering, or pagination, which the description never hints at.

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 nine parameters are documented in the schema and the baseline of 3 applies. The description adds nothing about the condition/logics structure, date-range pairing, or sorting, so it does not go beyond the schema even though it does not contradict it.

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

Purpose3/5

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

The description gives a verb ('搜索'/search) and a resource ('告警列表'/alert list), but the '[SA]' prefix is unexplained and nothing separates it from siblings such as sa__ListAlertRules, sa__ListIncidents, or sa__ListIndicators. An agent could guess the general purpose, yet cannot tell what makes this alert list distinct from related listing tools.

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 prerequisites, and no mention of when a different listing tool is preferable. The word 'search' only weakly implies a filtered-listing use case, leaving alternatives entirely to inference.

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