Write Back CRM Segments
crm-writeback-segmentsWrites saved company segments when the user wants each company's segment label written onto its CRM record — e.g., "tag my HubSpot companies with their market segment."
Takes the saved segmentation query's ID and writes each company's segment label onto the CRM record matched by domain — a DiscoLike Segment property on HubSpot/Pipedrive, a "DiscoLike segment:" line inside Description on Salesforce. Unclustered companies are skipped. Runs as a background job.
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": {
"provider": "<provider>",
"query_id": "<query_id>"
},
"name": "crm-writeback-segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Why you are calling this tool, in a few words. No names or emails. | |
| provider | Yes | CRM provider whose records should be tagged | |
| query_id | Yes | ID of the saved segmentation query (equals the segment task_id) | |
| llm_model | No | Your model id, or "unknown". | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _mcp_instructions | No | Server-issued metadata for this conversation. |