Skip to main content
Glama

Ghana Pay and Tax

VAT and levies on an amount in Ghana

vat.work_out
Read-only

Use this when someone asks to add VAT to an amount in Ghana cedis, or to find the VAT and levies inside a total that already includes them. It applies the standard rate with the NHIL and GETFund levies, all on the same amount. Do not use it for supplies that are exempt or zero-rated, for import duty, for withholding tax, or for a business that is not registered for VAT.

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": {
      "amount": "<amount>"
    },
    "name": "vat.work_out"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesThe amount in Ghana cedis.
amount_includes_taxNoTrue when the amount already has VAT and the levies in it. Leave out when they are to be added on top.

Output Schema

NameRequiredDescriptionDefault
lawNo
vatYes
nhilNo
noteYes
totalYes
read_onYes
sourcesNo
currencyYes
before_taxYes
rates_fromNo
explore_urlNo
getfund_levyNo
combined_rate_percentYes

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 a safe, read-only, closed-world computation, so the description's job is to explain the calculation itself. It does add real context beyond the annotations – both the additive and extractive directions, and the fact that the NHIL and GETFund levies fall on the same amount rather than compounding. It does not state the rate percentages applied or rounding behaviour, which is the remaining gap.

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, fully front-loaded: the use case comes first and the exclusions follow. Every clause carries information; nothing is repeated from the title or the schema.

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 simple, read-only, two-parameter calculator with an output schema and full schema coverage, the description covers the direction of computation, the levy composition, and the scope limits. The only thing an agent might still want – the actual rate values or rounding convention – is reasonably left to the tool's output.

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 schema already defines both parameters including the cedi denomination and the inclusive/exclusive semantics of amount_includes_tax. The description reinforces that distinction in prose ('inside a total that already includes them' vs 'to add VAT to an amount'), but adds no formatting, precision, or edge-case guidance beyond the schema.

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 states a specific verb and resource twice over ('add VAT to an amount in Ghana cedis', 'find the VAT and levies inside a total'), and pins the calculation method (standard rate plus NHIL and GETFund on the same amount). An agent immediately knows this is a Ghanaian VAT calculator, distinct from the payroll-oriented pay.* siblings.

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?

Usage is explicit on both sides of the boundary: a positive trigger ('when someone asks to add VAT... or to find the VAT inside a total') and a concrete exclusion list (exempt/zero-rated supplies, import duty, withholding tax, unregistered businesses). It stops short of pointing to an alternative tool for those excluded cases, which is the only gap.

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