Skip to main content
Glama
bpamiri

u2-mcp

by bpamiri

rollback_transaction

Roll back the active transaction to discard all changes made since it began, then close the transaction. Returns status confirmation or error if no transaction is active.

Instructions

Rollback the current transaction.

Discards all changes made since begin_transaction was called. The transaction is closed after rollback.

Returns: Dictionary containing: - status: success or error - in_transaction: False after successful rollback - message: Confirmation message

Note: If no transaction is active, returns an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses behavioral traits: discards all changes, transaction closed, error if no active transaction, and describes return dictionary. No annotations provided.

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?

Well-structured with sections, but slightly redundant (e.g., discarding changes mentioned twice). Good front-loading.

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?

Given sibling tools for transactions and complexity, description covers behavior, return values, and error case. Output schema exists but already described.

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?

No parameters; schema coverage is 100% (empty). Description adds no parameter info, but baseline is 4 for zero parameters with complete schema coverage.

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?

Clearly states it rolls back the current transaction, discarding changes, but doesn't explicitly distinguish from commit_transaction or begin_transaction among siblings.

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?

Describes when to use (to discard changes since begin_transaction) and error condition (no active transaction), but no explicit when-not or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bpamiri/u2-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server