Skip to main content
Glama

sa__CreateAlert

Creates a security alert in a specified project and workspace using supplied event details such as severity, source, affected resources, and observation times.

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__CreateAlert"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesID of project
data_objectNo告警详情
workspace_idYesID of workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/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, yet it discloses nothing about the write operation: no permission/auth requirements, no idempotency or duplicate-handling behavior, no side effects on alert rules, and no indication of what a successful response contains.

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 text is a single short phrase with no wasted words, so it is not verbose. However, extreme terseness here is under-specification rather than economy; the one phrase present adds almost no information.

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?

This is a mutation tool with a very large nested payload (process, file_info, network_list, resource_list, environment, etc.), no annotations, and no output schema. Given that complexity, an eight-character description is completely inadequate to tell an agent what the tool does or how to call it safely.

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 extensive per-field descriptions, examples, and constraints for the nested alert payload, so the schema already does the explanatory work. The description contributes nothing beyond that, which lands at the baseline of 3 per the high-coverage rule.

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] 创建告警" only restates the tool name CreateAlert in Chinese, adding a product tag but no differentiating detail. Nothing distinguishes it from siblings such as sa__CreateBatchOrderAlerts or sa__CreateAlertRule, so an agent learns nothing it could not infer from the name alone.

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 alternatives. The agent must guess whether this creates a single alert record, ingests an external alert, or triggers detection, and cannot tell it apart from the many other Create* siblings.

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