Skip to main content
Glama

workspace__ListMetricNotifyRecord

Checks whether metric notification records exist for a specified notification rule and metric, returning matching records with pagination.

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>"
    },
    "name": "workspace__ListMetricNotifyRecord"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo单次查询的大小[1-100],默认值10。
offsetNo查询的偏移量,默认值0。
rule_idNo通知规则ID
project_idYes项目ID。
metric_nameNo指标名称(精确匹配)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It implies a read operation via '查询' but does not state whether results are paginated, what a match looks like, whether an empty result means no records exist, or any permission requirements — for a 5-parameter tool with zero annotation coverage this is a significant gap.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, which is good, but it is under-specified rather than concise — the brevity comes at the cost of the behavioral detail an agent needs. The [WORKSPACE] prefix is front-loaded usefully.

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?

With no annotations, no output schema, and five parameters including pagination controls, the one-sentence description leaves key questions unanswered: what the response contains, how pagination should be driven, and how metric_name and rule_id combine. It is not sufficient for an agent to invoke this confidently.

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 all five parameters (limit, offset, rule_id, project_id, metric_name) are already documented in the schema. The description's mention of '指标维度' loosely maps to metric_name and rule_id but adds no syntax, matching behavior, or interaction detail beyond the schema.

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

Purpose3/5

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

The verb '查询' (query) and resource '记录' (records) are identifiable, and the [WORKSPACE] prefix scopes the domain. However, '对应指标维度' is vague about which dimension is being matched, and '是否存在' (whether it exists) suggests a boolean existence check while the schema's limit/offset parameters indicate a paginated listing — the purpose is stated but imprecisely.

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?

No guidance on when to use this versus the sibling rule tools (ListMetricNotifyRule, AddMetricNotifyRule, etc.), nor any stated prerequisite such as needing an existing rule_id or project_id. The agent must infer usage entirely from the name and schema.

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