Skip to main content
Glama

apm__ChangeAgentStatus

Enable or disable collection status for specified APM probe instances in a region by providing instance IDs and target status (0 enabled, 1 disabled).

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": {
      "instance_list": "<instance_list>",
      "region": "<region>",
      "target_status": "<target_status>"
    },
    "name": "apm__ChangeAgentStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_idNo探针所属环境的id。
regionYes探针所在的区域。
instance_listYes探针实例id列表。
target_statusYes期望探针改变后的状态,0或1,0表示启用,1表示停用。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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. It states the effect (enable/disable collection) but says nothing about required permissions, whether the change is immediate or reversible, what happens if an instance id is invalid or partially fails, or whether the operation is idempotent — significant gaps for a mutation tool with zero annotation coverage.

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 the resource and effect front-loaded and zero filler. The '[APM]' tag is a cheap scope marker rather than waste, though the definition is too terse to earn a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter mutation tool with no annotations and no output schema, the schema is well documented but the description does not cover return behavior, error/partial-failure handling, or permission requirements. It is minimally sufficient to call the tool, not sufficient to call it safely in edge cases.

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 the schema itself defines env_id, region, instance_list and the target_status 0/1 semantics in detail. The description adds no format, ordering, or constraint detail beyond what the schema already provides, so 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?

The description names a specific verb ('改变' / change) and a specific resource ('指定实例的采集状态' / the collection status of specified agent instances), plus the two directions of the change (开启/关闭). An agent can distinguish this from deletion or search siblings; only the lack of an explicit sibling contrast keeps it from a 5.

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 implied by the statement of effect: use this to turn collection on or off for a set of agent instances. There is no explicit when-to-use vs when-not guidance, no prerequisites (e.g. required permissions or whether the agent must be online), and no mention of the DeleteAgent/SearchAgent alternatives.

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