Skip to main content
Glama

gaussdb__CheckResource

Validates GaussDB resource parameters before creating instances, adding read-only nodes, or resizing flavors, helping catch configuration errors before provisioning.

Instructions

[GAUSSDB] 资源预校验。

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": {
      "action": "<action>",
      "project_id": "<project_id>",
      "resource": "<resource>"
    },
    "name": "gaussdb__CheckResource"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes校验类型。
resourceYes资源信息。
project_idYes租户在某一Region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden, yet it only says "pre-check." It does not state that the call is non-mutating, whether it reserves quota, whether it must precede a real create/resize call, or what happens on a failed check.

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 bracketed phrase is technically concise with no filler, but its brevity comes from omission rather than tight writing. It is front-loaded only in the trivial sense that there is nothing else to front-load.

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?

For a tool with three required parameters, a nine-field nested resource object, and conditional required fields, one sentence is far from sufficient, and there is no output schema to compensate. An agent cannot tell from the definition what the check returns or how to act on the result.

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 the nested resource object documents every field plus its action-dependent requirement, so the schema does the heavy lifting. The description adds no extra meaning, such as enumerating valid action values or the accepted single/multi availability-zone modes, so the baseline 3 applies.

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

Purpose2/5

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

"资源预校验" essentially restates the tool name CheckResource in Chinese, adding only the notion of a pre-check. It never says what is being validated (e.g., whether an instance create/resize request would be accepted) or what distinguishes it from siblings such as gaussdb__CheckStarRocksResource or gaussdb__CheckDataBaseConfig.

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 prerequisites, and no routing to alternatives. The schema hints that the tool branches on an action value (createInstance, createReadonlyNode, resizeFlavor), but the description gives no clue about which of these to invoke it for or when to skip it.

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