Skip to main content
Glama

apm__ShowFlameLineTree

Retrieves APM flame line tree data for a specific API and instance over a time range, using CPU or latency metrics to diagnose performance bottlenecks.

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": {
      "api": "<api>",
      "from": "<from>",
      "instance_id": "<instance_id>",
      "region": "<region>",
      "to": "<to>",
      "type": "<type>"
    },
    "name": "apm__ShowFlameLineTree"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes结束时间, 比如1704275169491
apiYesapi的url,比如: GET_/user/{id}
fromYes开始时间,比如1704271204595
typeYes数据类型, CPU 或者 LATENCY
regionYes实例所在区域
instance_idYes实例id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.4/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, and it discloses nothing: not whether the call is read-only, how heavy the result is, what time window constraints apply, nor what the flame tree contains. This is a complete gap for an unannotated tool.

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?

It is short but under-specified rather than concise; the single '[APM]' token is a naming prefix, not content, so there is no front-loaded information at all. Brevity here reflects an empty description, not efficient writing.

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?

A six-required-parameter analysis tool with no annotations and no output schema needs the description to explain what a flame line tree is and what the response represents. None of that is present, leaving the agent unable to judge result shape or cost.

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% — all six required parameters (api, from, to, type, region, instance_id) are documented in the schema with examples. Per the coverage rule the baseline is 3, since the description neither adds nor withholds param meaning.

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

Purpose1/5

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

The description is the tag '[APM]' followed by nothing — it does not state a verb, a resource, or what the flame line tree represents. The tool name carries all the meaning; the description adds none.

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

Usage Guidelines1/5

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

No when-to-use guidance, no mention of prerequisites, and no differentiation from siblings such as apm__ShowTopology or apm__ShowTrend. An agent has nothing to route on beyond guessing from the name.

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