Skip to main content
Glama

ccpcrate — Canadian CCPC corporate tax

Salary or dividends for an owner-manager

ccpcrate_compensation
Read-onlyIdempotent

For a corporation's income before its owner's remuneration, compute what each way of taking it out costs and leaves: a salary, a dividend, or a mix. Per scenario it runs the payroll contributions and employer levies on the salary, the corporate return on what is left with the dividend paid out of it (designated eligible up to the GRIP, with the dividend refund), and the owner's personal return (federal T1 with Ontario's ON428 or Québec's TP-1). Give scenarios, or none for a sweep of the salary from nothing to the most the income can pay. Returns the totals, the cash in the owner's hands, what stays in the corporation, the cheapest scenario, and with detail "full" the lines of the three layers. Ontario and Québec, 2025 and 2026. The reasonableness of a salary, income splitting and the minimum tax are not assessed, and the result says so. Free during the launch period; the planned price is 0.25 USDC for up to 5 scenarios, 0.5 for a sweep or a longer list.

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": {
      "calendarYear": "<calendarYear>",
      "province": "<province>",
      "incomeBeforeRemuneration": "<incomeBeforeRemuneration>"
    },
    "name": "ccpcrate_compensation"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNoOntario options
qcNoQuébec options
detailNoHow much each scenario returns: "full" adds the lines of the three layers (payroll, corporation, personal return); "totals" keeps the totals and facts. Default: full for listed scenarios, totals for a sweep
provinceYesProvince of the corporation and of the owner's residence. Ontario or Québec in this release
scenariosNoThe salary / dividend combinations to compute. Omit for a sweep of the salary from 0 to the most the income can pay, each with the remainder as a dividend
sweepStepNoStep of the salary sweep when no scenarios are given. Default 5,000
corporationNoThe corporation's context, as in ccpcrate_resolve: groupAaiiPriorYear (line 417, required whenever a business limit is claimed), businessLimitAllocated, rdtohOpening, gripOpening, aggregateInvestmentIncome, and for Québec qc.hours07aCurrentYear / hours07bGroupPriorYear. Its income, dividends and province are set by this tool
eiInsurableNoWhether the owner's employment is insurable under the EI Act. Default false: a shareholder controlling more than 40 % of the voting shares is not
calendarYearYesCalendar year of the salary, the dividend and the owner's return. 2025 or 2026
otherPayrollNoRemuneration the employer pays to its other employees in the year. Sets the Québec health services fund rate and the Ontario employer health tax exemption. Default 0
otherPersonalIncomeNoThe owner's other income of the year, taxed in full (interest, pension). It fills the brackets with the salary and dividend
incomeBeforeRemunerationYesThe corporation's active business income for the year BEFORE the owner's salary and the employer's contributions and levies on it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare read-only, closed-world and idempotent; the description goes well beyond by disclosing jurisdiction and year coverage (Ontario/Québec, 2025–2026), the exact modelling layers run per scenario, the explicit non-assessed items, and the pricing/rate-limit structure (free at launch, then 0.25 USDC for up to 5 scenarios, 0.5 for a sweep or longer list). That is exactly the behavioural context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and scope are front-loaded in the first sentence, with mechanics, limits and pricing following in a logical order. The prose is dense with stacked clauses and the pricing sentence is long, but no sentence is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, nested, no-output-schema tool, the description covers what the agent needs: inputs accepted, sweep fallback, what the result contains (totals, cash to owner, retained cash, cheapest scenario, full layer detail), jurisdiction/year limits, and known omissions. The remaining parameter detail is fully carried by the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the nested corporation/scenario objects are thoroughly documented in-schema, so the baseline is 3. The description restates the sweep-on-omission behaviour and the 'full' vs 'totals' detail distinction, but these are already spelled out in the schema, so it adds little new parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: compute the cost and after-tax result of each way of extracting corporate income (salary, dividend, or mix). It bounds the input precisely ('income before its owner's remuneration') and names the outputs, so an agent can tell this is the compensation-planning tool rather than the explain, group, resolve, or rules siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit mode guidance ('Give scenarios, or none for a sweep of the salary from nothing to the most the income can pay') and states the boundaries of the analysis: reasonableness of salary, income splitting and minimum tax are not assessed. What is missing is any routing to a sibling (e.g. for multi-corporation or rule-lookup questions), so the agent must infer that itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources