Skip to main content
Glama

apm__SearchEnvTopology

Queries environment-level global topology graph data for an APM component environment within a time range, returning service dependencies and direction details for troubleshooting.

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>",
      "start_time": "<start_time>",
      "target_env_id": "<target_env_id>"
    },
    "name": "apm__SearchEnvTopology"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_timeYes结束时间。
directionNo方向,可为空。
start_timeYes开始时间。
filter_userNo过滤。
target_env_idYes环境id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden and delivers almost nothing: it implies a read-only query but does not state what the graph contains (nodes, edges, metrics), what granularity or aggregation applies, whether the required time range bounds the graph, or how the optional 'direction' and 'filter_user' flags change the result. For a topology query with a time window and a filter switch, this leaves key behavior undisclosed.

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 short sentence with no redundancy, and the resource plus scope are front-loaded. It is efficient but borders on under-specification rather than being trimmed to essentials.

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?

This is a five-parameter, three-required tool with no annotations and no output schema, so the description must explain the time-window requirement, the role of target_env_id, and what the topology response looks like. It covers none of these, leaving the agent to infer behavior entirely from thin schema fields.

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 the baseline is 3 and the description adds no parameter-level meaning on top of it. Notably the schema's own descriptions are terse ('方向,可为空。', '过滤。'), so neither source explains what 'direction' accepts or what 'filter_user' filters, but the coverage rule sets the baseline at 3.

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?

The description states a specific verb (查询, query) and resource (拓扑图信息, topology graph info) and scopes it to environment level ('组件环境级别全局'), which implicitly separates it from the sibling SearchBusinessTopology. It never names or contrasts an alternative explicitly, and the compound scope phrase '组件环境级别全局' is left unexplained, so the boundary is inferable rather than stated.

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. With siblings SearchBusinessTopology, ShowTopology, and ShowTopologyTree available, an agent gets no rule for choosing environment-level global topology over business topology or a tree view.

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