Skip to main content
Glama

Compare jurisdictions

compare_jurisdictions
Read-only

Compare AI and privacy law obligations across jurisdictions with side-by-side results grouped by category. Filter by category or role to see applicable requirements and statutory source links.

Instructions

Compare AI/privacy law obligations across jurisdictions. Given a list of jurisdictions and optional filters, returns a side-by-side comparison grouped by obligation category. Each obligation includes source_url (direct link to the codified statutory section; null if not yet mapped) and verbatim (boolean — true if requirement_text is a direct statutory quote, false if paraphrased).

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": {
      "jurisdictions": "<jurisdictions>"
    },
    "name": "compare_jurisdictions"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNoFilter comparison to a specific obligation category
applies_toNoFilter to obligations applying to this role (e.g. 'deployer')
jurisdictionsYesList of jurisdictions to compare (e.g. ['CO', 'CA', 'TX'])

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?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real value beyond that: it discloses the grouping structure, that source_url may be null when a section is not yet mapped (a genuine coverage caveat), and that requirement text may be verbatim or paraphrased. It stops short of stating completeness of jurisdiction coverage or any limits on how many jurisdictions can be compared at once.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, zero filler: purpose first, then input shape, then output field semantics. Nothing is repeated and every sentence carries information an agent cannot get from the schema or annotations.

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?

With no output schema, the description carries the return-value burden and does so by explaining grouping, source_url nullability, and the verbatim flag. It is nearly complete for a read-only comparison tool, missing only edge-case behavior such as jurisdictions with no mapped obligations or partial coverage of the requested list.

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 documents all three parameters including the category enum and the applies_to role filter. The description restates 'list of jurisdictions and optional filters' without adding syntax, format, or behavioral detail beyond the schema, which is the baseline 3 case.

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 description opens with a specific verb and resource ('Compare AI/privacy law obligations across jurisdictions') and states the output shape ('side-by-side comparison grouped by obligation category'). That is enough to distinguish it from get_obligations and search_laws, but it never explicitly names what those siblings do differently.

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 implied by 'Given a list of jurisdictions and optional filters' — an agent can infer this is the multi-jurisdiction comparison path. There is no explicit when-to-use/when-not guidance and no named alternative for single-jurisdiction lookups, so the agent must infer routing from purpose alone.

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