Skip to main content
Glama

transaction_commit

Commit the current open transaction to keep its changes, finalizing edits made through AnkusDrive before moving on.

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

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the essential write effect ('changes are kept'), which contrasts meaningfully with abort. However, it omits error behavior (what happens with no open transaction), whether nested/multiple transactions are supported, and whether the commit is destructive of the transaction boundary.

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

Conciseness4/5

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

A single front-loaded clause with no filler; the effect statement follows the verb immediately. It is efficient, though extremely terse — the brevity edges toward under-specification rather than model concision.

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

Completeness3/5

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

For a parameterless transaction tool with no annotations and no output schema, the description covers the core action but leaves the failure mode (no open transaction) and result/return value unexplained. Adequate to invoke correctly in the happy path, incomplete around edges.

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, so the baseline of 4 applies. There is no parameter syntax an agent could get wrong; the description only needs to state the (implicit) target of the operation, which it does.

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

Purpose4/5

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

Names a specific verb (commit), the resource (the most recent open transaction), and the outcome (changes are kept). The phrase 'most recent open transaction' precisely scopes which transaction is affected, which distinguishes it in spirit from transaction_abort, though that sibling is never named.

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?

Usage is only implied: committing presupposes an open transaction created by transaction_open, but the description never states that prerequisite or explicitly points to transaction_abort as the alternate choice. An agent can infer the workflow but gets no explicit when/when-not guidance.

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