Skip to main content
Glama

rds__DeletePostgresqlHbaConf

Delete one or more PostgreSQL pg_hba.conf configurations from a Huawei Cloud RDS instance, using priority as the unique identifier to update access rules.

Instructions

[RDS] 删除pg_hba.conf文件的单个或多个配置,以priority做唯一标识

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
instance_idYes实例id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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, and it discloses almost nothing: it does not say whether deletion is immediate or reversible, whether the whole HBA file could be emptied by a bulk delete, whether a restart/reload is triggered, or what permissions are needed. It only states the identity key (priority), which is helpful but far short of what a destructive, unannotated tool requires.

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 front-loaded sentence with no filler; the resource and scope come first. It is appropriately short, though the brevity contributes to the missing behavioral detail.

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 two-parameter destructive tool with no annotations and no output schema, the description should at minimum explain how entries are selected and what happens on deletion. Instead there is a mismatch between the stated 'priority' selector and the actual schema, leaving the targeting mechanism unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the schema only exposes instance_id and project_id, while the description claims entries are identified uniquely by 'priority' — a parameter that does not exist in the schema. This actively misleads the agent about how to target the correct configuration entries, which is worse than adding nothing.

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 and resource (delete pg_hba.conf entries), states the batch scope ('单个或多个配置'), and names the identity key (priority). An agent can distinguish it from the Add/Modify/List PostgreSQL HBA siblings just from the verb, though it never names those alternatives explicitly.

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 guidance: nothing says when to delete versus modify an entry with ModifyPostgresqlHbaConf, no prerequisites (postgres instance must exist, permissions required), and no warning about the destructive nature. The agent is left to infer all of this from the verb.

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