Database Locks
locksIdentify active locks and blocking sessions in Oracle Database to resolve contention issues.
Instructions
Show active locks and blocking sessions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
locksIdentify active locks and blocking sessions in Oracle Database to resolve contention issues.
Show active locks and blocking sessions
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must convey behavioral traits. The verb 'Show' suggests a read-only operation, but the description does not disclose potential side effects, required privileges, or performance impact. It goes slightly beyond a tautology by naming what is shown, but lacks depth.
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, front-loaded sentence with no filler words. Every word contributes to the meaning, making it highly concise and easy to parse.
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?
Given the tool's simplicity (no parameters, no output schema, no annotations), the description provides the essential purpose but omits details about return format or privileges. Still, it is mostly complete for a basic diagnostic tool, though additional context would make it fully 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?
This tool has zero parameters, so the schema is trivially complete. The description does not need to explain parameter semantics, and the baseline for 0 parameters is 4.
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 'Show' and clearly identifies the resource: active locks and blocking sessions. This distinguishes it from sibling tools like active_sessions, which focus on sessions rather than lock-specific information.
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 a diagnostic use case for viewing locks and blockers but does not explicitly state when to use it over alternatives such as active_sessions or session_info. There is no mention of troubleshooting lock contention or deadlocks, leaving the context 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/mesquitadev/mcp-oracle-db'
If you have feedback or need assistance with the MCP directory API, please join our Discord server