create_client
Add a client to the workspace.
asks firstChanges something in your workspace, so clients ask you before running it.
What it does
Add a client to the workspace. Returns the new client as get_client does. The email must not belong to another live client (409: use search_clients and update that one instead). With no owner_user_id, you own it when you are a workspace member; a client made with an API key has no owner. fields sets custom values by field id (see list_client_fields). When the person comes from a CRM search hit, pass crm_record so the new client is linked to that GlobalyOS or Agentcis record. Past documents sent to the email join the client. Masked values (•••123) can't be sent back: ask the person for the full number.
Inputs
| Name | Type | Description |
|---|---|---|
namerequired | string | Up to 200 characters |
email | string | null | Up to 254 characters |
phone | string | null | Up to 40 characters |
company_id | string | null | An existing company's id (from a client's company.id). |
notes | string | Up to 10000 characters |
owner_user_id | string | null | A workspace member's user id; default you. |
fields | object | Custom values by field id: { "<field id>": value } (types in list_client_fields). |
crm_record | object | The CRM record this client is made from. |
source_idrequired | string | recordRef.sourceId from search_clients' crm.results.Up to 200 characters |
entityrequired | string | recordRef.entity.Up to 100 characters |
record_idrequired | string | recordRef.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": "create_client",
"arguments": {
"name": "<name>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"email": {
"type": [
"string",
"null"
],
"maxLength": 254
},
"phone": {
"type": [
"string",
"null"
],
"maxLength": 40
},
"company_id": {
"type": [
"string",
"null"
],
"description": "An existing company's id (from a client's company.id)."
},
"notes": {
"type": "string",
"maxLength": 10000
},
"owner_user_id": {
"type": [
"string",
"null"
],
"description": "A workspace member's user id; default you."
},
"fields": {
"type": "object",
"additionalProperties": true,
"description": "Custom values by field id: { \"<field id>\": value } (types in list_client_fields)."
},
"crm_record": {
"type": "object",
"additionalProperties": false,
"properties": {
"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": [
"source_id",
"entity",
"record_id"
],
"description": "The CRM record this client is made from."
}
},
"required": [
"name"
]
}get_client
One client's full record: name, email, phone, company, owner, notes, every custom field with this client's value (null when unset), document counts, and its CRM links (which GlobalyOS or Agentcis record it is linked to).
update_client
Change a client's own details: only the keys you pass change (null clears email, phone, company or owner).