Skip to main content
Glama

begin_transaction

Start a database transaction to group multiple SQL operations for atomic execution. Use it before running CRUD statements to ensure changes commit or roll back together.

Instructions

Inicia uma transação

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only restates that a transaction starts and gives no information about side effects, connection/session scoping, whether nested transactions are allowed, what happens to subsequent operations, or what a successful start returns.

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

Conciseness2/5

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

The description is short but under-specified; it does not earn its place because it only repeats the meaning of the tool name. It is not a matter of concise excellence but of missing essential behavioral context.

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 database transaction tool, the description is insufficient: it omits the need to commit or rollback, the scope of the transaction, whether it affects subsequent operations, and error behavior when a transaction is already active. With no annotations and no output schema, the description should provide substantially more operational context.

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 takes zero parameters and the input schema is empty, so there are no parameter semantics to document. The baseline of 4 applies because parameter documentation is simply unnecessary here.

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?

The description 'Inicia uma transação' is essentially a direct translation of the tool name, so it is tautological rather than informative. It names the verb and resource but provides no detail that distinguishes it from transaction-related siblings or explains what starting a transaction entails in this system.

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 guidance on when to call begin_transaction, what conditions should be true beforehand, or that it should be paired with commit_transaction or rollback_transaction. The sibling tool list implies a transaction lifecycle, but the description does not make this usage context explicit.

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