Skip to main content
Glama

Which US state privacy laws do these numbers cross?

which_state_privacy_laws_apply
Read-only

Does a US state consumer-privacy law bind this business? Give the annual gross revenue, how many residents of a state whose personal data is held, and whether personal data is sold, and each of 18 state privacy statutes comes back with whether those figures cross a threshold the statute's own quoted sentence states, the sentence, the citation and the page it was read from. Use this instead of comparing thresholds from memory or from a table: they are inconsistent between states, several are written in words rather than digits, Utah and Tennessee join theirs with AND rather than OR, and four states (Texas, Nebraska, Florida, Tennessee) get NO verdict because the figures their laws turn on are not in the sentence we hold. A threshold with no checked figure is refused by name with the reason, never answered as a 'no'. This says what the statute's words state about these numbers; it does not say a law applies or that a system is compliant. This tool is served both here and at https://referencesource.org/mcp/compliance and the answer is the same at either address — one handler, not two. The underlying records, every threshold with its statute's own quoted sentence, are at https://referencesource.org/state-data-privacy-applicability-thresholds/ and https://referencesource.org/data-breach-notification-clocks/.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "which_state_privacy_laws_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
statesNoOptional. The states to answer for, as the printed name ("New Jersey") or the id ("new-jersey"). Omit it for every state in the table, which is usually the question. A name matching nothing is reported back in states_not_recognised, never dropped — our table not holding a state is not the same fact as that state having no such law.
state_residentsNoHow many residents OF THE STATE being asked about whose personal data the business holds (bought, sold, shared or processed, as each statute defines it). One figure is applied to every state asked for, so call once per state where the counts differ.
annual_revenue_usdNoAnnual gross revenue in US dollars, e.g. 40000000. Omit it and any revenue threshold comes back need_more rather than a guess.
sells_personal_dataNoDoes the business sell or share personal data for money or other valuable consideration? Several states have a lower resident threshold that only applies if it does.
share_of_revenue_from_selling_pctNoWhat percentage of gross revenue comes from selling personal data, e.g. 30 for 30%. Needed only for the states whose quoted sentence states a percentage (25%, 20% or 50%).

Output Schema

NameRequiredDescriptionDefault
tableNo
statesYes
no_verdictNo
not_adviceYes
how_to_readYes
your_numbersNo
states_answeredYes
crosses_a_thresholdNo
below_every_thresholdNo
states_not_recognisedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses important behavior: four states get no verdict because the needed figures are not in the quoted sentence, and a threshold with no checked figure is refused by name rather than answered as a 'no'. It also notes the same handler is served at two addresses, which is useful operational context.

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 core purpose and caveats are front-loaded, and most sentences carry substantive information. However, the description is long and includes external URL details and the dual-address note that are not necessary for selecting or invoking the 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?

For a multi-state legal-threshold tool, the description is complete: it explains the inputs to provide, the return shape in general terms, the refusal behavior, and the limits of the answer. An output schema exists, so it does not need to enumerate return values further.

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%, so the schema already carries the parameter details. The description adds some useful framing about the figures being applied to each state asked about, but it does not mention the percentage-of-revenue parameter and mostly restates what the schema already says.

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 states a specific question and resource: whether a US state consumer-privacy law's threshold is crossed using supplied figures, across 18 state statutes. It also makes the boundary clear by saying this reports what the statute's words state, not whether a law applies or a system is compliant.

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?

It explicitly says to use this instead of comparing thresholds from memory or from a table, and it explains the key conditions that make that necessary: inconsistent thresholds, words instead of digits, and AND versus OR joining. It also gives when-not guidance by disclaiming legal applicability and compliance conclusions.

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.