Skip to main content
Glama

reference-data

compute_income_tax

Read-onlyIdempotent

PAID ($0.05). Statutory income tax on a TAXABLE-income figure using the country's verified marginal bracket schedule, with full per-bracket workings, effective rate and marginal rate. Handles inflation-indexed tax units (Colombia UVT, Chile UTA, Peru UIT, Uruguay BPC) — you pass local currency. IMPORTANT: this is tax on taxable income, NOT net take-home pay — reliefs/allowances and social-security contributions are the caller's concern and are not applied (see the response scope_note). Pass api_key if you have one (instant card checkout at /pricing); otherwise the response explains how to pay via x402. The evaluation country is free to try (see list_series). Optional receipt (boolean, default false): on a paid success, include an Ed25519 answer receipt at no extra USDC. An answer receipt is not a series certified extract (GET /v1/certified/{country}/{series} is $0.25 and is not an MCP tool) and is not legal advice. Verify with verify_answer_receipt against /certified/public-key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key (bypasses x402; metered for invoicing)
countryYesISO country code
receiptNoDefault false. When true, a paid success includes an Ed25519 answer receipt (kind answer_receipt) at no extra USDC. Unpaid 402 and free refusals do not include one. Not a series certified extract (GET /v1/certified/{country}/{series} at $0.25; that SKU is not an MCP tool).
taxable_incomeYesTaxable income in the country's local currency, in the schedule's own period basis (annual for most; monthly for Côte d'Ivoire, Uganda, Ethiopia, Costa Rica)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxNo
basisNo
errorNoPresent on a free refusal or error; no charge
statusNoAnswer status, e.g. computed or an honest no-answer status
countryNo
receiptNoEd25519 answer receipt when receipt=true on a paid success
questionNo
breakdownNo
no_chargeNo
price_usdNo
disclaimerNo
how_to_payNo
provenanceNoCited official sources behind the answer
scope_noteNo
bind_seriesNo
explanationNo
label_basisNoInputs and the rule ids that produced the two labels
x_next_bindNo
http_endpointNo
marginal_rateNo
coverage_labelNoHow much of the question is covered: ready = complete; partial = held with a disclosed limitation or default; gap = no number served. Rules at /label-rules
effective_rateNo
confidence_labelNoEvidence verdict derived from source type, verification age and the stale flag (answers: the weakest series read). Rules at /label-rules
payment_requiredNotrue when the call needs payment; how_to_pay explains x402 or card

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "Income tax on taxable income with per-bracket workings",
      +  "properties": {
      +    "basis": {},
      +    "bind_series": {},
      +    "breakdown": {},
      +    "country": {
      +      "type": "string"
      +    },
      +    "disclaimer": {},
      +    "effective_rate": {},
      +    "error": {
      +      "description": "Present on a free refusal or error; no charge"
      +    },
      +    "explanation": {},
      +    "how_to_pay": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "http_endpoint": {
      +      "type": "string"
      +    },
      +    "marginal_rate": {},
      +    "no_charge": {
      +      "type": "boolean"
      +    },
      +    "payment_required": {
      +      "description": "true when the call needs payment; how_to_pay explains x402 or card",
      +      "type": "boolean"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provenance": {
      +      "description": "Cited official sources behind the answer"
      +    },
      +    "question": {},
      +    "receipt": {
      +      "description": "Ed25519 answer receipt when receipt=true on a paid success"
      +    },
      +    "scope_note": {},
      +    "status": {
      +      "description": "Answer status, e.g. computed or an honest no-answer status",
      +      "type": "string"
      +    },
      +    "tax": {},
      +    "x_next_bind": {}
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / receipt
      Added value: +{
      +  "default": false,
      +  "description": "Default false. When true, a paid success includes an Ed25519 answer receipt (kind answer_receipt) at no extra USDC. Unpaid 402 and free refusals do not include one. Not a series certified extract (GET /v1/certified/{country}/{series} at $0.25; that SKU is not an MCP tool).",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ar",
      -  "bb",
      -  "bo",
      -  "br",
      -  "bz",
      -  "cl",
      -  "co",
      -  "cr",
      -  "do",
      -  "ec",
      -  "gt",
      -  "hn",
      -  "jm",
      -  "mx",
      -  "ni",
      -  "pa",
      -  "pe",
      -  "py",
      -  "sv",
      -  "tt",
      -  "uy"
      -]New value: +[
      +  "ar",
      +  "bb",
      +  "bo",
      +  "br",
      +  "bz",
      +  "cl",
      +  "co",
      +  "cr",
      +  "do",
      +  "ec",
      +  "gt",
      +  "gy",
      +  "hn",
      +  "jm",
      +  "mx",
      +  "ni",
      +  "pa",
      +  "pe",
      +  "py",
      +  "sv",
      +  "tt",
      +  "uy"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ar",
      -  "bo",
      -  "br",
      -  "cl",
      -  "co",
      -  "cr",
      -  "do",
      -  "ec",
      -  "gt",
      -  "hn",
      -  "mx",
      -  "pa",
      -  "pe",
      -  "py",
      -  "sv",
      -  "uy"
      -]New value: +[
      +  "ar",
      +  "bb",
      +  "bo",
      +  "br",
      +  "bz",
      +  "cl",
      +  "co",
      +  "cr",
      +  "do",
      +  "ec",
      +  "gt",
      +  "hn",
      +  "jm",
      +  "mx",
      +  "ni",
      +  "pa",
      +  "pe",
      +  "py",
      +  "sv",
      +  "tt",
      +  "uy"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ar",
      -  "br",
      -  "cl",
      -  "co",
      -  "cr",
      -  "do",
      -  "ec",
      -  "gt",
      -  "mx",
      -  "pe",
      -  "py",
      -  "uy"
      -]New value: +[
      +  "ar",
      +  "bo",
      +  "br",
      +  "cl",
      +  "co",
      +  "cr",
      +  "do",
      +  "ec",
      +  "gt",
      +  "hn",
      +  "mx",
      +  "pa",
      +  "pe",
      +  "py",
      +  "sv",
      +  "uy"
      +]
  6. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources