Skip to main content
Glama

US Tax Estimator

Screen a non-U.S. life insurance policy under IRC §7702

screen_foreign_life_insurance_7702
Read-onlyIdempotent

Preliminary screen of whether a non-U.S. savings-type life insurance policy (for example a Hong Kong whole-life or savings plan) meets the U.S. definition of life insurance under IRC §7702, using the cash value accumulation test (CVAT) and the cash value corridor, from the policy's cash value table. A policy that fails is taxed each year on its inside growth (§7702(g)). Values in any one currency (ratios do not depend on currency). Does not check the guideline premium limit.

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": {
      "issue_age": "<issue_age>",
      "issue_year": "<issue_year>",
      "policy_years": "<policy_years>",
      "sex": "<sex>"
    },
    "name": "screen_foreign_life_insurance_7702"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexYesInsured's sex (mortality table).
issue_ageYesInsured's age at issue, completed years.
issue_yearYesCalendar year the policy was issued.
policy_yearsYesRows from the policy's illustration / cash value table; a few years such as 1, 5, 10, 20 are enough.
increasing_benefit_ruleNoFor policies whose death benefit grows by a fixed rate: lets years without a death_benefit be computed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds substantial non-obvious context: the mathematical method (CVAT + corridor), the downstream tax consequence of failure under §7702(g), and the currency-independence of the ratios. It omits any statement of what the response actually contains.

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

Conciseness5/5

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

Four dense sentences, each earning its place: purpose/method, tax consequence, currency caveat, scope limit. The core purpose is front-loaded before any qualifiers, so the agent grasps the tool in the first clause.

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

Completeness4/5

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

For a complex actuarial tool with a nested schema and no output schema, the definition is largely self-sufficient about method, scope, and limitations. The one real gap is that, absent an output schema, it never states what the screen returns (pass/fail per year, taxable amount), leaving the return shape to inference.

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% with 5 parameters, including a nested policy_years array and an increasing_benefit_rule object, so the schema carries the full parameter burden. The description only lightly gestures at inputs ("from the policy's cash value table," "any one currency") and says nothing about increasing_benefit_rule, so the baseline 3 applies.

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?

Names a specific verb (screen), a precise resource (non-U.S. savings-type life insurance policy), and the exact regulatory test applied (IRC §7702 CVAT plus cash value corridor). An agent can distinguish this from every sibling (reporting, compliance comparison, tax estimation, deadline listing) without opening a schema.

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?

Establishes the context clearly ("preliminary screen," computed from the policy's cash value table) and gives an explicit scope exclusion ("Does not check the guideline premium limit"), which tells the agent when this tool is insufficient. It does not, however, name an alternative tool for the excluded check or state positive conditions for choosing it over siblings.

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