Skip to main content
Glama

prepare_activity_sync

Preview which Callsheet activity-log rows will become completed Salesforce activities, matching accounts by company name and holding ambiguous or already-logged rows before sync.

Instructions

Step 1 of 2: preview logging Callsheet activity-log rows in Salesforce as completed activities. Rows match an account by exact company name (or company_to_account {"Northwind": "001..."}); ambiguous ones are held back. Already-logged rows are skipped.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prepare_activity_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo
company_to_accountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: it previews rather than writes, resolves accounts by exact company name, holds back ambiguous matches, and skips already-logged rows. It does not state what the preview returns (counts, per-row status, errors), whether any state is persisted, or what happens to held-back rows downstream.

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?

Three tight sentences, front-loaded with the step number and the action, then the matching and skip rules. No filler; the parenthetical example is dense but earns its space. Slightly nested phrasing in the middle sentence slows a first read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter preview tool with no annotations and no output schema, the description covers the core semantics but leaves two gaps an agent would care about: the meaning of 'since' and what the preview actually returns. The absence of an output schema means return-shape guidance would have been valuable here.

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 0%, so the description must compensate for both parameters. It does add real meaning for company_to_account by showing the override shape ({"Northwind": "001..."}), but the 'since' parameter is never mentioned, leaving its expected format and filtering effect entirely undocumented.

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 uses a specific verb and resource: 'preview logging Callsheet activity-log rows in Salesforce as completed activities,' and frames it as 'Step 1 of 2,' which signals a preview/commit split an agent can act on. It stops short of naming the commit counterpart explicitly, so the pairing with sync_activity_log is inferred from ordering rather than stated.

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?

'Step 1 of 2: preview' gives clear situational context — this is the dry-run before a logging operation. It also states the matching rule (exact company name) and the exclusion rules (ambiguous rows held back, already-logged rows skipped), so an agent knows what conditions this tool handles versus what it silently drops. No explicit 'do not use when' or named alternative appears.

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