Skip to main content
Glama

Transaction Commit

transaction_commit

Finalize the most recent open transaction, preserving all changes made during the session.

Instructions

Commit the most recent open transaction; changes are kept.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that the tool is not read-only and not destructive. The description adds useful behavioral context beyond those annotations: it targets the most recent open transaction and explicitly notes that changes are kept. It does not elaborate on irreversibility or post-commit transaction state, but 'commit' and the annotation coverage make this a reasonably transparent definition.

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?

One concise sentence with no filler. The action and effect are front-loaded, making it easy for an agent to parse quickly.

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

Completeness4/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 and the relevant safety annotations, the description provides the essential semantics: commit the most recent open transaction and keep changes. It does not explicitly connect to the transaction_open/transaction_abort workflow or describe the no-open-transaction case, but this is a minor gap for such a simple tool.

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 and the schema is empty, so there is no parameter meaning for the description to add. With 0 params, the baseline is 4, and the description fully covers the calling surface.

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?

States a specific action, resource, and outcome: 'Commit the most recent open transaction; changes are kept.' This clearly differentiates it from its transaction sibling transaction_abort by emphasizing that changes persist.

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

Usage Guidelines3/5

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

The description implies the correct use case: there must be an open transaction and the caller wants to keep its changes. It does not explicitly mention alternatives such as transaction_abort or conditions for when not to commit, so usage guidance is left to inference.

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