Skip to main content
Glama

kin_transaction_begin

Begin a write transaction for a session and scope label, returning a transaction ID to manage changes.

Instructions

Transaction plumbing for writes. Open one; get a transaction_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYesLabel, never a path.
session_idYesOwning session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.17
    • changedInput schema / properties / scope / description
      Previous value: -"Target scope (e.g. filename, module, etc.)"New value: +"Label, never a path."
    • changedInput schema / properties / session_id / description
      Previous value: -"Session UUID owning the transaction"New value: +"Owning session."
  2. First observedv0.7.16

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare non-readOnly, non-idempotent, non-destructive, so the write-scoped nature is covered. The description usefully discloses the return (a transaction_id) in the absence of an output schema, but says nothing about lifetime, scope semantics, or what a transaction is good for.

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?

Two short clauses, zero filler, and the core action is front-loaded. Every word earns its place.

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?

It covers the essential call contract (open a transaction, receive an id) for a no-output-schema tool, but omits lifecycle and interaction details with the sibling commit/abort/stage tools and the meaning of scope/session ownership.

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 there are only two required parameters, so the schema carries the load; baseline 3 applies. The description adds no parameter-level meaning beyond what is already documented.

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?

States a specific verb (open) and resource (transaction), and the phrase 'plumbing for writes' clarifies its role relative to the sibling transaction_abort/commit/stage tools. It stops short of naming which sibling to use next, so it is clear but not maximally differentiating.

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?

'Transaction plumbing for writes' implies the context (wrap write operations) but never states when to use this versus kin_transaction_stage/commit or what prerequisites exist. Usage is inferable rather than spelled out.

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