Promotion-domain MCP tools for Magebit_Mcp (catalog rules, cart price rules, coupons)
Single tool with strong description (194 chars, well-structured) and clear naming (marketing.catalog_rule.apply_all). Input schema present but empty (no parameters). Tool implements ToolInterface with proper title, description, and error handling via ToolResult. However, lacks parameter descriptions (none exist), output schema documentation, and tool annotations. Follows Magento MCP conventions but misses LLM-optimization patterns for composition and chaining.
Invalidate the catalogrule_rule indexer so the next reindex pass walks every active rule and rebuilds the catalogrule_product_* aggregation tables that drive storefront prices. On indexers in realtime mode the rebuild fires immediately and can take minutes on large catalogs — run off-peak. On schedule mode it runs on the next cron pass. Mirrors admin *Marketing → Catalog Price Rule → Apply Rules*.
No output schema documented. Tool returns JSON with 'applied' and 'error' fields, but LLM cannot infer structure without explicit schema. Prevents downstream tool chaining and forces LLM to parse unstructured text.
Tool accepts no parameters (empty schema), limiting composability. Cannot accept optional flags like 'dry_run', 'notify_on_completion', or 'target_websites'. Reduces agent flexibility and forces single rigid behavior.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Tool is marked WriteMode.WRITE and requires confirmation, but LLM cannot see these hints in the schema, must infer from description alone.
Error handling returns JSON text in content array rather than structured error object. LLM must parse 'error' field from JSON string; no error classification (retryable vs fatal) or recovery guidance.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 55 | 2026-07-28+ | v2 |
Transport mechanism unknown. Source shows PHP Magento module with no visible HTTP/STDIO/SSE transport layer. Cannot assess remote accessibility or protocol compliance without transport details.