Skip to main content
Glama

rds__ListPostgresqlHbaInfo

Retrieve the pg_hba.conf configuration for a PostgreSQL RDS instance by project and instance ID to inspect client authentication rules.

Instructions

[RDS] 查询实例的pg_hba.conf文件配置

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__ListPostgresqlHbaInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
instance_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 provided, so the description carries the full behavioral burden, yet it only restates that the tool reads configuration. It does not disclose permissions required, whether the output is paginated or bounded, how many HBA entries come back, or what happens when the instance is not a PostgreSQL instance. For a zero-annotation tool this is a thin disclosure.

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?

It is a single front-loaded sentence with no filler and the resource is stated immediately. Its brevity borders on under-specification, but nothing in the sentence is wasted.

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?

The tool is simple (two required path parameters, no output schema, no annotations), yet with no output schema the description should say what a result entry contains or how the listing behaves; instead, it says nothing about return values. It also fails to distinguish the current configuration from the ListPostgresqlHbaInfoHistory sibling, leaving a meaningful ambiguity for an agent.

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%, with both project_id and instance_id fully documented in the schema, so the baseline is a 3. The description adds no extra meaning, such as how instance_id relates to the returned configuration, but none is strictly needed here.

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 states a specific verb and resource: querying the pg_hba.conf configuration of an instance. The resource is unambiguous and the read-only verb is clear. Sibling differentiation is only implicit (the History variant and the Add/Delete/Modify HbaConf tools are not named), which 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 Guidelines2/5

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

The description gives no when-to-use guidance, no prerequisites, and does not point to the sibling tools for editing configuration (AddPostgresqlHbaConf, ModifyPostgresqlHbaConf, DeletePostgresqlHbaConf) or to the history variant. Usage must be inferred entirely from the tool name.

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