Skip to main content
Glama

Update connection settings

update_settings
Destructive

Partially update a connection's cleaning settings — manual_mode, autofloss, decay_protection, aggressiveness, per-check gates (PATCH /v1/integrations/{type}/connections/{id}). CHANGES THE ACCOUNT and can change which subscribers get removed. Omitted fields are left unchanged.

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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesConnection id.
typeYesESP slug, e.g. `klaviyo`, `mailchimp`, `brevo`.
actionNoSet the auto-action mailfloss takes on invalid emails for this connection: `delete` (remove), `unsubscribe`, `do_nothing` (scan only), or `update_custom_fields` (auto-update the contact’s custom fields). The first three are not plan-gated; `update_custom_fields` is the "Auto-Update Attributes" feature and returns 403 unless the plan includes it (Pro) or the Auto-Update Attributes add-on is active. Returns 422 for ESPs that cannot perform the chosen action (e.g. `delete` on ConvertKit / MailerLite / Klaviyo / Moosend / Remarkety / Attentive; `unsubscribe` on ClickFunnels). The auto-action and Manual Mode are INDEPENDENT settings (as in the dashboard): setting an action leaves `manual_mode` unchanged, and the two may be sent together. The read shape additionally exposes `update_tags` (dashboard-only, not writable). Reads back as `settings.action`.
checksNoPartial set of the 12 floss check gates to update. Each is optional; omitted gates keep their current value. Editing ANY gate switches the connection to `custom` aggressiveness. Unknown gate names are rejected.
autoflossNoToggle Autofloss (scheduled daily auto-import + clean) for this connection. Paid-plan feature: returns 403 on the free tier, and 422 for integrations that do not support Autofloss (e.g. beehiiv, clickfunnels). The resulting state reads back as `settings.autofloss`; Instafloss is the separate `settings.instafloss` flag.
manual_modeNoToggle Manual Mode for this connection. When enabled, addresses that fail verification are held for you to review/action in the dashboard instead of being auto-removed. Mode-independent — does not change the aggressiveness preset.
aggressivenessNoSet the aggressiveness preset. "normal"/"aggressive" cascade canonical values to all 12 gates; "custom" detaches from a preset without changing gate values. Mutually exclusive with `checks` in one request.
decay_protectionNoToggle Decay Protection (periodic re-verification of aging contacts) for this connection. Paid-plan feature: returns 403 on the free tier. Enabling resets any custom decay scheduling to the default. Reads back as `settings.decay_protection`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds material context beyond them: the change is account-level and can alter which subscribers get removed, and omitted fields are preserved. It omits other behavioral facts that live only in the schema (the 403/422 plan gating and the checks-vs-aggressiveness mutual exclusivity), but on its own it substantially improves the agent's risk picture.

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?

Two sentences, front-loaded with the action and field list, then the consequence warning and the omitted-fields rule. The parenthetical endpoint after the field enumeration interrupts the flow slightly, but no sentence is wasted.

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 an eight-parameter, nested-object mutation with no output schema, the description covers what it does, that it is partial, and why it is risky, while the schema carries the detailed per-parameter contracts. It could go further on prerequisites and the plan-gating consequences, but nothing essential to calling it correctly is missing.

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%, so the schema already carries the semantics of all eight parameters, including enums, plan gating and the checks/aggressiveness exclusivity. The description adds only the general partial-update rule, which the schema also states per-field, so it neither compensates for a gap nor meaningfully deepens parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb and resource ('Partially update a connection's cleaning settings') and enumerates the writable fields plus the underlying PATCH route, so the agent knows exactly what is being modified. It stops short of naming how this differs from siblings, but no sibling in the list performs an update, so the gap is minor.

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 rather than stated: the partial-update contract ('Omitted fields are left unchanged') tells the agent this is for incremental edits rather than full replacement. There is no explicit when-to-use/when-not guidance and no pointer to alternatives such as get_connection for reading current values or resync_integration for unrelated operations.

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