Skip to main content
Glama

gaussdb__UpdateProxySessionConsistence

Updates the session consistency mode for a GaussDB database proxy, enabling control over how proxy sessions maintain consistent reads.

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "proxy_id": "<proxy_id>",
      "session_consistence": "<session_consistence>"
    },
    "name": "gaussdb__UpdateProxySessionConsistence"
  }
}

Input Schema

NameRequiredDescriptionDefault
proxy_idYes租户在某一instance下的数据库代理ID。
project_idYes租户在某一region下的project ID。
instance_idYes租户在某一project下的实例ID。
consistence_modeNo一致性模式。默认值为空,此时以会话一致性参数session_consistence为准。
session_consistenceYes会话一致性。

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond implying a mutation. It does not say whether existing proxy sessions are dropped, whether the change is immediate or reversible, what permissions are required, or how the optional consistence_mode interacts with session_consistence at runtime.

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?

It is a single short sentence with no filler, so nothing needs trimming. But the terseness comes at the cost of under-specification, and there is no structure beyond a bracketed product tag plus a bare statement of intent.

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 five-parameter mutation tool with no annotations and no output schema, the description is not complete enough on its own: side effects, permission prerequisites, and the interaction between the required session_consistence and optional consistence_mode are all unaddressed. Only the fully covered input schema keeps this from being a 1.

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 all five parameters are already documented in the schema itself, and the description adds no syntax, valid values, or precedence rules beyond that. Baseline 3 is appropriate when the schema does the heavy lifting and the description contributes nothing extra.

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 sentence '修改代理会话一致性' (modify proxy session consistency) does name a verb and a resource, so the agent knows it mutates a session-consistency setting on a database proxy. However, it gives no scope statement tying it to GaussDB proxy settings versus the many other proxy-mutation siblings (UpdateProxyName, UpdateProxyConnectionPoolType, ModifyGaussMySqlProxyRouteMode), so distinguishing it requires reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

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

There is no when-to-use, when-not-to-use, or alternative-tool guidance of any kind. An agent has no explicit signal about when session consistency should be changed versus using a broader proxy-configuration update sibling such as UpdateProxyNewConfigurations.

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