Skip to main content
Glama

sa__ShowAlert

Retrieves detailed information for a specified security alert using its alert ID, project ID, and workspace ID, helping you inspect alert context and investigate issues.

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

Input Schema

NameRequiredDescriptionDefault
alert_idYes告警ID
project_idYesID of project
workspace_idYesID of workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 behavioral burden, and it discloses almost nothing. It does not state that the call is read-only, whether the caller needs permissions on the given project/workspace, or what the response contains. The verb "获取" implies a non-mutating read, but that is inference, not disclosure.

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 definition is a single front-loaded phrase with zero filler, which satisfies brevity. But it is terse to the point of under-specification; the space saved is not traded for any routing or behavioral value.

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

Completeness2/5

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

The tool itself is simple — a single-resource read with three fully documented required parameters and no output schema. Even so, with no annotations and no output schema, the description should say what an agent gets back and that the operation is safe/non-mutating, and it says neither. The definition is materially incomplete for a tool whose structured fields provide no behavioral hints.

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%, with all three path parameters typed, length-bounded, and labeled, so the schema already does the documentation work. The description adds no additional meaning about how alert_id relates to project_id/workspace_id scoping. Baseline 3 applies when the schema fully covers the parameters.

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 Chinese phrase "获取告警详情" gives a recognizable verb (get) and resource (alert details), so an agent knows it retrieves a single alert rather than a list. However, it offers no differentiation from adjacent siblings such as sa__ShowAlertRule or sa__ShowIncident, other than a passing noun distinction in "告警" versus "告警规则". The "[SA]" prefix adds no semantic value beyond namespace tagging.

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 mention of prerequisites, and no reference to alternatives for fetching alert data. The agent must infer from the tool name alone that this is the per-alert detail lookup companion to list/create/change tools.

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