Skip to main content
Glama

get_obligation_for_role

Read-onlyIdempotent

Look up the AI Act obligations for a specific role and AI-system risk category. Returns the relevant articles, deadlines, official sources and the most recent events for the primary article. This is informational, not legal advice.

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": {
      "role": "<role>",
      "risk_category": "<risk_category>"
    },
    "name": "get_obligation_for_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe AI Act role you operate as.
risk_categoryYesThe AI Act risk classification of the system you offer or use.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the bar is lower. The description adds genuinely new behavioral detail by naming the return contents (articles, deadlines, official sources, most recent events for the primary article) and flagging that output is informational rather than legal advice.

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?

Three short sentences with the core purpose front-loaded and no filler. The final disclaimer sentence is arguably boilerplate but does carry informational value for how an agent should present the result.

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 should explain what comes back, and it does enumerate the return contents. For a two-parameter lookup tool the coverage is solid; only richer guidance on how it relates to sibling tools is missing.

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% with both parameters enumerated and described, so the schema already carries the load. The description adds only the framing that role is what you operate as and risk category is what you offer or use, which is marginal but consistent with the baseline.

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 ('Look up the AI Act obligations') scoped by two named dimensions, role and risk category. That makes it clearly distinguishable from lookup_article or query_ai_act_updates, though it never explicitly contrasts itself with those siblings.

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 the scoping ('for a specific role and AI-system risk category') and the disclaimer sets expectations, but there is no explicit when-to-use vs. when-to-use-a-sibling guidance or stated prerequisites.

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.