Skip to main content
Glama

Search AI & privacy laws

search_laws
Read-only

Find matching US AI and privacy laws by jurisdiction, status, effective date, applicability, or category, returning summaries and official source links for compliance research.

Instructions

Search US AI and privacy laws by jurisdiction, status, effective date range, applicability, and category. Returns matching laws with summary-level data. Each law includes source_url (direct link to the law's official source text). Each law's penalties object includes citation (the exact statute section establishing the penalty range; null if not yet mapped). Each cross_references entry includes citation (the specific section of the related law being compared; null if not yet mapped).

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": "search_laws"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFree-text search across law name, summary, and citation
statusNoFilter by law status
categoryNoFilter to laws with obligations in this category
applies_toNoFilter to laws with obligations applying to this role (e.g. 'deployer', 'developer')
jurisdictionNoFilter by jurisdiction (e.g. 'CO', 'CA', 'TX', 'US-federal', 'EU')
effective_date_afterNoOnly laws effective on or after this date (YYYY-MM-DD)
effective_date_beforeNoOnly laws effective on or before this date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish this as a safe read-only, closed-world query, and the description adds real value on top by disclosing the shape of results: summary-level data, a source_url per law, and the fact that penalty and cross-reference citations can be null when unmapped. That null-handling note is exactly the kind of caveat an agent needs and could not infer from annotations.

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 purpose is front-loaded in the first sentence and the remaining sentences are result-shape notes, each carrying distinct information. Slightly repetitive in the parallel 'Each ... includes citation' construction, but no sentence is padding.

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 carries the full burden of explaining returns, and it does so concretely (summary-level records, source_url, nullable citations). Combined with 100% schema coverage for the seven optional filters, an agent has 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.

Parameters3/5

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

Schema description coverage is 100%, so every parameter and enum is already documented in the schema. The description restates the filterable dimensions but adds no format, default, or combination semantics beyond what the schema provides, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb ('Search') and resource ('US AI and privacy laws') and enumerates the facets the search covers. It is clear what the tool does, but it never names or distinguishes itself from siblings like compare_jurisdictions or get_changes.

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: 'search' plus filters tells an agent this is the lookup tool, and the emphasis on per-law detail hints it is for retrieving laws rather than comparing them. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.