Skip to main content
Glama

Get compliance obligations

get_obligations
Read-only

Retrieve and filter discrete AI and privacy law obligations by law, jurisdiction, role, or category to support compliance reasoning and statutory source mapping.

Instructions

Get structured obligations from AI/privacy laws. Filter by law, jurisdiction, role, or obligation category. Returns discrete, categorized obligations that agents can reason over. 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

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

Input Schema

NameRequiredDescriptionDefault
law_idNoSpecific law ID (e.g. 'CO-SB24-205')
categoryNoFilter by obligation category
applies_toNoFilter by who the obligation applies to (e.g. 'deployer', 'developer')
jurisdictionNoFilter by jurisdiction (e.g. 'CO', 'CA')

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 establish read-only, non-destructive, closed-world behavior. The description adds useful output semantics beyond that: obligations are discrete and categorized, source_url may be null when unmapped, and verbatim distinguishes direct statutory quotes from paraphrases. It does not disclose result limits, ordering, or pagination behavior.

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?

The description is front-loaded with the core purpose and then adds filtering and output details in three tight sentences. Every sentence contributes useful information, and there is no filler or unnecessary repetition.

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 read-only retrieval tool with no output schema, the description supplies the essential purpose, all four filter dimensions, and important output-field semantics such as source_url nullability and verbatim meaning. It is nearly complete, though it omits details such as default behavior with no filters, result ordering, and full return shape.

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 coverage is 100%, so the input schema already documents law_id, category with its enum, applies_to, and jurisdiction with examples. The description maps those filters to natural-language concepts but adds no format, matching behavior, or defaults beyond the schema.

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 states a specific verb and resource: getting structured obligations from AI/privacy laws. It clarifies that results are discrete, categorized obligations rather than raw laws, which helps distinguish it from a general law search. However, it does not explicitly contrast itself with siblings such as search_laws.

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?

The description names the available filter dimensions (law, jurisdiction, role, obligation category), implying the tool is used to retrieve obligations under those filters. It does not state when to use this tool versus search_laws or compare_jurisdictions, nor does it describe any exclusions or prerequisites.

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