Skip to main content
Glama
mengqi1436

GaussDB-MCP

by mengqi1436

transaction_begin

Start a GaussDB transaction and obtain a handle for subsequent queries, executions, or writes. The transaction auto-rolls back after 5 minutes of inactivity.

Instructions

开启 GaussDB 事务,返回事务句柄 tx_handle。后续 query/execute/写入工具可传入该句柄在同一事务内执行。空闲 5 分钟自动回滚回收

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With annotations present (readOnlyHint=false, destructiveHint=false), the description adds meaningful behavior: returns a transaction handle and automatically rolls back/reclaims after 5 minutes of idle time. This is useful context beyond the annotations, though it does not mention potential lock/resource implications.

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

Conciseness5/5

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

The description is compact and effectively front-loaded: first states the action and result, then explains usage with related tools, then notes the idle timeout. Every sentence adds operational value with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the description covers the essential information: what the tool does, what it returns, how the handle is used by sibling tools, and the timeout behavior. It is fully adequate for an agent to invoke and use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline of 4 applies. The description adds relevant output semantics by explaining that a tx_handle is returned, which is more useful than only relying on the empty schema.

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

Purpose5/5

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

The description clearly states the tool starts a GaussDB transaction and returns a transaction handle (tx_handle), distinguishing it from sibling tools like transaction_commit and transaction_rollback. The verb-resource pairing is specific and unambiguous.

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

Usage Guidelines4/5

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

It explicitly explains that subsequent query/execute/write tools can pass in the handle to run within the same transaction, giving clear context for when to use it. It does not explicitly state exclusions, but the intended workflow is evident from the description and sibling set.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mengqi1436/GaussDB-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server