Skip to main content
Glama

recommit

Append a fresh write receipt to bind the current value, context, and partition of unscoped records flagged by verify_writes, after checking against a trusted copy.

Instructions

The remedy verify_writes names for UNSCOPED records: append a fresh write receipt that binds each named record's CURRENT value, context and partition.

IT BINDS THE STATE AS IT IS NOW. It does not validate the past: a record edited out of band before this call is committed as edited, and verifies clean afterwards. Run it ONLY on records you have checked against a copy you trust (a backup, an export, the source they were written from).

ids: the records to recommit, as the UNSCOPED line lists them. all=True recommits every active record this server reads instead, and is only for a store checked in full. Pass one of the two: neither, or both, is refused and writes nothing. There is no whole-store default.

A record whose latest receipt already binds all three is skipped, and a named id that matched no active record is named in problems. With a project scope, only that project's records and the unscoped ones are recommitted. Also refused, writing nothing, when this server cannot sign the way the chain is signed (a signed chain and no receipt key here, or the reverse): the new receipts would leave a chain signed in places, and verify_writes reports that. Needs receipts on.

Returns {recommitted, skipped, problems}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNo
idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.16.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and delivers: it discloses that the operation binds current state without validating the past, that out-of-band edits become committed as edited, that records may be skipped or reported in problems, that project scope limits recommitting, and that signing must match the existing chain. This is rich behavioral context beyond what any structured field provides.

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?

The description is long but front-loaded with purpose, then the critical warning, then parameter rules and edge cases. Nearly every sentence earns its place, though the length is substantial and could be slightly tightened without losing meaning.

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

Completeness5/5

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

Given the absence of annotations, output schema, and schema parameter descriptions, the description supplies everything an agent needs: purpose, parameter semantics, refusal conditions, project-scope behavior, signing constraints, and the return shape {recommitted, skipped, problems}.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must explain the two parameters, and it does so thoroughly: ids refers to records as listed by the UNSCOPED line, all=True targets every active record the server reads and is only for a fully checked store, and passing neither or both is refused. This adds essential semantics absent from the schema.

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 action — appending a fresh write receipt that binds each named record's current value, context, and partition — and ties it directly to the remedy named by verify_writes for UNSCOPED records. This distinguishes it from the many sibling verification and reporting tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly gives when to use it ('ONLY on records you have checked against a copy you trust') and when not to (all=True only for a store checked in full). It also states that neither or both of ids/all are refused, and that signing mismatches cause refusal, leaving no ambiguity about invocation conditions.

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