Skip to main content
Glama

apm__ShowTrend

Retrieves APM trend charts for specified environments and time ranges using view configuration, helping analyze metric trends and application performance.

Instructions

[APM] 获取趋势图。

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": {
      "end_time": "<end_time>",
      "env_id": "<env_id>",
      "start_time": "<start_time>",
      "view_config": "<view_config>"
    },
    "name": "apm__ShowTrend"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_idYes环境id。
end_timeYes结束时间。
start_timeYes开始时间。
instance_idNo实例id。
view_configYes视图配置信息。
monitor_item_idNo监控项id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.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 entire burden, yet it discloses nothing: not that this is a read-only query, not how start_time/end_time bound the returned series, not result size or aggregation behavior. Only the mild implication of "获取" (retrieve) hints at a read operation.

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

Conciseness2/5

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

One short bracketed sentence with a vendor prefix; it is technically concise but front-loads no actionable information, so the brevity reflects under-specification rather than efficiency. Nothing in the sentence earns its place beyond repeating the name.

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 complex tool: 6 parameters, 4 required, a deeply nested view_config object with enums and field_item_list, no output schema and no annotations. Against that complexity, a four-character description leaves an agent unable to call it correctly without reading the whole schema, and unable to understand what a "trend" returns.

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 every parameter and every nested view_config field documented inline (env_id, instance_id, monitor_item_id, collector_name, metric_set, field_item_list, etc.), so the baseline is 3. The description adds no meaning beyond that schema, but it also does not contradict it.

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?

"获取趋势图" (get trend chart) does little more than restate the tool name ShowTrend. It names no scope, no data domain, and does not distinguish this from apm__ShowSumTable or apm__ShowRawTable, even though the view_config.view_type enum (trend/sumtable/rawtable) makes those siblings near-identical in surface area.

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 at all: no mention of the time-range requirement, the required view_config, or when an agent should pick this over ShowSumTable/ShowRawTable/ShowMonitorItemViewConfig. The only context is the tool name itself, which the reader must interpret unaided.

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