Skip to main content
Glama

Africa Take-Home Pay

Income tax bands and payroll contributions by country

pay.country_rates
Read-only

Use this when someone asks what the income tax bands, reliefs or payroll contributions are in Ghana, Kenya, Nigeria or South Africa, without a salary to work out. Do not use it to work out a figure: use the country's take_home tool, which does the arithmetic.

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": {
      "country": "<country>"
    },
    "name": "pay.country_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesThe country.

Output Schema

NameRequiredDescriptionDefault
noteYes
countryYes
read_onYes
currencyNo
income_taxYes
explore_urlNo
contributionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered; the description adds that this is a lookup with no arithmetic performed, which shapes how an agent phrases the answer. It stops short of stating data freshness or applicable tax year, which matters for statutory rate data.

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?

Two sentences, no preamble: the positive trigger comes first, then the exclusion and the redirect. Every clause constrains behavior; nothing is filler.

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?

With an output schema present, return values need no explanation, and one required enum parameter is fully documented. The only material omission is whether the returned bands are current and for which tax year or currency, which an agent answering a tax question would otherwise have to guess.

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% and the single country parameter carries an enum, so the description's enumeration of Ghana, Kenya, Nigeria and South Africa adds nothing the schema does not already encode. Baseline 3 is appropriate when the schema does all the work.

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 resource (income tax bands, reliefs, payroll contributions) plus the covered countries, and clarifies the tool returns reference structure rather than a computed figure. That framing distinguishes it cleanly from the four take_home siblings without needing their schemas.

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

Usage Guidelines5/5

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

Gives both directions explicitly: use when the user asks about bands/reliefs/contributions with no salary to compute, and do not use it to work out a figure. It names the concrete alternative ('the country's take_home tool') and the condition that selects it.

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