Skip to main content
Glama

das__ListRiskTrend

Queries resource instance risk trends by database type, metric code, project, and time range to help track changing risk levels.

Instructions

[DAS] 查询资源风险实例风险趋势

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": {
      "datastore_type": "<datastore_type>",
      "end_at": "<end_at>",
      "metric_code": "<metric_code>",
      "project_id": "<project_id>",
      "start_at": "<start_at>"
    },
    "name": "das__ListRiskTrend"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_atYes结束时间
start_atYes开始时间
project_idYes项目ID
metric_codeYes指标码
datastore_typeYes数据库类型

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. Beyond the implicit read-only nature of '查询', it discloses nothing about the time-window semantics, granularity or aggregation of the trend, pagination, result limits, or permissions required.

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 single short phrase contains no padding and is front-loaded, but it is under-specified rather than concise. There is no structural element such as a scope statement or output hint to help the agent.

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?

With five required parameters, no annotations, and no output schema, the description needs to explain what the returned trend looks like and how the time range is interpreted, and it does none of that. An agent could invoke it but could not predict or validate the response.

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%, and each of the five parameters has a short description (start/end time, project ID, metric code, datastore type), so the baseline of 3 applies. The description adds nothing beyond the schema, and notably the int64 epoch unit and expected metric_code vocabulary remain unexplained in both places.

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-plus-resource phrase ("查询资源风险实例风险趋势" = query risk trend of resource risk instances), so the general intent is identifiable. However, it does not define what a 'risk trend' is (a time series of risk scores? instance counts?), nor does it distinguish this from the sibling das__ListRiskItems, which operates on the same risk domain.

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 or when-not-to-use guidance, no mention of prerequisites, and no routing to alternatives. The agent must infer from the name alone that this tool is for trending rather than listing risk items.

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