Skip to main content
Glama

Sales tax rates for up to 100 locations

tax_sales_rate_batch
Read-onlyIdempotent

What sales tax applies to each of these orders? Combined and per-jurisdiction rates for up to 100 US addresses, ZIP+4s or ZIPs in one call, 24 Streamlined Sales Tax states, computed by Distill from each state’s SST rate and boundary files. The same answer as tax.sales_rate for each location, in order. A location that fails (outside the SST states, a bad date) carries its own error; the call is still one price. Refreshed quarterly (live freshness: /status). Price: $0.1 per call. Free tier: 3 free answers a day (UTC) per IP for this family's tools, at most 3 rows per answer; calls through Claude's connectors share one daily free allowance per family instead. An unpaid call takes one unless its _meta["distill/free-tier"] is "skip". Answers in a summary view of about 3,000 tokens; view: "full" for every row. Confidence: The lowest per-location confidence in the batch; each is agreement × freshness. Agreement: for a 5-digit ZIP answer, the share of that ZIP’s ZIP+4 records with the same combined rate; for a ZIP+4 answer, the share of address records inside it with the same rate; 1 for an address match or when the state publishes nothing finer. Freshness: 1 until the next SST posting deadline (the 1st of Mar, Jun, Sep or Dec) after the files were last checked, then halving every 30 days. Not tax advice. Rates as published by the state in its Streamlined Sales Tax rate and boundary files for the stated effective period; verify with the state. See /terms.

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": {
      "locations": "<locations>"
    },
    "name": "tax_sales_rate_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNosummary (the default): the answer a model needs, budgeted; full: every row (a free answer stays capped).
locationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "summary (the default): the answer a model needs, budgeted; full: every row (a free answer stays capped).",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag readOnly/idempotent/non-destructive, and the description layers on genuinely non-obvious behavior: partial failure semantics (a bad location carries its own error but the call is still one price), the billing model ($0.1 per call), free-tier mechanics including the _meta skip flag, quarterly refresh cadence, and the confidence/freshness scoring formula. This is far beyond what the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and scope are front-loaded, which is good, but the single dense paragraph carries a lot of billing and free-tier bookkeeping that competes with the selection-relevant content. The confidence and freshness formula is precise but lengthy, and no structure (sentences/bullets) separates cost, coverage, and result-shape concerns.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description must carry return semantics, and it does: a summary view of roughly 3,000 tokens, view:'full' for all rows, per-location error objects, and a batch-level confidence defined as the minimum over locations. Coverage limits, pricing, and refresh behavior round out everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%, so added meaning matters. The description supplies useful semantics the schema doesn't: 'in order' result ordering, what constitutes a per-location failure ('outside the SST states, a bad date'), and that view:'full' still stays capped on a free answer. It does not clarify how address matching degrades confidence beyond what the schema implies.

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 resource and scope: 'Combined and per-jurisdiction rates for up to 100 US addresses, ZIP+4s or ZIPs in one call.' It also names the sibling it mirrors ('The same answer as tax.sales_rate for each location, in order'), so an agent can distinguish batch from single-lookup without reading 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 Guidelines4/5

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

Clear context is given: the 24 SST-state coverage limit, the 100-location cap, the date floor ('from the first day of the previous quarter'), and the implicit routing rule that this is tax.sales_rate applied to many locations. It stops short of an explicit 'use tax_sales_rate instead when you have a single address' statement, and '24 Streamlined Sales Tax states' is never enumerated.

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