Connect a data source
connect_sourceAdd the user's data to datatomcp. With a url (a public CSV or Excel link, or a Google Sheet shared as anyone with the link), the data is added now and you can query it at once. Otherwise you get one link to give the user: it opens the right form (Google Sheet picker, file upload, PostgreSQL, MySQL, Stripe, HubSpot, Airtable). Credentials are typed there, never in the chat. When the user says it's done, call workspace_overview and carry on with their question. Data stays read-only.
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": {
"source": "<source>"
},
"name": "connect_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Only for link or google_sheet: a public link to the file or sheet | |
| name | No | ||
| source | Yes | ||
| workspace_id | No |