Skip to main content
Glama
pakistan-mcp

pakistan-mcp

by mubasher1111

Compare salary tax between years

compare_salary_tax
Read-onlyIdempotent

Compare income tax on the same salary between two Pakistani fiscal years and return the difference in tax paid.

Instructions

Compares income tax on the same salary across two Pakistani fiscal years (2024-25, 2025-26, 2026-27) and returns how much more or less tax is paid.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_salary_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_yearNoLater fiscal year (default 2026-27)
from_yearNoEarlier fiscal year (default 2025-26)
annual_incomeNoGross annual taxable salary in PKR
monthly_incomeNoGross monthly taxable salary in PKR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds the useful behavioral fact that the same salary is held constant while the tax regime changes between years, and that the output is a directional difference ('more or less'), but it says nothing about the default year pairing (from 2025-26 to 2026-27) or how the two income parameters interact.

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?

A single sentence with no filler that front-loads the action, the subject, the domain and the return value. Nothing could be removed without losing information.

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

Completeness3/5

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

There is no output schema, so the description must convey the response shape, and it only states that a difference is returned without indicating whether per-year tax amounts are also included, the currency/rounding of the delta, or which year is the baseline for 'more or less'. For a low-complexity read-only calculation tool with fully documented parameters this is adequate but not complete.

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%, including enum values and PKR units on the income fields, so the schema carries the parameter burden and a baseline of 3 applies. The only added meaning is the phrase 'on the same salary', which clarifies that one income figure is evaluated under both years rather than separate amounts per year.

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

Purpose4/5

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

The description uses a specific verb and resource ('Compares income tax on the same salary') and scopes it to 'two Pakistani fiscal years', listing the concrete year options. It is clear what the tool produces (a tax delta), but it never names or distinguishes itself from the sibling 'calculate_salary_tax', so an agent must infer that this is the multi-year variant.

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

Usage Guidelines3/5

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

Usage is implied by the comparison framing – an agent can guess this is the tool to pick for year-over-year tax differences – but there is no explicit 'use this when...' statement, no mention of when calculate_salary_tax is the better choice, and no note about the default from_year/to_year pair or what happens if both annual_income and monthly_income are supplied.

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