@velaro/mcp-server 2.0.43 → 2.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.43",
3
+ "version": "2.0.44",
4
4
  "description": "Velaro MCP server — connect Claude and other AI agents directly to your Velaro account: KB, workflows, bots, conversations, contacts, routing, and more.",
5
5
  "type": "module",
6
6
  "bin": {
package/server.js CHANGED
@@ -690,6 +690,11 @@ const TOOLS = [
690
690
  description: 'Teams the caller can review canned message learning for: every site team for a site supervisor, only managed teams for a team manager. Use the ids as teamId on the other canned_learning tools.',
691
691
  inputSchema: { type: 'object', properties: {} },
692
692
  },
693
+ {
694
+ name: 'canned_learning_usage',
695
+ description: 'Canned message analyses used this month out of the amount included in the plan, and when the allowance resets. Each AI rewrite suggestion counts as one analysis; canned_learning_generate stops at the limit.',
696
+ inputSchema: { type: 'object', properties: {} },
697
+ },
693
698
  {
694
699
  name: 'canned_learning_record_edit',
695
700
  description: 'Record that an agent edited a canned response before sending. The sent text is PII-redacted and length-capped server-side; the site comes from the session. Rows are capped per site and expire after 90 days.',
@@ -5353,6 +5358,8 @@ async function handleTool(name, args) {
5353
5358
  return await messagingPost('/CannedLearning/generate', { teamId: args.teamId ?? null });
5354
5359
  case 'canned_learning_teams':
5355
5360
  return await messagingGet('/CannedLearning/teams');
5361
+ case 'canned_learning_usage':
5362
+ return await messagingGet('/CannedLearning/usage');
5356
5363
  case 'canned_learning_approve':
5357
5364
  return await messagingPost(`/CannedLearning/suggestions/${args.suggestionId}/approve`, { editedText: args.editedText ?? null });
5358
5365
  case 'canned_learning_reject':
@@ -48,7 +48,7 @@ const READ_ONLY_EXPLICIT = new Set([
48
48
  'focus_get_draft_pregeneration_report', 'teams_push_settings_get', 'call_center_team_breakdown',
49
49
  'call_center_channel_breakdown', 'outbound_activity_for_contact', 'integration_skill_logs',
50
50
  'magento_activity_logs', 'chat_intelligence_themes', 'chat_intelligence_recommendations',
51
- 'index_move_preview', 'index_split_preview', 'canned_learning_suggestions', 'canned_learning_teams',
51
+ 'index_move_preview', 'index_split_preview', 'canned_learning_suggestions', 'canned_learning_teams', 'canned_learning_usage',
52
52
  'canned_learning_edit_summary', 'chat_topics_group_suggestions', 'chat_topics_suggestions',
53
53
  'enterprise_reports', 'recruiting_ats_failures', 'jobboard_application_history',
54
54
  'recruiting_download_resume', 'routing_inactivity_transfers', 'compliance_attestation',