Skip to main content
Glama
dantalan

baatjie-mcp-server

by dantalan

Update Rows

baatjie_update
DestructiveIdempotent

Update rows in tanOS or sigsche tables by applying a patch to rows that match required filters; unfiltered updates are refused and changes are logged to the audit trail.

Instructions

Update rows matching a filter, in any table in either system. At least one filter is required — an unfiltered update is refused rather than rewriting the whole table. Recorded in tanOS audit_log.

Args:

  • project ('tanos' | 'sigsche'): Which system

  • table (string): Target table

  • patch (object): Columns and new values

  • filters (Filter[]): Which rows to change — must not be empty

  • actor (string): Who is writing, for the audit trail

  • response_format ('markdown' | 'json'): Output format

Returns: { "ok": true, "table": string, "action": "update", "affected": number, "rows": object[], "audit_logged": boolean }

Examples:

  • Mark a todo done -> table='todos', patch={"status":"done"}, filters=[{"column":"id","op":"eq","value":""}]

  • Close a maintenance ticket -> table='maintenance', patch={"status":"resolved","resolved_at":"2026-08-08T12:00:00Z"}, filters=[{"column":"ticket_id","op":"eq","value":""}]

Error Handling:

  • Empty filters are rejected with an explanation

  • Unknown columns in the patch are reported by name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actorNoWho is performing this write, recorded in tanOS audit_log (e.g. 'baatjie', 'marius-ai', 'deon-ai')mcp
patchYesColumns to set
tableYesTarget table
filtersNoFilters combined with AND. Example: [{"column":"status","op":"eq","value":"open"}]
projectYesWhich system: 'tanos' (property OS, pipeline, sequencing) or 'sigsche' (signal scheduler)
response_formatNoOutput format: 'markdown' for human-readable, 'json' for machine-readablemarkdown
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds substantial context: updates are 'Recorded in tanOS audit_log,' empty filters are rejected, and unknown columns are reported by name. This goes beyond the binary annotations to explain real behavioral safeguards.

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?

The description is well-structured with Summary, Args, Returns, Examples, and Error Handling sections, front-loaded with the core purpose. It is lengthier than minimal, but every section provides useful information relative to the tool's complexity.

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 nested filters, two systems, and no output schema, the description compensates by documenting the return format and error behaviors. It leaves no major gaps for invocation, though exact output semantics (e.g., 'affected' meaning) are left to the schema-less return description.

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?

The input schema covers 100% of parameters, but the description adds value with examples of filter structures, a clarification that 'filters must not be empty,' and an explanation of the project enum. While the Args list largely repeats schema descriptions, the examples and additional constraints improve semantic clarity.

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?

The description opens with 'Update rows matching a filter, in any table in either system,' which specifies the verb (update), resource (rows in any table), and scope (two systems). This differentiates it from specialized siblings like baatjie_update_todo, making the purpose unambiguous.

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?

It clearly implies general-purpose use ('in any table in either system') and includes a critical safety guideline: 'an unfiltered update is refused rather than rewriting the whole table.' However, it does not explicitly name alternatives or when-not-to-use scenarios, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dantalan/baatjie-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server