Skip to main content
Glama

Vape Laws & Tax Tools

Vape tax estimate

vape_tax
Read-onlyIdempotent

Estimates the US state and local excise tax on vapes or nicotine pouches for one product line (product and its details) or a whole order (items, up to 20 lines, each with its own product): an online order shipped to a person (buyer "shopper", the default) or a store's wholesale order (buyer "store"). Covers the 50 states and DC with local taxes (Chicago, Cook County, Alaska boroughs), dated rate changes, and the rules for nicotine-free liquid, nicotine analogs and parts sold alone. Returns the estimate, each tax with how it is figured and who charges it, the state's rule, notes, official sources and the calculator's link; it says which detail is missing (like mL or price) when a tax needs it. For items it gives each line's estimate, the order's total and each tax's total. Leaves out regular sales tax. General information, not tax advice.

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": {
      "place": "<place>"
    },
    "name": "vape_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
mlNomL of liquid in one bottle or disposable, or in each pod.
dateNoThe order date (YYYY-MM-DD), for dated changes like Iowa's tax from 2027-01-01. Default: today.
buyerNoshopper: an online order shipped to a person; store: a store's wholesale order (the tax the store pays or collects).shopper
itemsNoA whole order: 1 to 20 product lines for the same place, buyer and date, each its own product, like [{"product": "e_liquid", "quantity": 2, "ml": 60, "price": 24.99}, {"product": "disposable", "quantity": 3, "ml": 15, "price": 19.99}]. Replaces product and its details.
placeYesWhere the order ships (shopper) or where the store is (store): a US state (code or name), a 5-digit ZIP code (finds local tax areas), or a city and state like "Chicago, IL".
priceNoPrice of one item in US dollars: the shopper's price, or for a store the wholesale price it pays.
productNoOne product line (or give items for a whole order). disposable: disposable vapes; pods: prefilled pods or cartridges; e_liquid: bottled e-liquid; device: devices sold without liquid; part: coils, empty pods and tanks sold on their own; nicotine_pouches.
nicotineNoyes: contains nicotine; no: 0 mg; analog: a nicotine analog such as Metatine.yes
quantityNoHow many of this item.
can_weight_ozNoOne can's weight in ounces (nicotine pouches).
pods_per_packNoPods in one pack (pods).
wholesale_costNoShopper orders only: the seller's wholesale cost of one item, for taxes figured on it (left out: estimated at 40% of the price).
nicotine_sourceNoPouches: nicotine from tobacco or synthetic (some states tax only one).
pouches_per_canNoPouches in one can (nicotine pouches).

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 readOnly/idempotent/non-destructive, but the description adds substantial behavior beyond them: coverage of local taxes and dated rate changes, handling of nicotine-free liquid, analogs and parts sold alone, and explicit return contents (estimate, per-tax basis and charging authority, state rule, notes, official sources, calculator link). It also discloses the diagnostic behavior of naming the missing detail (mL, price) when a tax needs it. Only lightly thin on what happens for unsupported inputs.

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 core verb and scope, then modes, then coverage, then return shape, then the disclaimer. It is dense and somewhat run-on in the first sentence, but nearly every clause carries distinct information; the 'general information, not tax advice' caveat earns its place for a tax tool.

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 14 parameters, no output schema, and no parameter ambiguity left to infer, the description covers what an agent needs: both input modes, jurisdiction coverage, the single-vs-order result difference, and the missing-detail messaging. Return values are described in prose precisely because no output schema exists.

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% and the schema itself explains ml, date, buyer, product, nicotine, and the item-level fields in more detail than the description does. The description adds a little framing (order lines share the same place/buyer/date; product details can be replaced by items) but supplies no syntax or format meaning beyond the schema, so the baseline 3 is appropriate.

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 ('Estimates the US state and local excise tax on vapes or nicotine pouches') and immediately bounds the two supported shapes: one product line or a whole order. It also scopes geography (50 states + DC, local jurisdictions) and explicitly excludes regular sales tax, so an agent knows exactly what question this tool answers.

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?

Gives clear selection guidance between the two modes ('one product line' vs 'a whole order (items, up to 20 lines)') and between buyer types (shopper online order vs store wholesale order), plus a use boundary ('Leaves out regular sales tax'). It does not name any sibling tool or state when to reach for those instead, so it stops short of full alternative-routing guidance.

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