dataSights

AI Connect (the dataSights MCP): every tool by name

Last updated

AI Connect is the dataSights MCP server. It connects Claude, ChatGPT, Microsoft Copilot or any MCP-compatible AI tool to your dataSights database: your consolidated Xero data across every entity, plus every other system you sync. Through it, an AI tool can query your data in SQL, build views and tables, set up consolidation, and post invoices, bills, journals and more to one or many Xero organisations at once. It can also search products and create draft sales orders and stock transfers in Cin7 Core.

This page lists all 46 tools by the exact name your AI tool sees. For the plain-English version, see The operations our MCP enables.

Three things to know first

  • It is MCP-to-SQL and MCP-to-API. Questions are answered with SQL against your own database, so one query covers every entity and full history. Changes to Xero and Cin7 Core go through their APIs. See MCP-to-SQL vs MCP-to-API (ours does both).

  • It reads the consolidated layer. Mapping, eliminations, journal adjustments and FX are already applied, so group questions get group answers.

  • Every tool is governed by a permission. What one person can do is a subset of this list, set in Users, roles & permissions. The AI only sees the tables you expose.

In the Effect column: Read changes nothing. None changes nothing in your database or in Xero. Your database writes to your dataSights database only. Xero writes to your live Xero organisations. Most AI tools ask you to approve each change before it runs. To be safe, ask it to show you what it will post and wait for your yes. Cin7 Core creates a record in your Cin7 Core account, as a draft unless you ask otherwise.

1. Read your data

Tool

What it does

Effect

list_views

Lists the tables and views your AI can see, each with its description.

Read

describe_view

Shows a table's columns, data types and what each column means.

Read

query

Runs a read-only SQL SELECT against any exposed table or view. Runs for up to five minutes, enough for group-wide, all-history questions.

Read

get_xero_sync_status

Lists connected Xero organisations, which data points are on, and whether each is synced, syncing or errored.

Read

download_xero_trial_balance_report

Downloads the Trial Balance live from Xero between two dates, for up to 10 organisations per call. It comes straight from Xero, not from your synced data, and is not consolidated, converted or eliminated. Needs the Download Trial Balance Reports permission.

Read

search_help

Searches the dataSights help guides.

Read

get_help_article

Reads a help guide in full, so the AI can answer "how do I" questions about the platform.

Read

2. Build in your own database

Tool

What it does

Effect

create_report_view

Saves a SQL query as a view in your database, ready for Excel, Power BI, a web app or the next conversation. An existing view is never altered; a new version is created instead.

Your database

add_view

Exposes an existing table or view to your AI tool.

Your database

generate_view_description

Writes a plain-language description of a table and its columns, so the AI queries it correctly.

Your database

create_user_table

Creates your own table: budgets, targets, mappings, lookups, findings.

Your database

list_editable_tables

Lists the tables you own and can change.

Read

describe_editable_table

Shows the columns of one of your tables.

Read

add_table_column

Adds a column to one of your tables.

Your database

edit_table_column

Renames a column or changes its type.

Your database

delete_table_column

Drops a column from one of your tables.

Your database

save_table_data

Replaces all rows in one of your tables.

Your database

upsert_table_rows

Inserts or updates rows by key, up to 1,000 per call, leaving other rows untouched.

Your database

delete_table_rows

Deletes chosen rows from one of your tables.

Your database

Connector and system tables cannot be changed with these tools. Only tables you own can.

3. Consolidation

The same rules as the Elimination & Mapping screen and the custom report designer.

Tool

What it does

Effect

get_xero_consolidation_report_structure

Reads a reporting group's report layout: account groups, sub groups and mapped accounts.

Read

save_xero_consolidation_report_mapping

Renames parent groups, adds or removes sub groups, and maps accounts.

Your database

save_xero_consolidation_custom_report

Creates or edits a custom P&L, balance sheet or cash flow summary template, including formula rows and custom columns.

Your database

get_xero_consolidation_account_eliminations

Reads auto eliminations by account.

Read

save_xero_consolidation_account_eliminations

Adds, replaces or deletes auto eliminations by account (intercompany loans, management fees).

