analyze_garm
Compute GARM brand safety score for a website or category.
Based on the GARM (Global Alliance for Responsible Media) Brand Suitability
Framework. Maps content categories to 11 GARM sensitive content categories
with risk levels (Floor, High, Medium, Low).
Can either:
1. Provide a URL - classification will be fetched and mapped to GARM
2. Provide category and sentiment directly for instant scoring
Score interpretation: higher = safer for advertising.
Floor categories (e.g., Adult) always score 0/F regardless of sentiment.
Args:
category: LLMSE category (e.g., "Adult", "Politics", "Sports").
sentiment: Content sentiment ("Bad", "Neutral", "Good").
url: Optional URL to analyze (fetches classification from cache).
Returns:
GARM brand safety analysis with:
- score: Brand safety score (0-100, higher = safer)
- grade: Letter grade (A-F)
- garm_category: Matched GARM category name or None
- risk_level: "floor"|"high"|"medium"|"low"|"none"
- is_floor: True if not suitable for any advertising
- issues: Categorized issues {critical, warnings, info}
- recommendations: Improvement suggestions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| category | No | ||
| sentiment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||