Skip to main content
Glama

entries_set

Set, clear or remove values in a table's existing entries — fill a column, correct a field, code lines, drop lines brought twice. Each change picks entries by entries (uids from ledger_get), by where (a condition on one entry's columns, written as in a LEDGER_ filter: wise.type == "card" AND wise.amount < 0, local names allowed), or all; then set writes values by local column name (a number, a category's word, a day as YYYY-MM-DD, null to clear) or remove: true removes the entries. only_blank leaves cells that already hold something. A value in a worked-out column is that entry's recorded actual over the formula. A word not in a column's list is refused unless extend: true. Values taken from a classifier's suggestion rather than the analyst's say go with suggested: true: they land marked, and nothing learns from them until somebody confirms them. Run with preview first when a change reaches many lines; the call lands whole or not at all. Lines the analyst supplied are removed only with agreed, their words.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>",
      "path": "<path>",
      "changes": "<changes>"
    },
    "name": "entries_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe section the table occupies, e.g. `wise`.
modelYesModel uid (`model_…`), from model_list.
agreedNoThe analyst's own words agreeing to remove lines they supplied, or write over or nought their figures, quoted from their message, after you put the removal to them (a pressed chip is their words). Never your own: lines the analyst supplied are not removed without it.
changesYesApplied in order, each against what the ones before it left.
previewNoAnswer what each change selects and would change; write nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations by disclosing atomicity ('lands whole or not at all'), the preview-before-large-changes workflow, that removals of analyst-supplied lines require their quoted words in `agreed`, that a nought over a figure takes a line out of the books, that unknown category words are refused unless `extend`, and that `suggested` values land marked and unlearned until confirmed. These are exactly the consequential behaviors an agent must know before a write. Although destructiveHint is false, the description's destructive effects are explicitly gated behind preview and analyst consent, so this reads as a designed safety posture rather than a contradiction.

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?

Purpose and selection modes are front-loaded, and the ~150 words are largely earned for a five-parameter mutation tool. The prose is dense and heavily em-dashed, which makes it slower to scan than it needs to be, and a few clauses (nought/agreed overlap) could be tightened.

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?

With no output schema, the description carries the return burden and does so for the preview path ('answer what each change selects and would change'), and it covers ordering via the schema's note plus atomicity. What is missing is what a non-preview call returns and whether partial application is ever possible beyond the all-or-nothing statement, though the latter is answered.

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?

Schema description coverage is 100% and the per-field descriptions are already detailed, so the baseline is 3. The description still adds framing the schema does not: that `entries`, `where`, and `all` are alternative selectors for the same change, that `set` keys are local column names with typed values (number, category word, YYYY-MM-DD, null to clear), and that values in a worked-out column override the formula's result.

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 set (set, clear, remove) against a specific resource (a table's existing entries) and immediately grounds it in concrete tasks: fill a column, correct a field, code lines, drop duplicate lines. The phrase 'existing entries' implicitly separates it from the sibling entries_add, which handles new entries, so an agent can route 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 Guidelines4/5

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

Gives real selection guidance: pick entries by `entries` (uids from ledger_get), by `where`, or `all`, and 'run with `preview` first when a change reaches many lines.' It also states the gating conditions for `agreed`, `extend`, and `suggested`. It stops short of explicitly naming when to use a sibling instead (e.g. entries_add for new lines), which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources