Skip to main content
Glama

Ziptax Sales Tax API

lookup_tax_rate

Read-onlyIdempotent

Look up sales and use tax rates for a US or Canadian location. Provide a full street address for door-level accuracy, or a lat/lng pair for a geographic point lookup. Returns tax rates broken down by jurisdiction (state, county, city, district). Requires a valid ZipTax API key sent in the X-API-KEY header or Authorization header. Get a key at https://platform.zip.tax

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude for coordinate-based lookup. Same door-level precision as an address
lngNoLongitude for coordinate-based lookup. Same door-level precision as an address
cityNoCity name
stateNoTwo-letter US state or Canadian province code (e.g., CA, ON)
countyNoCounty name
formatNoResponse format: 'json' (default) or 'xml'
addressNoFull street address for door-level geocoded lookup. Preferred input
adjustmentNoSet to 'auto' to enable state-specific unincorporated area adjustments
historicalNoHistorical period in YYYYMM format (e.g., 202601 for January 2026); lookback is limited to the past 12 months. Requires a Pro or Enterprise plan
postalcodeNoUS ZIP code (5-digit) or Canadian postal code. Least precise option: returns every rate overlapping the ZIP rather than one authoritative rate, with no adjustment for unincorporated areas. Use only when no address or lat/lng is available
country_codeNoCountry code: US (default) or CA for Canada. CA requires a Pro or Enterprise plan
sat_item_totalNoItem total for Tennessee Single Article Tax calculation
taxability_codeNoProduct taxability code (TIC) for product-specific tax rules. Requires a Pro or Enterprise plan

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds value beyond them: the API-key requirement and both accepted header names, plus the plan-gated nature of certain features. It does not mention rate limits or error behavior, so it stops short of 5.

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?

Four sentences, each earning its place: purpose, input modes, return shape, auth. Front-loaded with the core action and no 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?

For a 13-parameter tool with no output schema, the description covers purpose, input modes, auth, and return granularity by jurisdiction. It omits error/failure behavior and pagination, which is a minor gap given the schema already documents every parameter.

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 schema descriptions already carry the precision tradeoffs (door-level vs. ZIP-overlap, plan requirements, historical lookback). The description largely restates address-vs-lat/lng and adds little syntax or format detail the schema lacks, so the baseline 3 applies.

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+resource ('Look up sales and use tax rates') with the geographic scope (US or Canadian location). An agent can immediately tell this apart from the only sibling, get_account_metrics.

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?

Explicitly routes between the two input modes: full street address for door-level accuracy vs. a lat/lng pair for a point lookup, matching the schema's anyOf. It gives clear context but does not state exclusions or when to fall back to the less-precise postalcode option (that guidance lives only in the schema).

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