Skip to main content
Glama

gaussdbfornosql__ListDbCacheRules

Lists and retrieves GaussDB NoSQL memory acceleration (DB cache) rules for a mapping, with filtering by rule, source schema, and table, plus pagination via offset and limit.

Instructions

[GAUSSDBFORNOSQL] 查询内存加速规则列表和详情。

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": {
      "dbcache_mapping_id": "<dbcache_mapping_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__ListDbCacheRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询个数上限值。取值范围:1~100。不传该参数时,默认查询前100条信息。
offsetNo索引位置,偏移量。
rule_idNo内存加速规则ID。
rule_nameNo内存加速规则名称。名称以“*”起始,表示按照“*”后面的值模糊匹配,否则,按照实际填写的名称精确匹配查询。
project_idYes租户在某一region下的project ID。
source_db_tableNo源端数据表名。名称以“*”起始,表示按照“*”后面的值模糊匹配,否则,按照实际填写的名称精确匹配查询。
source_db_schemaNo源端数据库名。名称以“*”起始,表示按照“*”后面的值模糊匹配,否则,按照实际填写的名称精确匹配查询。
dbcache_mapping_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 exist, so the description carries the full burden of behavioral disclosure. The verb 查询 implies a read-only operation, which is helpful, but there is no mention of pagination behavior, permission or project scoping requirements, default limits, or the distinction between list and detail modes. For an eight-parameter query 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.

Conciseness4/5

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

The description is a single short sentence with no wasted wording, and the key verb and resource are front-loaded. However, its extreme brevity borders on under-specification rather than efficient conciseness.

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 eight parameters, two required, no annotations, and no output schema, the description should do more to convey how list versus detail results are returned and what the required dbcache_mapping_id and project_id control. As written, an agent knows the general purpose but not enough about the response behavior or scoping to call it 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 the parameters, including the wildcard prefix matching semantics for rule_name, source_db_schema, and source_db_table, are already fully documented. The description adds no additional parameter meaning beyond what the schema provides. The baseline of 3 applies when the schema does the heavy lifting.

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: query the memory acceleration rule list and details (查询内存加速规则列表和详情). An agent can identify the target resource clearly. It does not explicitly distinguish this tool from the sibling ListDbCacheMappings, but the resource noun (rules vs mappings) provides implicit differentiation.

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 contains no guidance on when to use this tool versus alternatives such as ListDbCacheMappings, nor does it explain when filtering by rule_id/rule_name is appropriate. It states what the tool returns but leaves all usage decisions implicit.

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