Skip to main content
Glama
mailchimp-mcp

mailchimp-mcp

by tomjones

sync_mapping_preview

Read-only

Preview a sync mapping's SOQL query and merge fields for sample Salesforce records; reads data only and writes nothing.

Instructions

Return the SOQL a sync would run and the merge fields the first records would get. Reads Salesforce through the sf CLI and writes nothing.

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": {
      "mapping": "<mapping>"
    },
    "name": "sync_mapping_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoOnly the Salesforce record with this email address.
limitNoNumber of Salesforce records to preview (1-50).
mappingYesMapping name: a file in ./mappings/ without .toml, as sync_mappings lists.
created_daysNoOnly records created in the last N days.
modified_daysNoOnly records modified in the last N days.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description's job is to add context, which it does: it discloses the transport ('reads Salesforce through the sf CLI', implying CLI/auth dependency) and reinforces that nothing is written. It stops short of noting failure modes such as an unknown mapping name or missing CLI authentication.

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?

Two tight sentences with the deliverable front-loaded and the safety constraint second. No filler, no restatement of the tool name, nothing that could be cut.

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 an output schema present, the description does not need to explain return values, and it correctly spends its words on what the tool returns and that it is read-only. It is nearly complete; only error conditions (bad mapping, sf CLI auth) and the relationship to sync_mapping_validate are left out.

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 every parameter (email, limit, mapping, created_days, modified_days) is already documented in the schema. The description only echoes 'the first records' in relation to limit and merge fields, adding no new semantics; baseline 3 applies.

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 names a concrete verb and two concrete artifacts: the SOQL a sync would run and the merge fields the first records would receive. That is specific enough to distinguish it from sync_mapping_validate (which presumably checks a mapping) and sync_mappings (which lists them), though it never names those siblings explicitly.

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: 'a sync would run' plus 'writes nothing' tells an agent this is a safe dry-run inspection step, but there is no explicit when-to-use, no mention of running it before a real sync, and no pointer to sync_mapping_validate or sync_mappings as alternatives.

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