Skip to main content
Glama

ConvertIt.pro — Calculators, Unit Converters & US Hardscape Catalog

Forward & Reverse US Sales Tax Calculator

calculate_sales_tax
Read-onlyIdempotent

Compute sales tax and total price (or extract pre-tax subtotal from tax-inclusive price) using an entered rate or statewide US base rate. Canonical page: https://convertit.pro/sales-tax

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": {
      "amount": "<amount>"
    },
    "name": "calculate_sales_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoforward
stateNoOptional US state code or name for statewide base rate reference (as of 2026-11-01)
amountYes
ratePctNoCombined sales tax percentage (overrides state base lookup if supplied)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world operation, so the safety burden is lifted. The description adds genuinely useful behavior context: the state reference is a statewide base rate as of 2026-11-01 and ratePct overrides that lookup, plus a canonical page. It stops short of stating rounding behavior, whether locality rates are excluded, or what the response contains (no output schema exists).

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?

Two sentences, front-loaded with the operation and the mode distinction, with no wasted clauses. The canonical URL is slightly promotional but is short and plausibly useful for a human reviewer.

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 four-parameter, single-step arithmetic tool with full annotations, the definition plus schema is nearly sufficient: mode semantics, rate precedence, and the statewide limitation are all conveyed. The remaining gap is output shape and rounding, which matters somewhat because no output schema is provided.

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%, with 'mode' and 'amount' carrying no schema descriptions, so the description must compensate—and it does for the most important one by defining forward (tax and total) versus reverse (subtotal from tax-inclusive price). It also reinforces the ratePct-over-state precedence and dates the state rate table, though it adds nothing about bounds on 'amount'.

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?

The description names a specific verb-and-resource pair ('Compute sales tax and total price') and explicitly disambiguates the two operations it performs: forward tax-and-total computation and reverse extraction of a pre-tax subtotal. Even without naming siblings, an agent can place it instantly among the other single-purpose calculators.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: the parenthetical defines what 'reverse' does, so an agent can infer which mode fits which question, and the mention of 'an entered rate or statewide US base rate' hints at the ratePct-vs-state choice. There is no explicit when-to-use, when-not-to-use, or statement of the alternative tool for a given need.

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