Skip to main content
Glama

Preview Mass Update Run

preview_mass_update_run
Read-only

What a created Mass Update run WOULD write, before it writes anything: how many records would change, and the first of them with each field before and after -- including every computed value, such as a roll-up of a mirrored custom object's rows listed into a text field, a segment label or a published score. Call it before dispatch_run. It reads the mirror and writes nothing to the CRM. warnings names what the run would leave out, such as a field another source fills (Field Sources), or that the cost gate would decline it.

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": {
      "run_id": "<run_id>",
      "connection_id": "<connection_id>"
    },
    "name": "preview_mass_update_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesThe Mass Update run to preview. Create it first.
connection_idYesThe CRM connection. Call list_crm_connections first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint=true / destructiveHint=false annotations by explaining that it reads the mirror, writes nothing to the CRM, and that `warnings` reports exclusions such as fields populated by another source (Field Sources) or a run the cost gate would decline. That discloses non-obvious side behaviors (no partial writes, gating) that the annotations alone cannot convey.

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?

Front-loads the core value proposition and uses a single dense but well-structured sentence with concrete illustrative examples of computed values. Slightly overloaded with examples, but every clause contributes to understanding what the preview contains.

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?

No output schema exists, yet the description covers the return shape (count, first records, before/after values, warnings) and the safety profile, which is strong. The only gap is that 'the first of them' never bounds how many records are previewed, leaving the preview size unspecified.

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 coverage is 100% and both parameters carry their own descriptions, so the schema does the heavy lifting. The description adds a bit of meaning by implying run_id refers to an already-created run, but it adds no format or identifier details beyond that.

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?

Names a specific verb and resource ('preview a created Mass Update run') and immediately states the scope of what is returned: record count plus the first changed records with per-field before/after, including computed values. This clearly distinguishes it from sibling 'preview_*_run' tools that preview other run types.

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?

Gives an explicit sequencing rule: 'Call it before dispatch_run', and states that the run must already exist ('What a created Mass Update run WOULD write', plus the schema note 'Create it first'). The agent knows both the prerequisite tool and the follow-up tool.

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.