PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
← All changes | app/Modules/MCP/Tools/LabelTools.php +5 -1 1.5.0 → 1.6.5 View file →
@@ -44,9 +44,13 @@
44 44 'execute_callback' => [self::class, 'applyLabels'],
45 45 'permission_callback' => function () {
46 46 return PermissionGate::can('labels/manage');
47 47 },
48 - 'annotations' => ['bulk' => true],
48 + // Mutating but reversible (labels can be removed) and re-applying
49 + // the same set is a no-op — idempotent. 'bulk' was a non-standard
50 + // hint the MCP client could not read; readonly:false is the real
51 + // "this mutates" signal.
52 + 'annotations' => ['readonly' => false, 'destructive' => false, 'idempotent' => true],
49 53 ],
50 54 ];
51 55 }
52 56