Skip to main content
Glama

Get an interactive A2UI card (MCP Apps)

privacy_get_a2ui_card
Read-onlyIdempotent

Returns an interactive card for hosts that render MCP Apps: either an enforcement case card (kind 'enforcement', with a case id from privacy_search_enforcement_actions) or a Law 25 readiness form (kind 'law25_readiness') whose category picker loads the matching checklist inside the app view. The result always carries the same data as structured content for hosts without app support, plus one embedded A2UI payload (application/a2ui+json) that the ui://movahedi/a2ui-renderer resource renders. Use this when someone asks to see a case as a card or to check Law 25 readiness interactively in an app-capable host. Use when: Use when someone wants an enforcement case as an interactive card, or a Law 25 readiness form, in a host that renders MCP Apps. Do not use when: Do not use when someone wants plain data to reason over; use privacy_get_enforcement_case or privacy_law25_requirements instead.

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": {
      "kind": "<kind>"
    },
    "name": "privacy_get_a2ui_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoEnforcement case id, required when kind is 'enforcement'. Find valid ids with privacy_search_enforcement_actions.
kindYesWhich card to return: 'enforcement' for one enforcement case card, 'law25_readiness' for the Law 25 readiness form.
langNoCard language: 'en' or 'fr'. Defaults to 'en'.en

Output Schema

NameRequiredDescriptionDefault
caseNoThe enforcement case record, when kind is 'enforcement'.
kindYesThe card kind that was returned.
categoriesNoThe Law 25 categories the readiness form offers, when kind is 'law25_readiness'.
surface_idYesThe A2UI surface id carried by the embedded payload.
corpus_versionYesSemantic version of the movahedi.ca statutory corpus this answer was drawn from, for example v2026.12.0. Pin it when citing; when it changes, re-read the affected resources and the change log at https://movahedi.ca/changelog/.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds real value beyond them: the structured-content fallback for hosts without app support, the embedded application/a2ui+json payload, and the ui://movahedi/a2ui-renderer resource that renders it. It does not mention any failure modes for hosts lacking app support beyond the fallback, but the coverage of rendering behavior is well above the annotation baseline.

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 opening sentence is front-loaded with the essential purpose and payload details, but the 'Use when' bullet largely restates the preceding sentence about case cards and Law 25 readiness, adding repetition without new information.

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 an output schema present, the description need not document return shape, and it covers the parts the schema cannot: host capability differences, the A2UI payload type and its renderer resource, and the kind-conditional requirement for 'id'. Nothing material for correct invocation is missing.

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 baseline would be 3; the description nonetheless adds cross-tool meaning by tying 'id' to privacy_search_enforcement_actions and explaining that the law25_readiness category picker loads the matching checklist in the app view. The lang parameter and its behavior remain purely schema-documented.

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?

States a specific verb and resource ('Returns an interactive card') and enumerates the two card kinds with their distinct payloads, which lets an agent distinguish this from the plain-data siblings without opening the schema.

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?

Contains explicit 'Use when' and 'Do not use when' clauses, and the exclusion names the concrete alternatives (privacy_get_enforcement_case, privacy_law25_requirements) plus the condition that selects them.

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