brandomica_assess_safety
Assess brand name safety by analyzing risks, generating safety scores, identifying blockers, and providing actionable recommendations for informed decision-making.
Instructions
Return only the brand safety block for fast agent decisions. Uses the same check pipeline as brandomica_check_all and outputs overall risk, 0-100 safety score, blockers, signal breakdown, and recommended actions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand_name | Yes | The brand name to check | |
| mode | No | Check mode: 'quick' (default) for faster safety decisions, 'full' for complete evidence coverage | quick |
Implementation Reference
- src/index.ts:348-367 (handler)The handler for "brandomica_assess_safety", which calls the "check-all" API endpoint and returns the "safety" property of the response.
server.registerTool( "brandomica_assess_safety", { title: "Brand Safety Assessment", description: "Return only the brand safety block for fast agent decisions. Uses the same check pipeline as brandomica_check_all and outputs overall risk, 0-100 safety score, blockers, signal breakdown, and recommended actions.", inputSchema: z.object({ ...brandNameInput, mode: z.enum(["full", "quick"]).default("quick").describe("Check mode: 'quick' (default) for faster safety decisions, 'full' for complete evidence coverage"), }).strict(), annotations: toolAnnotations, }, async ({ brand_name, mode }) => { const extra = mode && mode !== "full" ? { mode } : undefined; const data = (await fetchApi("check-all", brand_name, extra)) as CheckAllResponse; return { content: [{ type: "text" as const, text: JSON.stringify(data.safety) }], }; } );