Skip to main content
Glama

gaussdb__ShowStarRocksDatabaseUser

Retrieves StarRocks database user accounts for a specified instance using pagination and optional username filtering. Use it to inspect account details and manage database access.

Instructions

[GAUSSDB] 查询StarRocks数据库账户。

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>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "gaussdb__ShowStarRocksDatabaseUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes查询记录数,不能为负数,最小值为1,最大值为100。
offsetYes索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
user_nameNo数据库账户。
project_idYes租户在某一Region下的project ID。
instance_idYesStarRocks实例ID,严格匹配UUID规则。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 lookup, but nothing is said about pagination behavior, the fact that results are constrained by instance_id and project_id, permission requirements, or what happens when user_name is omitted.

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

Conciseness3/5

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

The single sentence is front-loaded and free of filler, but it is terse to the point of under-specification for a five-parameter, four-required tool. Brevity here costs information rather than saving it.

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 no annotations, no output schema and four required parameters, the description should do far more: clarify list-vs-single semantics, describe the returned account fields, and note scoping by instance and project. As written, an agent knows only the general domain of the call.

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 every parameter (including limits, offset semantics, UUID matching for instance_id) is already documented in the schema. The description adds no additional meaning about how these parameters interact, such as that user_name acts as a filter over the paginated result set. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb (查询/query) and a resource (StarRocks 数据库账户), and the resource qualifier does separate it from the ClickHouse and MySQL siblings. However, it never says whether this returns a single account or a paginated list of accounts, which is the key ambiguity given the presence of limit/offset and an optional user_name.

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, no mention of the sibling account tools (Create / Delete / UpdatePassword / UpdatePermission / SyncStarRocksUsers), and no conditions or prerequisites. An agent must infer that this is the read-side lookup purely 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