Skip to main content
Glama
rehan1020

mcp-india-stack

by rehan1020

calculate_salary_restructuring

Read-onlyIdempotent

Calculate tax-efficient salary structures for Indian employees. Compare restructuring options with deductions and estimated tax to reduce your tax burden.

Instructions

Calculate salary restructuring options for tax optimization.

Use when advising employees on tax-efficient salary structures, comparing restructuring options, or planning CTC optimization.

Args: current_gross: Current gross annual salary in INR current_basic_ratio: Current basic salary as ratio of gross structure_type: Structure option (standard, optimized, startup) include_meal_card: Include Sodexo/Food card allowance include_wallet_allowance: Include flexible wallet allowance has_hra: Employee receives HRA rent_in_metro: Rent paid in metro city (higher HRA) family_medical: Include family medical insurance parents_medical: Include parents medical insurance

Returns: Standard envelope with tax-optimized structure, deductions, and estimated tax

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
has_hraNoEmployee receives HRA
current_grossYesCurrent gross annual salary in INR
rent_in_metroNoRent paid in metro city (higher HRA)
family_medicalNoInclude family medical insurance
structure_typeNoStructure option: standard, optimized, or startupstandard
parents_medicalNoInclude parents medical insurance (additional)
include_meal_cardNoInclude Sodexo/Food card allowance
current_basic_ratioNoCurrent basic salary as ratio of gross (0.40-0.60)
include_wallet_allowanceNoInclude flexible wallet allowance

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / current_basic_ratio / title
      Added value: +"Current Basic Ratio"
    • addedInput schema / properties / current_gross / title
      Added value: +"Current Gross"
    • addedInput schema / properties / family_medical / title
      Added value: +"Family Medical"
    • addedInput schema / properties / has_hra / title
      Added value: +"Has Hra"
    • addedInput schema / properties / include_meal_card / title
      Added value: +"Include Meal Card"
    • addedInput schema / properties / include_wallet_allowance / title
      Added value: +"Include Wallet Allowance"
    • addedInput schema / properties / parents_medical / title
      Added value: +"Parents Medical"
    • addedInput schema / properties / rent_in_metro / title
      Added value: +"Rent In Metro"
    • addedInput schema / properties / structure_type / title
      Added value: +"Structure Type"
    • addedInput schema / title
      Added value: +"calculate_salary_restructuringArguments"
    • addedOutput schema / title
      Added value: +"calculate_salary_restructuringDictOutput"
  2. Addedv0.4.2

TDQS

A4/5.0
Behavior3/5

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

Annotations already convey readOnlyHint=true and idempotentHint=true, so the safe, non-mutating nature is covered. The description adds that it returns a standard envelope with tax-optimized structure and deductions, but it does not disclose much behavior beyond what the annotations and output schema already provide. No contradiction exists.

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?

The description is front-loaded with the purpose and usage context, then organized into Args and Returns sections. It is reasonably sized for nine parameters, though the Args list duplicates parameter details already present in the schema.

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?

Given the rich input schema, annotations, and output schema, the description supplies the missing context: when to use the tool and what the result conceptually contains. All parameters are present and defaults/constraints are handled by the schema, so the description is complete for its scope.

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%, so the input schema already documents every parameter. The description's Args section largely repeats the schema's text and adds no new constraints, formats, or usage semantics beyond what the schema provides.

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 clearly states a specific verb and resource: it calculates salary restructuring options for tax optimization. It is readily distinguishable from sibling calculators like calculate_income_tax or calculate_hra_exemption because it targets the overall salary structure and CTC planning, not a single tax computation.

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 description gives explicit use context: 'Use when advising employees on tax-efficient salary structures, comparing restructuring options, or planning CTC optimization.' It does not explicitly list when not to use it or name an alternative sibling tool, but the context is clear enough for an agent to select it.

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

Deploy Server

Other Tools