Skip to Content

link_client_crm

Link a client to a record in a connected CRM (GlobalyOS or Agentcis), so forms can be prefilled from it and signed PDFs go back to it.

asks firstChanges something in your workspace, so clients ask you before running it.

What it does

Link a client to a record in a connected CRM (GlobalyOS or Agentcis), so forms can be prefilled from it and signed PDFs go back to it. Take source_id, entity and record_id from a search_clients crm.results hit's recordRef. A client has at most one link per CRM, and a record links to one client (409 otherwise); 422 when that CRM isn't connected or has no such record. Linking the same record again returns the link unchanged. Returns the link (id, crm, label, url).

Inputs

NameTypeDescription
client_idrequiredstringThe client's id (from search_clients).Up to 64 characters
source_idrequiredstringrecordRef.sourceId from search_clients' crm.results.Up to 200 characters
entityrequiredstringrecordRef.entity.Up to 100 characters
record_idrequiredstringrecordRef.recordId.Up to 200 characters

Call it

Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "link_client_crm",
    "arguments": {
      "client_id": "<client_id>",
      "source_id": "<source_id>",
      "entity": "<entity>",
      "record_id": "<record_id>"
    }
  }
}

Input schema

The JSON Schema the server lists for this tool in tools/list.

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "client_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "The client's id (from search_clients)."
    },
    "source_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "recordRef.sourceId from search_clients' crm.results."
    },
    "entity": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "recordRef.entity."
    },
    "record_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "recordRef.recordId."
    }
  },
  "required": [
    "client_id",
    "source_id",
    "entity",
    "record_id"
  ]
}

On this page