Skip to main content
Glama
ppcvote

MindThread MCP

Apply bulk settings changes

apply_account_settings
DestructiveIdempotent

Apply a previewed batch of settings changes to up to 100 accounts, returning per-row results and a batch_id to revert within 24 hours; an idempotency key prevents duplicate writes.

Instructions

Writes a batch of settings changes to up to 100 accounts, each account in its own transaction, and returns a per-row result (ok, unchanged, or failed with the reason) and a batch_id that revert_account_settings_batch can undo within 24 hours. idempotency_key is required: a retried request with the same key returns the first result instead of writing twice. Changes to run mode, auto-posting or review before publish affect posting right away and need confirm_sensitive:true, and that confirmation may wait for the owner's approval. Nothing is written without a preview: from a Claude or ChatGPT connection the preview_id from preview_account_settings is required, and a preview_id that does not match the changes is refused. Applies after the user has seen the preview and confirmed it. 繁中:套用批次變更(每帳號一個交易、24 小時內可復原),敏感欄位要 confirm_sensitive,目錄連線一定要先預覽並帶 preview_id。

Input Schema

NameRequiredDescriptionDefault
csvNoInstead of changes: a CSV in the website download format (UTF-8)
reasonNoOptional note stored with the batch, up to 200 characters
changesNoUp to 100 entries: { account_id, set: { column: value }, base?: { column: value you saw } }. Columns and allowed values: list_account_settings columns, or https://mindthread.tw/accounts/bulk/rules
preview_idNopreview_id from preview_account_settings (required from Claude and ChatGPT connections)
idempotency_keyYes8-200 characters; reuse the same key when retrying the same request
confirm_sensitiveNotrue when the batch changes run mode, auto-posting or review before publish

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, openWorld=false, but the description adds substantial context: per-account transactions, three-way per-row outcome (ok/unchanged/failed with reason), a 24-hour revert window via batch_id, and the fact that sensitive-field confirmation may block on owner approval. It doesn't describe rate limits or what happens to rows beyond 100, keeping it 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?

One dense paragraph that front-loads the write semantics, result shape and revert path before the constraints. Every sentence carries information, though the trailing 繁中 restatement duplicates content already given in English.

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?

With no output schema, the description carries the return contract itself (per-row ok/unchanged/failed plus reason, and batch_id), and it covers the transactional guarantee, the idempotency contract and the preview gate. An agent has everything needed to invoke this destructive bulk write correctly.

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 coverage is 100%, so the baseline is 3; the description still adds meaning by stressing that idempotency_key is required and that a retried request with the same key returns the first result, and that a preview_id not matching the changes is refused. confirm_sensitive gains the consequence that confirmation may wait for owner approval, which the schema does not say.

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+resource+scope: writes a batch of settings changes to up to 100 accounts, each in its own transaction, returning per-row results and a batch_id. It is clearly distinguished from preview_account_settings (must be called first), update_account_settings (single-account sibling) and revert_account_settings_batch (the undo path).

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?

Explicit ordering rule: nothing is written without a preview, preview_id from preview_account_settings is required from Claude/ChatGPT connections, and the tool applies only after the user has seen and confirmed the preview. It also names the undo alternative (revert_account_settings_batch within 24h) and the case that requires confirm_sensitive:true.

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