brandomica_batch_check
Check 2-10 brand names concurrently for availability and safety, returning results sorted by score with assessment details.
Instructions
Check 2-10 brand names in a single call. Runs checks concurrently and returns results sorted by score descending. Each result includes availability score and safety assessment.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand_names | Yes | Array of 2-10 brand names to check | |
| mode | No | Check mode: 'quick' (default) for speed, 'full' for complete checks | quick |
Implementation Reference
- src/index.ts:549-576 (handler)The definition and handler for the 'brandomica_batch_check' tool.
server.registerTool( "brandomica_batch_check", { title: "Batch Brand Check", description: "Check 2-10 brand names in a single call. Runs checks concurrently and returns results sorted by score descending. Each result includes availability score and safety assessment.", inputSchema: z.object({ brand_names: z .array( z.string().min(1).max(63).regex( /^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/, "Lowercase letters, numbers, and hyphens only" ) ) .min(2) .max(10) .describe("Array of 2-10 brand names to check"), mode: z.enum(["full", "quick"]).default("quick").describe("Check mode: 'quick' (default) for speed, 'full' for complete checks"), }).strict(), annotations: toolAnnotations, }, async ({ brand_names, mode }) => { const data = await fetchApiPost("batch-check", { names: brand_names, mode }); return { content: [{ type: "text" as const, text: JSON.stringify(data) }], }; } );