MCP tools

Every tool on the hosted MCP server, and which connections get it.


These are the tools at https://relay.autotally.ai/mcp. To connect, see MCP.

What each scope gets

Scope Tools listed Effect of a committed write
Read The 40 read tools No write tools are listed, and a write is refused
Propose 40 read + 27 write = 67 Waits for a person to approve it
Write 40 read + 27 write = 67 Goes to Tally without a person, unless a safety check holds it

Use Test on a connection and it reports how many tools that connection has.

Read tools answer from your synced copy, so they work when the Tally computer is off and can be slightly stale. Passing fresh=true still returns the synced copy and asks for a sooner refresh. It does not read Tally. Call tally_status to see when a company last synced. See Synced data and freshness.

Document tools are not on MCP. That covers uploading, reading and filing bills and statements, and passing documentIds to tally_create_voucher is refused. tally_intent_supersede, which withdraws a queued entry, is not on MCP either.

Read tools

Connection and status

Tool What it does
tally_health Checks whether your Tally is reachable through the extension
tally_status Shows when each company last synced, and box connectivity
tally_intent_status Follows a committed write by its intentId
tally_list_companies Lists the companies in the workspace
tally_get_statistics Master and voucher counts for a company

Accounts

Tool What it does
tally_list_ledgers Lists ledgers, with search and paging
tally_get_ledger One ledger by exact name, with balances, GST, contact and credit details
tally_list_groups Lists account groups
tally_list_cost_categories Lists cost categories
tally_list_cost_centres Lists cost centres
tally_list_currencies Lists currencies
tally_list_voucher_types Lists voucher types
tally_list_budgets Lists budgets
tally_list_scenarios Lists scenarios by name and active period

Inventory

Tool What it does
tally_list_stock_items Lists stock items
tally_get_stock_item One stock item by exact name, in full
tally_list_stock_groups Lists stock groups
tally_list_stock_categories Lists stock categories
tally_list_units Lists units of measure
tally_list_godowns Lists godowns
tally_item_analytics Sale and purchase prices, quantities, stock movement and order book for items

Vouchers

Tool What it does
tally_list_vouchers Lists vouchers in a date range, optionally by type
tally_get_voucher One voucher by GUID, with its full body

Parties and collections

Tool What it does
tally_outstandings Bill-wise receivables and payables, with due dates and ageing
tally_collections_summary Totals, overdue totals and the top overdue parties
tally_party_analytics Last transaction, sales and purchase totals, average days to pay

Reports

Tool What it does
tally_trial_balance Trial balance for a period
tally_profit_and_loss Profit and loss for a period
tally_balance_sheet Balance sheet as at a date
tally_cost_centre_report Spend and income by cost centre for a period

GST and TDS

Tool What it does
tally_list_gst_registrations Lists GST registrations
tally_list_tds_rates Lists TDS and TCS rate masters
tally_gstr1_report GSTR-1 for a period
tally_gstr3b_report GSTR-3B for a period
tally_hsn_summary HSN-wise summary of supplies
tally_tds_deductions_report TDS and TCS deduction register

Payroll

Tool What it does
tally_list_employees Lists employees
tally_list_employee_groups Lists employee groups
tally_list_pay_heads Lists pay heads
tally_list_attendance_types Lists attendance and production types

Write tools

Every write tool is a dry run unless called with commit: true. Committing needs companyGuid, and every call needs an idempotencyKey. A commit returns an intentId: follow it with tally_intent_status. See Write safety.

Amounts on voucher entries are positive for debit and negative for credit, and must net to zero.

Vouchers

Tool What it does
tally_create_voucher Create a voucher
tally_alter_voucher Replace a voucher. Anything you omit is dropped, so send all of it
tally_delete_voucher Delete a voucher

Ledgers

Tool What it does
tally_create_ledger Create a ledger
tally_alter_ledger Change only the fields you set; newName renames
tally_delete_ledger Delete a ledger. Tally refuses if it has transactions

Groups

Tool What it does
tally_create_group Create a group
tally_alter_group Change only the fields you set
tally_delete_group Delete a group. Tally refuses if it is in use

Stock items

Tool What it does
tally_create_stock_item Create a stock item
tally_alter_stock_item Change only the fields you set
tally_delete_stock_item Delete a stock item. Tally refuses if it has transactions

Units and godowns

Tool What it does
tally_create_unit Create a unit
tally_alter_unit Change only the fields you set
tally_delete_unit Delete a unit. Tally refuses if it is in use
tally_create_godown Create a godown
tally_alter_godown Change only the fields you set
tally_delete_godown Delete a godown. Tally refuses if it is in use

Other masters

Tool What it does
tally_create_stock_group Create a stock group
tally_create_cost_centre Create a plain cost centre
tally_create_cost_category Create a cost category
tally_create_currency Create a currency; name is the symbol

Payroll

Tool What it does
tally_create_employee_group Create an employee group
tally_create_employee Create an employee
tally_create_pay_head Create a pay head; calculationType is required
tally_create_attendance_type Create an attendance type
tally_create_unit_of_attendance Create a unit of attendance

There are no alter or delete tools for the masters in the last two groups.

Errors

A tool that fails returns an error result with the code and message, such as Error: gate_blocked: .... See Errors.