Skip to main content
Glama

workspace__UpdateMetricNotifyRule

Update a metric notification rule to send alerts when specified metric conditions are met.

Instructions

[WORKSPACE] 更新对应指标的通知规则;对应指标满足相应的规则条件时发送通知。

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": {
      "project_id": "<project_id>",
      "rule_id": "<rule_id>"
    },
    "name": "workspace__UpdateMetricNotifyRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes通知规则ID。
project_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 behavioral burden. It says nothing about what an update does to an existing rule, whether the rule must already exist, whether the change is partial or full, what permissions are needed, or that this mutates persistent configuration.

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?

Two short clauses with the verb+resource front-loaded and no filler. The repetition of 对应指标 in the second clause is slightly redundant but does not obscure meaning.

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 mutation tool with no annotations and no output schema, yet the description never explains that the only inputs are identifiers, nor what part of the rule is being updated. An agent cannot tell from the definition what the update actually changes or what happens on success or failure.

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%: both rule_id and project_id are documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema, not even clarifying how project_id scopes the rule lookup.

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 gives a specific verb+resource pair: update (更新) the notification rule for a metric (指标的通知规则). Siblings such as AddMetricNotifyRule/DeleteMetricNotifyRule/ListMetricNotifyRule make the CRUD position clear from the name, though the description itself does not spell out what distinguishes it from those siblings.

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 and no reference to alternatives such as adding a new rule instead. The second clause (notify when the metric meets the rule conditions) describes the rule's runtime effect rather than when an agent should call this tool.

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