Skip to main content
Glama

kin_transaction_abort

DestructiveIdempotent

Discard staged writes and close a transaction by its UUID to cancel changes before they are committed.

Instructions

Transaction plumbing for writes. Discard what is staged and close it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoOwning session UUID.
transaction_idYesUUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.17
    • changedInput schema / properties / session_id / description
      Previous value: -"Owning session UUID. In enforce mode it must match the authenticated caller."New value: +"Owning session UUID."
    • changedInput schema / properties / transaction_id / description
      Previous value: -"Transaction UUID"New value: +"UUID"
  2. First observedv0.7.16

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value by specifying what is destroyed ('what is staged') and that the transaction is closed, which the annotations alone do not convey.

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?

Two short sentences with no filler, and the destructive effect is front-loaded. The lead-in phrase 'Transaction plumbing for writes' is slightly oblique but not wasted.

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 two-parameter mutation with rich annotations and no output schema, the description covers the essential effect (staged writes discarded, transaction closed). Minor gaps remain, e.g. behavior if the transaction id is unknown or already closed, but nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters (session_id, transaction_id) are documented in the schema, so the baseline of 3 applies. The description adds no syntax, format, or validity constraints beyond what the schema states.

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 the resource (transaction) and the action (abort: 'discard what is staged and close it'), which lets an agent distinguish it from kin_transaction_commit without opening the schema. 'Transaction plumbing for writes' is a slightly vague framing sentence, but the second sentence pins down the operation.

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 implied rather than stated: an agent can infer this is the counterpart to commit when staged writes should be thrown away. However, the description never names kin_transaction_commit as the alternative nor states a condition for choosing abort over it, leaving the routing to inference.

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