Skip to main content
Glama

gaussdbfornosql__ListDbCacheMappings

Lists and retrieves memory acceleration mappings and details for GaussDB for NoSQL using project, instance, mapping ID or name filters, with pagination support.

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

Input Schema

NameRequiredDescriptionDefault
idNo映射ID,可以调用“查询内存加速映射列表和详情”接口获取。
nameNo映射名称。名称以“*”起始,表示按照“*”后面的值模糊匹配,否则,按照实际填写的名称精确匹配查询。
limitNo查询个数上限值。取值范围:1~100。不传该参数时,默认查询前100条信息。
offsetNo索引位置,偏移量。
project_idYes租户在某一region下的project ID。
source_instance_idNo源实例ID。
target_instance_idNo目标实例ID。
source_instance_nameNo源实例名称。名称以“*”起始,表示按照“*”后面的值模糊匹配,否则,按照实际填写的名称精确匹配查询。
target_instance_nameNo目标实例名称。名称以“*”起始,表示按照“*”后面的值模糊匹配,否则,按照实际填写的名称精确匹配查询。

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 supplied, so the description carries the full behavioral burden. The verb 查询 implies a read-only operation and it states that both list and details are returned, but it is silent on permissions, pagination defaults, result ordering, or whether an empty result is possible — meaningful gaps for a 9-parameter query tool.

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 or redundancy. It is efficient, though its brevity borders on under-specification rather than optimal conciseness.

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?

All nine parameters are richly documented in the schema and there is no output schema to explain, so the description's minimal scope is partially defensible. However, for a filtered-list tool whose return shape (list + details) is asserted but not characterized, and with no annotations to cover behavior, more context would help an agent 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% and every parameter carries a description, including the wildcard-prefix matching rules and the 1–100 limit default. The description adds no additional parameter meaning beyond 'specified conditions', so the baseline 3 applies and the schema does all the work.

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 (查询/query) and resource (内存加速映射关系列表和详情 — memory-acceleration mapping list and details), which lets an agent distinguish it from the Create/Delete/Update DbCacheMapping siblings in the catalog. It stops short of naming which sibling to use instead, but the read operation is unambiguous.

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 says only '根据指定条件' (by specified conditions) with no indication of when to use this vs. ListDbCacheRules or the Create/Delete mapping tools, no mention of pagination strategy, and no prerequisites such as required project_id. 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