Skip to main content
Glama

dsc__AddScanJob

Creates a scan job using asset IDs, scan cycle, rule groups, and start time to schedule one-time or recurring data security scans.

Instructions

[DSC] 根据指定的任务名称、扫描方式、扫描周期、扫描规则组、扫描时间创建扫描任务

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": {
      "asset_ids": "<asset_ids>",
      "cycle": "<cycle>",
      "name": "<name>",
      "project_id": "<project_id>",
      "rule_group_ids": "<rule_group_ids>"
    },
    "name": "dsc__AddScanJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes扫描任务名
openNo是否开启任务
cycleYes扫描周期,日(DAY),周(WEEK),月(MONTH),单次扫描(ONCE)
use_nlpNo是否用nlp
asset_idsYes资产ID列表
time_zoneNo时区
topic_urnNo主题的唯一资源标识符
project_idYes项目ID
start_timeNo扫描任务开始时间
rule_group_idsYes规则组ID列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 does not meet it. It says nothing about whether the created job starts immediately (the 'open' and 'start_time' params hint at this but are unaddressed), whether creation is idempotent, what permissions or project scope are needed, or what errors occur on invalid asset/rule-group IDs.

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

Conciseness4/5

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

A single front-loaded sentence with the [DSC] prefix and zero wasted words. It is efficient, though its brevity verges on under-specification rather than tight editing.

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?

For a 10-parameter write operation with no annotations and no output schema, one sentence covering five field names is thin. An agent gets no sense of the job's lifecycle (scheduling vs one-off), required vs optional defaults, or the shape of the created resource's identifier.

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 10 parameters (including enum for cycle and the open/use_nlp/time_zone/topic_urn fields) are already documented in structured data. The description only restates a subset of those field names and adds no format, default, or interaction semantics beyond the schema — the baseline 3 applies.

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

Purpose4/5

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

Names a specific verb+resource (create a scan task) and enumerates the fields it is built from (task name, cycle, rule group, scan time). It does not differentiate itself from siblings like DeleteScanJob or ShowScanJobs, and it references a 'scan method' field that does not clearly map to any single parameter (closest is use_nlp).

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'create' — an agent can infer this is the tool for making new scan jobs. There is no explicit guidance on when to prefer this over ShowScanJobs/DeleteScanJob, no prerequisites (permissions, project scoping), and no mention of what to do if a job with the same name exists.

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