Skip to main content
Glama

Do my own numbers cross a US state privacy law's threshold, and when is breach notice due?

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.

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. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses meaningful behaviour: thresholds with no checked figure are refused by name rather than answered 'no', several states yield need_more, and four states never produce a verdict. It also bounds the claim ('says what the statute's words state... does not say a law applies or that a system is compliant'), which is valuable. The only gap is that pagination/response shape is not described, though an 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?

The push-off question is front-loaded and essentially every sentence carries distinct information (alternatives, AND/OR quirk, no-verdict states, refusal semantics, scope caveat). It is dense and somewhat run-on, with two very long sentences, which costs a point on readability but not on substance.

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 5-parameter, zero-required tool with an output schema, this covers everything an agent needs: what it answers, when to prefer it, per-state invocation, missing-input behaviour, refusal semantics and explicit scope limits. Return-value detail is rightly left to the output schema.

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 100%, so the baseline is 3, but the description adds genuine cross-parameter meaning: one resident figure is applied to every requested state, omitting revenue turns revenue thresholds into need_more, and unrecognised state names are surfaced in states_not_recognised rather than dropped. That is more than restating the schema.

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 question (does a state consumer-privacy statute bind this business given these figures) and the concrete output: a per-statute verdict on whether the supplied numbers cross the threshold, plus the quoted sentence, citation and page. That is clearly distinguishable from the sibling breach_notification_deadlines, which concerns deadlines rather than threshold coverage.

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 gives an explicit routing instruction ('Use this instead of comparing thresholds from memory or from a table'), explains why (inconsistent thresholds, words vs digits, Utah/Tennessee AND-joins), names the four states that get no verdict and the reason, and instructs calling once per state when resident counts differ. Omission behaviour for states and revenue is also spelled out.

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