Skip to main content
Glama

2Fin Tax: source-cited tax for your assistant

Tax rate on a date

tax_rate_as_of
Read-onlyIdempotent

Look up the GST/VAT standard rate that applied in a country ON A GIVEN DATE, rather than today's rate. Use it when reconciling or amending a past transaction, invoice or return — several countries changed rate recently (Estonia twice since 2024, Finland, Kazakhstan, Russia, Romania, Slovakia, Ghana, Israel, Ecuador), so the rate today is not the rate that applied then. For the current rate use tax_rate_lookup. The answer states plainly whether a real dated change backs it or whether only the present rate is on record. Results may include one sourced background fact (relatedFact); the figures do not depend on it.

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>",
      "date": "<date>"
    },
    "name": "tax_rate_as_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesThe date to resolve the rate for, as YYYY-MM-DD, e.g. '2024-06-30'
countryYes2-letter ISO country code, e.g. FI, EE, KZ

Output Schema

NameRequiredDescriptionDefault
dateYesThe date resolved
sourceYesThe national tax authority the figures were verified against (e.g. 'ATO — ato.gov.au')
countryYesCountry the rate applies to
isCurrentYesTrue when this is also the rate in force today
rateSinceYesISO date this standard rate took effect — the start of the unbroken run at this rate, which can be earlier than effectiveFrom
rateUntilYesISO date this standard rate stops applying, or null when no change is on record
sourceUrlNohttps link to the authority page the rate was verified against. Present only on rate answers backed by a verified ledger row — absent (never empty) otherwise, so its presence is itself the claim
disclaimerYesGeneral-information note that must accompany any figure shown to a person
mayBeStaleYesTrue once the verification date is over a year old — re-confirm with the authority
datedChangeYesTrue when a real recorded rate change backs this answer. FALSE means only the present rate is on record for this country, so an earlier change would not be visible here.
effectiveToYesISO date that record closed, or null if it is still open
relatedFactNoOne sourced background fact about the country's consumption tax; the figures do not depend on it. Absent when no sourced fact fits.
standardRateYesStandard rate in force on that date, as a fraction (0.24 = 24%)
effectiveFromYesISO date the dated record that answered took effect. A new record can open without the standard rate moving (a reduced-rate change, or a new instrument restating the same rate), so for when THIS rate took effect read rateSince
dataVerifiedOnYesISO date the rate data was last confirmed against the authority
standardRateDisplayYesThe same rate formatted for reading

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds real value beyond them: the result discloses whether a genuine dated change backs the figure or whether only the present rate is on record, and warns about an incidental relatedFact field that does not affect the figures. It stops short of stating coverage limits, e.g. what happens for dates before records begin or for countries with no history.

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?

Front-loaded with the distinctive point (historical rate, not today's) and structured so the sibling routing comes after the scope statement. The parenthetical list of nine countries is the longest element; it motivates the tool but could be trimmed without losing meaning.

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 two-parameter read-only lookup with a full input schema and an output schema, the description covers when to use it, the alternative, and the epistemic caveat on the answer. Minor gaps remain around unsupported countries or dates outside the recorded history, but nothing essential for a correct call is missing.

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% — both country (2-letter ISO) and date (YYYY-MM-DD) are documented with patterns and examples — so the schema carries the parameter burden. The description reinforces the date parameter's historical meaning but adds no format or interpretation details 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?

States a specific verb and resource ('Look up the GST/VAT standard rate') plus a precise scope qualifier ('ON A GIVEN DATE, rather than today's rate'). It explicitly contrasts itself with the sibling tax_rate_lookup, so an agent can pick between them without opening either schema.

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 an explicit use case (reconciling or amending a past transaction, invoice or return) and an explicit alternative with its condition ('For the current rate use tax_rate_lookup'). It even supplies the motivating context — recent rate changes in named countries — that explains why the date-based variant exists.

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.