Skip to main content
Glama

ccpcrate — Canadian CCPC corporate tax

Resolve an associated group

ccpcrate_group
Read-onlyIdempotent

Compute a whole associated group (s.256) in one call: federal line 417 as the sum of the members' prior-year adjusted investment income, the Schedule 23 allocation of the business limit, and every member's return in payer-before-recipient order so that a connected dividend's Part IV under s.186(1)(b) is filled in from the payer's own refund instead of being asked for. Returns each member's lines plus what the grind costs the group and which member causes it — the case a single-corporation computation cannot show. Free during the launch period; the planned price is 0.25 USDC for the group and its first 2 computed members, 0.05 per additional member, never more than 1.

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": {
      "members": "<members>"
    },
    "name": "ccpcrate_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
membersYesThe associated corporations (s.256). A member with no input still counts toward line 417. Order does not matter — the engine computes payers before recipients
taxYearNoThe group's taxation year, used to read the statutory business limit when no member computes
groupAaiiPriorYearNoFederal line 417 for the group, when the per-member figures are not available. A member's own input.groupAaiiPriorYear still wins

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / members / items / properties / input / properties / gripOpening
      Added value: +{
      +  "description": "GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward",
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior — payers are computed before recipients so s.186(1)(b) is filled from the payer's own refund rather than asked for, and it discloses pricing tiers. It does not describe error or warning behavior, so it adds context but not a full picture.

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?

Front-loaded with the core action and scoped with a colon into the specific computations, which is efficient. The single em-dash-chained sentence is dense, and the pricing sentence, while relevant, sits awkwardly at the end of a technical description.

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?

Without an output schema the description carries the return-value burden, and it does: each member's lines, the group cost of the grind, and which member causes it. Combined with the order-independence note and the required-input hint that a member may contribute only to line 417, nothing essential for a correct call is missing.

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 coverage is 100%, so the baseline is 3, and the description does add meaning by explaining that member order is irrelevant and that connected-dividend cascade fields are derived rather than supplied. However, it never touches the individual member fields (id, priorYearAaii, input) at the level the schema already does, so it stays at baseline rather than exceeding it.

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?

States a specific verb and resource — 'Compute a whole associated group (s.256) in one call' — and names the outputs (line 417, Schedule 23 allocation, each member's lines). It also explicitly contrasts with the single-corporation case, so an agent knows this is the multi-member variant rather than a single-return resolver.

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?

The definition makes clear you use it when several associated corporations must be computed together, and notes that ordering does not matter because the engine sequences payers before recipients. It stops short of explicitly naming which sibling to use for a lone corporation, leaving that inference to the agent.

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