search_clients
Find clients by name, email or phone.
readOnly reads. Clients can run it without asking you.
What it does
Find clients by name, email or phone. Returns the workspace's AppliFlo clients (id, name, email, phone, company, owner, open and completed document counts, CRM links) and, when include_crm is on (the default) and the query has at least 2 characters, matching people in the connected CRMs (GlobalyOS or Agentcis) under crm.results, each with a recordRef {sourceId, entity, recordId}. Use it first whenever the user names a client. A CRM person who is not yet an AppliFlo client can be added with create_client (pass crm_record to link it), or linked to an existing client with link_client_crm. Without a query it lists clients, most recently active first. Use get_client for one client's full record, custom fields included.
Inputs
| Name | Type | Description |
|---|---|---|
query | string | Name, email or phone to look for. Omit to list clients.Up to 100 characters |
scope | string | workspace (default): every client; mine: clients you own.One of: workspace, mine |
status | string[] | Only clients with open documents, all completed, or none. |
trash | boolean | true: only clients in the Trash. |
sort | string | One of: last_activity, name, created |
page | integer | At least 1 |
limit | integer | Clients per page, 1 to 50 (default 25).1 to 50 · Default: 25 |
include_crm | boolean | Also search the connected CRMs (default true). Members and up only. |
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": "search_clients",
"arguments": {}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"query": {
"type": "string",
"maxLength": 100,
"description": "Name, email or phone to look for. Omit to list clients."
},
"scope": {
"type": "string",
"enum": [
"workspace",
"mine"
],
"description": "workspace (default): every client; mine: clients you own."
},
"status": {
"type": "array",
"items": {
"type": "string",
"enum": [
"has_open",
"all_completed",
"no_documents"
]
},
"description": "Only clients with open documents, all completed, or none."
},
"trash": {
"type": "boolean",
"description": "true: only clients in the Trash."
},
"sort": {
"type": "string",
"enum": [
"last_activity",
"name",
"created"
]
},
"page": {
"type": "integer",
"minimum": 1
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 25,
"description": "Clients per page, 1 to 50 (default 25)."
},
"include_crm": {
"type": "boolean",
"description": "Also search the connected CRMs (default true). Members and up only."
}
}
}set_fixed_value
Put a value in boxes on every send, filled in by you before it goes (Fixed).
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).