Skip to main content
Glama

Push leads to the CRM

sync_crm
Destructive

Push leads from a table to your connected HubSpot or Attio CRM as contacts, matched by email to prevent duplicates. Call without row_ids to sync every unsynced or changed row, 100 per call.

Instructions

Push leads (rows) to the workspace's CRM (HubSpot or Attio) as contacts, matched by email so nothing is duplicated; HubSpot also gets the stage as Lead status. Leads Meerko has contacted sync on their own when auto-sync is on, so this is for leads the user wants there now. Without row_ids it pushes every row not yet pushed or changed since, 100 per call; remaining says how many are left, and synced 0 means the call pushed nothing. Rows without an email are skipped. The user connects the CRM in the dashboard's Connections, where its token stays: it doesn't go through chat.

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": {
      "table_id": "<table_id>"
    },
    "name": "sync_crm"
  }
}

Input Schema

NameRequiredDescriptionDefault
row_idsNo
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare openWorld/destructive/non-read-only; the description adds substantial behavior beyond them: dedupe by email, HubSpot lead-status mapping, batching of 100 per call, the meaning of `remaining` and `synced`=0, skipping rows without email, and that the CRM token lives in the dashboard Connections rather than chat.

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-loaded with purpose and then defaults; every clause carries information. It is dense with semicolons and multiple ideas per sentence, so slightly harder to scan than ideal.

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?

Covers defaults, batching limits, skip rules, result counters, and auth setup, which is thorough for a two-parameter external-write tool with no output schema. Only the table_id parameter and explicit warning about writing to a live external CRM remain underdescribed.

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 0%, so the description must carry the burden. It explains row_ids semantics (omitted means all pending rows, capped at 100 per call, matching maxItems), but never explains what table_id refers to beyond the obvious name.

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+destination: pushing table rows to the workspace's CRM (HubSpot or Attio) as contacts, matched by email. Clearly distinguishes this from the automatic auto-sync path by saying it is 'for leads the user wants there now.'

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?

Explicitly routes usage: auto-sync handles leads Meerko has already contacted, so this tool is for leads the user wants pushed now. It also defines the default behavior when row_ids is omitted (push all not-yet-pushed or changed rows).

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