Skip to main content
Glama

roma__DeleteRequestThrottlingPolicyV2

Deletes a ROMA throttling policy by instance, project, and policy ID. Unbind the policy from all APIs first; deletion fails if any bindings remain.

Instructions

[ROMA] 删除指定的流控策略。当该流控策略绑定了API时,需要先解除流控策略与API的所有绑定关系后再删除。

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_id": "<instance_id>",
      "project_id": "<project_id>",
      "throttle_id": "<throttle_id>"
    },
    "name": "roma__DeleteRequestThrottlingPolicyV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
throttle_idYes流控策略的编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/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; to its credit it discloses the destructive nature and one hard operational constraint (bound APIs block deletion). However, it says nothing about irreversibility, required permissions, or behavior when the ID is invalid or already deleted — meaningful gaps for an unannotated mutation tool.

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

Conciseness5/5

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

Two sentences, zero filler: the action comes first and the precondition second. Nothing is repeated or restated from the schema.

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

Completeness4/5

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

For a low-complexity single-resource delete with fully documented parameters, the definition covers the action and the one blocking condition an agent must know. The remaining gaps (reversibility, failure modes) are minor given the tool's simplicity and the absence of an output schema.

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 three path parameters (project_id, instance_id, throttle_id) are already documented in the schema. The description adds no format, sourcing, or constraints beyond that, 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 and resource ('删除指定的流控策略' / delete the specified throttling policy), so the action is unambiguous. It does not explicitly name the sibling that handles the prerequisite case (e.g., the disassociate tool), but the precondition sentence hints at it, so it falls just short of 5.

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

Usage Guidelines4/5

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

It gives a concrete precondition: if the policy is bound to APIs, all bindings must be released before deletion. That is real when/when-not guidance rather than an implied hint. It stops short of 5 because it never names the alternative tool to call for the unbinding step, leaving the agent to locate it among the large sibling set.

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