Skip to main content
Glama

kin_mutate

DestructiveIdempotent

Validate and commit a batch of graph mutations atomically in one call, managing transaction begin, validation, and commit so code changes apply consistently.

Instructions

Atomically validate and commit a batch of graph mutations in a single call. Automatically manages transaction begin, validation, and commit. Provide an operations array with mutation verb and payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoOptional target scope or workspace identifier (defaults to 'repository')
summaryNoOptional change message: one sentence in your own words saying what this change does, which becomes the subject a human reads in history. Omit it and the change records only the transaction id, which names the call and not the work.
operationsYesArray of mutation operations to validate and commit atomically
request_idNoOptional client request id, carried into the receipt so you can match the answer to your call; nothing deduplicates on it
session_idNoOptional owning session UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.16

TDQS

A3.9/5.0
Behavior4/5

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

With annotations already declaring destructiveHint=true and idempotentHint=true, the description still adds value beyond them: atomicity and all-or-nothing validation before commit, and the fact that transaction begin/commit are managed internally. It does not describe the receipt/return payload or failure rollback semantics, so it stops short of a 5.

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?

Three sentences, front-loaded with the core verb and resource, no filler. The third sentence ('Provide an operations array with mutation verb and payload') largely restates the required parameter already fully specified in the schema, which costs a point.

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 destructive batch mutation tool with annotations covering the safety profile and a fully documented schema, the description supplies the missing piece - atomic lifecycle management. It omits what happens on partial validation failure and what the receipt contains, but annotations and schema carry most of the remaining burden.

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 the nested operation variants are documented exhaustively in the schema itself. The description only gestures at 'an operations array with mutation verb and payload', which the schema states in far more detail, so the baseline 3 applies.

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 verb and resource ('validate and commit a batch of graph mutations') plus the scope ('in a single call', 'atomically'). The sentence 'Automatically manages transaction begin, validation, and commit' distinguishes it from the sibling tools kin_transaction_begin/stage/commit, so an agent can tell it apart without opening either schema.

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: when you have a batch of mutations, pass an operations array and the tool handles the transaction lifecycle. But it never explicitly says when to prefer this over the manual kin_transaction_begin/stage/commit trio, nor does it state any prerequisite or exclusion. The alternative is only hinted at, not named.

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