Your database

get_xero_consolidation_contact_eliminations

Reads auto eliminations by contact.

Read

save_xero_consolidation_contact_eliminations

Pairs two entities' contacts so what they owe each other and traded is eliminated, whatever accounts it was coded to.

Your database

get_xero_consolidation_journal_adjustments

Reads consolidation-only journal adjustments.

Read

save_xero_consolidation_journal_adjustments

Adds, replaces or deletes consolidation-only journal adjustments.

Your database

clone_board_pack_and_kpi_report

Creates next period's board pack and KPI report as a draft from a published one. The original is never changed.

Your database

4. Post to Xero

Each posting tool works across many Xero organisations in one call, up to 200 records at a time, through the same validated path as the Office Add-In.

Tool

What it does

Effect

upload_xero_invoices

Creates sales invoices and supplier bills (negative totals become credit notes), as draft, submitted or approved.

Xero

update_xero_invoices

Updates existing invoices and bills, including approving them.

Xero

upload_xero_purchase_orders

Creates purchase orders.

Xero

update_xero_purchase_orders

Updates purchase orders or marks them billed.

Xero

upload_xero_manual_journals

Posts balanced manual journals, draft or posted, with tracking and optional auto-reversal.

Xero

upload_xero_contacts

Creates or updates contacts.

Xero

upload_xero_accounts

Creates or updates accounts in the chart of accounts.

Xero

create_xero_attachment_upload

Gets a one-time upload link for a larger file. Nothing reaches Xero until upload_xero_attachments attaches it.

None

upload_xero_attachments

Attaches PDFs and documents to existing Xero records, up to 20 per call.

Xero

upload_xero_history_notes

Adds a note to a Xero record's History and Notes, such as "posted via Claude".

Xero

trigger_xero_sync

Re-syncs the organisations and data points you choose, so the AI can check what it just posted. The AI is told to confirm the choice with you first.

Reads from Xero into your database

5. Cin7 Core

For clients with Cin7 Core connected. Needs the Cin7 Core permission, and the two create tools each need their own permission. Every create tool defaults to a draft, so nothing is authorised or moved until a person reviews it in Cin7 Core.

Tool

What it does

Effect

search_cin7_products

Searches products live in Cin7 Core by SKU and returns up to 50 matches with product ID, SKU, name, barcode, category, brand, unit of measure, status, price tier 1 and average cost. Use it to confirm a product before creating an order or transfer.

Read

create_cin7_sales_order

Creates a sales order from a customer, a stock location and up to 200 lines. Draft unless you ask for it to be authorised. Calling it twice creates two orders.

Cin7 Core

create_cin7_stock_transfer

Creates a stock transfer between two locations with up to 200 lines. Draft unless you ask for it to be ordered. Calling it twice creates two transfers.

Cin7 Core

6. Across clients

For accountants and advisors with access to more than one client.

Tool

What it does

Effect

current_client

Shows which client's database you are connected to.

Read

list_clients

Lists the clients you can access.

Read

switch_client

Moves to another client within the same conversation.

Read

How a conversation uses them

  1. Learn the data. list_views, then describe_view on the tables it needs.

  2. Answer. query, across every entity and all history at once.

  3. Keep it. create_report_view saves the logic so Excel, Power BI and the next conversation reuse it.

  4. Act. Post the journal or bills with the upload_xero_* tools, trigger_xero_sync, then query again to verify.

Query, post, sync, verify: that loop is what the AI Data Jobs month-end close is built on.

What you type

You do not need tool names, IDs or SQL. Ask the way you would ask a colleague:

  • "What was revenue by entity last quarter for the Group reporting group?"

  • "Who owed us more than 60 days as at 30 June, across all entities?"

  • "Post this month's management fee journal to every entity as a draft."

What it will not do

It cannot query a table you have not exposed, change connector or system tables, or delete Xero records. Everything it does runs as you, under your dataSights permissions, so it can only post to the organisations and record types you have been granted.

dataSights

Try dataSights free

See how dataSights automates your Xero consolidation and reporting. Start your 14-day free trial, no credit card required.

Start for free