list_lock_conflicts
View current database lock conflicts, showing blocked sessions and their blocking sources to identify and resolve contention issues.
Instructions
查看当前锁冲突:被阻塞会话与阻塞来源
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
View current database lock conflicts, showing blocked sessions and their blocking sources to identify and resolve contention issues.
查看当前锁冲突:被阻塞会话与阻塞来源
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the operation as read-only, and the description adds the observable result: blocked sessions and blocking sources. It also limits the scope to 'current' lock conflicts, but does not cover possible permission requirements or output format nuances.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise, front-loaded sentence that communicates purpose and output in one line. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple zero-parameter read-only list tool, the description supplies the essential requested content (blocked sessions and blocking sources). It could mention typical use context or caveats, but it is largely complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the schema is empty, so there is no parameter semantics burden on the description. Per rubric, baseline 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('查看'/'list') and identifies the exact resource (current lock conflicts) with the returned content (blocked sessions and blocking sources). This clearly distinguishes it from sibling tools such as list_sessions and database_stats.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use when checking current lock contention, but it does not explicitly state when to choose this over alternatives or how it relates to list_sessions/explain_query. There are no exclusions or prerequisites, so usage guidance is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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