@omkar273/mcp-temp 0.0.44 → 0.0.45

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.
Files changed (105) hide show
  1. package/bin/mcp-server.js +75 -75
  2. package/bin/mcp-server.js.map +35 -35
  3. package/esm/lib/config.d.ts +2 -2
  4. package/esm/lib/config.js +2 -2
  5. package/esm/mcp-server/mcp-server.js +1 -1
  6. package/esm/mcp-server/server.js +1 -1
  7. package/esm/mcp-server/tools/customersCreateCustomer.js +1 -1
  8. package/esm/mcp-server/tools/customersCreateCustomer.js.map +1 -1
  9. package/esm/mcp-server/tools/customersDeleteCustomer.js +2 -2
  10. package/esm/mcp-server/tools/customersDeleteCustomer.js.map +1 -1
  11. package/esm/mcp-server/tools/customersGetCustomer.js +2 -2
  12. package/esm/mcp-server/tools/customersGetCustomer.js.map +1 -1
  13. package/esm/mcp-server/tools/customersGetCustomerByExternalId.js +2 -2
  14. package/esm/mcp-server/tools/customersGetCustomerByExternalId.js.map +1 -1
  15. package/esm/mcp-server/tools/customersGetCustomerEntitlements.js +2 -2
  16. package/esm/mcp-server/tools/customersGetCustomerEntitlements.js.map +1 -1
  17. package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.js +2 -2
  18. package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.js.map +1 -1
  19. package/esm/mcp-server/tools/customersGetCustomerUsageSummary.js +2 -2
  20. package/esm/mcp-server/tools/customersGetCustomerUsageSummary.js.map +1 -1
  21. package/esm/mcp-server/tools/customersQueryCustomer.js +1 -1
  22. package/esm/mcp-server/tools/customersQueryCustomer.js.map +1 -1
  23. package/esm/mcp-server/tools/customersUpdateCustomer.js +1 -1
  24. package/esm/mcp-server/tools/customersUpdateCustomer.js.map +1 -1
  25. package/esm/mcp-server/tools/eventsGetEvent.js +2 -2
  26. package/esm/mcp-server/tools/eventsGetEvent.js.map +1 -1
  27. package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js +1 -1
  28. package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js.map +1 -1
  29. package/esm/mcp-server/tools/eventsGetUsageAnalytics.js +1 -1
  30. package/esm/mcp-server/tools/eventsGetUsageAnalytics.js.map +1 -1
  31. package/esm/mcp-server/tools/eventsGetUsageByMeter.js +1 -1
  32. package/esm/mcp-server/tools/eventsGetUsageByMeter.js.map +1 -1
  33. package/esm/mcp-server/tools/eventsGetUsageStatistics.js +1 -1
  34. package/esm/mcp-server/tools/eventsGetUsageStatistics.js.map +1 -1
  35. package/esm/mcp-server/tools/eventsIngestEvent.js +1 -1
  36. package/esm/mcp-server/tools/eventsIngestEvent.js.map +1 -1
  37. package/esm/mcp-server/tools/eventsIngestEventsBulk.js +1 -1
  38. package/esm/mcp-server/tools/eventsIngestEventsBulk.js.map +1 -1
  39. package/esm/mcp-server/tools/eventsListRawEvents.js +1 -1
  40. package/esm/mcp-server/tools/eventsListRawEvents.js.map +1 -1
  41. package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.js +1 -1
  42. package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.js.map +1 -1
  43. package/esm/mcp-server/tools/invoicesCreateInvoice.js +1 -1
  44. package/esm/mcp-server/tools/invoicesCreateInvoice.js.map +1 -1
  45. package/esm/mcp-server/tools/invoicesFinalizeInvoice.js +1 -1
  46. package/esm/mcp-server/tools/invoicesFinalizeInvoice.js.map +1 -1
  47. package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.js +2 -2
  48. package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.js.map +1 -1
  49. package/esm/mcp-server/tools/invoicesGetInvoice.js +2 -2
  50. package/esm/mcp-server/tools/invoicesGetInvoice.js.map +1 -1
  51. package/esm/mcp-server/tools/invoicesGetInvoicePdf.js +2 -2
  52. package/esm/mcp-server/tools/invoicesGetInvoicePdf.js.map +1 -1
  53. package/esm/mcp-server/tools/invoicesGetInvoicePreview.js +1 -1
  54. package/esm/mcp-server/tools/invoicesGetInvoicePreview.js.map +1 -1
  55. package/esm/mcp-server/tools/invoicesQueryInvoice.js +1 -1
  56. package/esm/mcp-server/tools/invoicesQueryInvoice.js.map +1 -1
  57. package/esm/mcp-server/tools/invoicesRecalculateInvoice.js +1 -1
  58. package/esm/mcp-server/tools/invoicesRecalculateInvoice.js.map +1 -1
  59. package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.js +1 -1
  60. package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.js.map +1 -1
  61. package/esm/mcp-server/tools/invoicesUpdateInvoice.js +1 -1
  62. package/esm/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -1
  63. package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.js +1 -1
  64. package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.js.map +1 -1
  65. package/esm/mcp-server/tools/invoicesVoidInvoice.js +1 -1
  66. package/esm/mcp-server/tools/invoicesVoidInvoice.js.map +1 -1
  67. package/esm/tool-names.js +30 -30
  68. package/esm/tool-names.js.map +1 -1
  69. package/esm/tsconfig.tsbuildinfo +1 -1
  70. package/manifest.json +31 -31
  71. package/package.json +1 -1
  72. package/src/lib/config.ts +2 -2
  73. package/src/mcp-server/mcp-server.ts +1 -1
  74. package/src/mcp-server/server.ts +1 -1
  75. package/src/mcp-server/tools/customersCreateCustomer.ts +1 -1
  76. package/src/mcp-server/tools/customersDeleteCustomer.ts +2 -2
  77. package/src/mcp-server/tools/customersGetCustomer.ts +2 -2
  78. package/src/mcp-server/tools/customersGetCustomerByExternalId.ts +2 -2
  79. package/src/mcp-server/tools/customersGetCustomerEntitlements.ts +2 -2
  80. package/src/mcp-server/tools/customersGetCustomerUpcomingGrants.ts +2 -2
  81. package/src/mcp-server/tools/customersGetCustomerUsageSummary.ts +2 -2
  82. package/src/mcp-server/tools/customersQueryCustomer.ts +1 -1
  83. package/src/mcp-server/tools/customersUpdateCustomer.ts +1 -1
  84. package/src/mcp-server/tools/eventsGetEvent.ts +2 -2
  85. package/src/mcp-server/tools/eventsGetHuggingfaceInferenceData.ts +1 -1
  86. package/src/mcp-server/tools/eventsGetUsageAnalytics.ts +1 -1
  87. package/src/mcp-server/tools/eventsGetUsageByMeter.ts +1 -1
  88. package/src/mcp-server/tools/eventsGetUsageStatistics.ts +1 -1
  89. package/src/mcp-server/tools/eventsIngestEvent.ts +1 -1
  90. package/src/mcp-server/tools/eventsIngestEventsBulk.ts +1 -1
  91. package/src/mcp-server/tools/eventsListRawEvents.ts +1 -1
  92. package/src/mcp-server/tools/invoicesAttemptInvoicePayment.ts +1 -1
  93. package/src/mcp-server/tools/invoicesCreateInvoice.ts +1 -1
  94. package/src/mcp-server/tools/invoicesFinalizeInvoice.ts +1 -1
  95. package/src/mcp-server/tools/invoicesGetCustomerInvoiceSummary.ts +2 -2
  96. package/src/mcp-server/tools/invoicesGetInvoice.ts +2 -2
  97. package/src/mcp-server/tools/invoicesGetInvoicePdf.ts +2 -2
  98. package/src/mcp-server/tools/invoicesGetInvoicePreview.ts +1 -1
  99. package/src/mcp-server/tools/invoicesQueryInvoice.ts +1 -1
  100. package/src/mcp-server/tools/invoicesRecalculateInvoice.ts +1 -1
  101. package/src/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.ts +1 -1
  102. package/src/mcp-server/tools/invoicesUpdateInvoice.ts +1 -1
  103. package/src/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.ts +1 -1
  104. package/src/mcp-server/tools/invoicesVoidInvoice.ts +1 -1
  105. package/src/tool-names.ts +30 -30
package/manifest.json CHANGED
@@ -46,126 +46,126 @@
46
46
  "sensitive": true
47
47
  }
48
48
  },
49
- "version": "0.0.44",
49
+ "version": "0.0.45",
50
50
  "tools": [
51
51
  {
52
- "name": "customers-update-customer",
52
+ "name": "update-customer",
53
53
  "description": "Update customer\n\nUse when updating customer details (e.g. name, email, or metadata). Identify by id or external_customer_id."
54
54
  },
55
55
  {
56
- "name": "customers-create-customer",
56
+ "name": "create-customer",
57
57
  "description": "Create customer\n\nUse when onboarding a new billing customer (e.g. sign-up or CRM sync). Ideal for linking via external_customer_id to your app's user id."
58
58
  },
59
59
  {
60
- "name": "customers-get-customer-by-external-id",
60
+ "name": "get-customer-by-external-id",
61
61
  "description": "Get customer by external ID\n\nUse when resolving a customer by your app's id (e.g. from your user table). Ideal for integrations that key by external id."
62
62
  },
63
63
  {
64
- "name": "customers-query-customer",
64
+ "name": "query-customer",
65
65
  "description": "Query customers\n\nUse when listing or searching customers (e.g. admin CRM or reporting). Returns a paginated list; supports filtering and sorting."
66
66
  },
67
67
  {
68
- "name": "customers-get-customer-usage-summary",
68
+ "name": "get-customer-usage-summary",
69
69
  "description": "Get customer usage summary\n\nUse when showing a customer's usage (e.g. portal or overage alerts). Identify by customer_id or customer_lookup_key; supports filters."
70
70
  },
71
71
  {
72
- "name": "customers-get-customer",
72
+ "name": "get-customer",
73
73
  "description": "Get customer\n\nUse when you need to load a single customer (e.g. for a billing portal or to attach a subscription)."
74
74
  },
75
75
  {
76
- "name": "customers-delete-customer",
76
+ "name": "delete-customer",
77
77
  "description": "Delete customer\n\nUse when removing a customer (e.g. GDPR or churn). Returns 204 No Content on success."
78
78
  },
79
79
  {
80
- "name": "customers-get-customer-entitlements",
80
+ "name": "get-customer-entitlements",
81
81
  "description": "Get customer entitlements\n\nUse when checking what a customer can access (e.g. feature gating or usage limits). Supports optional filters (feature_ids, subscription_ids)."
82
82
  },
83
83
  {
84
- "name": "customers-get-customer-upcoming-grants",
84
+ "name": "get-customer-upcoming-grants",
85
85
  "description": "Get upcoming credit grant applications\n\nUse when showing upcoming or pending credits for a customer (e.g. in a portal or for forecasting)."
86
86
  },
87
87
  {
88
- "name": "invoices-get-customer-invoice-summary",
88
+ "name": "get-customer-invoice-summary",
89
89
  "description": "Get customer invoice summary\n\nUse when showing a customer's invoice overview (e.g. billing portal or balance summary). Includes totals and multi-currency breakdown."
90
90
  },
91
91
  {
92
- "name": "invoices-create-invoice",
92
+ "name": "create-invoice",
93
93
  "description": "Create one-off invoice\n\nUse when creating a manual or one-off invoice (e.g. custom charge or non-recurring billing). Invoice is created in draft; finalize when ready."
94
94
  },
95
95
  {
96
- "name": "invoices-get-invoice-preview",
96
+ "name": "get-invoice-preview",
97
97
  "description": "Get invoice preview\n\nUse when showing a customer what they will be charged (e.g. preview before checkout or plan change). No invoice is created."
98
98
  },
99
99
  {
100
- "name": "invoices-query-invoice",
100
+ "name": "query-invoice",
101
101
  "description": "Query invoices\n\nUse when listing or searching invoices (e.g. admin view or customer history). Returns a paginated list; supports filtering by customer, status, date range."
102
102
  },
103
103
  {
104
- "name": "invoices-get-invoice",
104
+ "name": "get-invoice",
105
105
  "description": "Get invoice\n\nUse when loading an invoice for display or editing (e.g. portal or reconciliation). Supports group_by for usage breakdown and force_runtime_recalculation."
106
106
  },
107
107
  {
108
- "name": "invoices-update-invoice",
108
+ "name": "update-invoice",
109
109
  "description": "Update invoice\n\nUse when updating invoice metadata or due date (e.g. PDF URL, net terms). For paid invoices only safe fields can be updated."
110
110
  },
111
111
  {
112
- "name": "invoices-trigger-invoice-comms-webhook",
112
+ "name": "trigger-invoice-comms-webhook",
113
113
  "description": "Trigger invoice communication webhook\n\nUse when sending an invoice to the customer (e.g. trigger email or Slack). Payload includes full invoice details for your integration."
114
114
  },
115
115
  {
116
- "name": "invoices-finalize-invoice",
116
+ "name": "finalize-invoice",
117
117
  "description": "Finalize invoice\n\nUse when locking an invoice for payment (e.g. after review). Once finalized, line items are locked; invoice can be paid or voided."
118
118
  },
119
119
  {
120
- "name": "invoices-update-invoice-payment-status",
120
+ "name": "update-invoice-payment-status",
121
121
  "description": "Update invoice payment status\n\nUse when reconciling payment status from an external gateway or manual entry (e.g. mark paid after bank confirmation)."
122
122
  },
123
123
  {
124
- "name": "invoices-attempt-invoice-payment",
124
+ "name": "attempt-invoice-payment",
125
125
  "description": "Attempt invoice payment\n\nUse when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout)."
126
126
  },
127
127
  {
128
- "name": "invoices-get-invoice-pdf",
128
+ "name": "get-invoice-pdf",
129
129
  "description": "Get invoice PDF\n\nUse when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary."
130
130
  },
131
131
  {
132
- "name": "invoices-recalculate-invoice",
132
+ "name": "recalculate-invoice",
133
133
  "description": "Recalculate invoice\n\nUse when subscription or usage data changed and you need to refresh a draft invoice before finalizing. Optional finalize=true to lock after recalc."
134
134
  },
135
135
  {
136
- "name": "invoices-void-invoice",
136
+ "name": "void-invoice",
137
137
  "description": "Void invoice\n\nUse when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided."
138
138
  },
139
139
  {
140
- "name": "events-ingest-event",
140
+ "name": "ingest-event",
141
141
  "description": "Ingest event\n\nUse when sending a single usage event from your app (e.g. one API call or one GB stored). Events are processed asynchronously; returns 202 with event_id."
142
142
  },
143
143
  {
144
- "name": "events-get-usage-analytics",
144
+ "name": "get-usage-analytics",
145
145
  "description": "Get usage analytics\n\nUse when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown."
146
146
  },
147
147
  {
148
- "name": "events-ingest-events-bulk",
148
+ "name": "ingest-events-bulk",
149
149
  "description": "Bulk ingest events\n\nUse when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted."
150
150
  },
151
151
  {
152
- "name": "events-get-huggingface-inference-data",
152
+ "name": "get-huggingface-inference-data",
153
153
  "description": "Get Hugging Face inference data\n\nUse when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation)."
154
154
  },
155
155
  {
156
- "name": "events-list-raw-events",
156
+ "name": "list-raw-events",
157
157
  "description": "List raw events\n\nUse when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting."
158
158
  },
159
159
  {
160
- "name": "events-get-usage-statistics",
160
+ "name": "get-usage-statistics",
161
161
  "description": "Get usage statistics\n\nUse when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided."
162
162
  },
163
163
  {
164
- "name": "events-get-usage-by-meter",
164
+ "name": "get-usage-by-meter",
165
165
  "description": "Get usage by meter\n\nUse when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription."
166
166
  },
167
167
  {
168
- "name": "events-get-event",
168
+ "name": "get-event",
169
169
  "description": "Get event\n\nUse when debugging a specific event (e.g. why it failed or how it was aggregated). Includes processing status and debug info."
170
170
  }
171
171
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omkar273/mcp-temp",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "author": "flexprice",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -62,8 +62,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
62
62
  export const SDK_METADATA = {
63
63
  language: "typescript",
64
64
  openapiDocVersion: "1.0",
65
- sdkVersion: "0.0.44",
65
+ sdkVersion: "0.0.45",
66
66
  genVersion: "2.845.1",
67
67
  userAgent:
68
- "speakeasy-sdk/mcp-typescript 0.0.44 2.845.1 1.0 @omkar273/mcp-temp",
68
+ "speakeasy-sdk/mcp-typescript 0.0.45 2.845.1 1.0 @omkar273/mcp-temp",
69
69
  } as const;
@@ -21,7 +21,7 @@ const routes = buildRouteMap({
21
21
  export const app = buildApplication(routes, {
22
22
  name: "mcp",
23
23
  versionInfo: {
24
- currentVersion: "0.0.44",
24
+ currentVersion: "0.0.45",
25
25
  },
26
26
  });
27
27
 
@@ -56,7 +56,7 @@ export function createMCPServer(deps: {
56
56
  }) {
57
57
  const server = new McpServer({
58
58
  name: "Flexprice",
59
- version: "0.0.44",
59
+ version: "0.0.45",
60
60
  });
61
61
 
62
62
  const getClient = deps.getSDK || (() =>
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$customersCreateCustomer: ToolDefinition<typeof args> = {
14
- name: "customers-create-customer",
14
+ name: "create-customer",
15
15
  description: `Create customer
16
16
 
17
17
  Use when onboarding a new billing customer (e.g. sign-up or CRM sync). Ideal for linking via external_customer_id to your app's user id.`,
@@ -11,13 +11,13 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$customersDeleteCustomer: ToolDefinition<typeof args> = {
14
- name: "customers-delete-customer",
14
+ name: "delete-customer",
15
15
  description: `Delete customer
16
16
 
17
17
  Use when removing a customer (e.g. GDPR or churn). Returns 204 No Content on success.`,
18
18
  annotations: {
19
19
  "title": "",
20
- "destructiveHint": true,
20
+ "destructiveHint": false,
21
21
  "idempotentHint": false,
22
22
  "openWorldHint": false,
23
23
  "readOnlyHint": false,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$customersGetCustomer: ToolDefinition<typeof args> = {
14
- name: "customers-get-customer",
14
+ name: "get-customer",
15
15
  description: `Get customer
16
16
 
17
17
  Use when you need to load a single customer (e.g. for a billing portal or to attach a subscription).`,
@@ -20,7 +20,7 @@ Use when you need to load a single customer (e.g. for a billing portal or to att
20
20
  "destructiveHint": false,
21
21
  "idempotentHint": false,
22
22
  "openWorldHint": false,
23
- "readOnlyHint": true,
23
+ "readOnlyHint": false,
24
24
  },
25
25
  args,
26
26
  tool: async (client, args, ctx) => {
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$customersGetCustomerByExternalId: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "customers-get-customer-by-external-id",
16
+ name: "get-customer-by-external-id",
17
17
  description: `Get customer by external ID
18
18
 
19
19
  Use when resolving a customer by your app's id (e.g. from your user table). Ideal for integrations that key by external id.`,
@@ -22,7 +22,7 @@ Use when resolving a customer by your app's id (e.g. from your user table). Idea
22
22
  "destructiveHint": false,
23
23
  "idempotentHint": false,
24
24
  "openWorldHint": false,
25
- "readOnlyHint": true,
25
+ "readOnlyHint": false,
26
26
  },
27
27
  args,
28
28
  tool: async (client, args, ctx) => {
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$customersGetCustomerEntitlements: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "customers-get-customer-entitlements",
16
+ name: "get-customer-entitlements",
17
17
  description: `Get customer entitlements
18
18
 
19
19
  Use when checking what a customer can access (e.g. feature gating or usage limits). Supports optional filters (feature_ids, subscription_ids).`,
@@ -22,7 +22,7 @@ Use when checking what a customer can access (e.g. feature gating or usage limit
22
22
  "destructiveHint": false,
23
23
  "idempotentHint": false,
24
24
  "openWorldHint": false,
25
- "readOnlyHint": true,
25
+ "readOnlyHint": false,
26
26
  },
27
27
  args,
28
28
  tool: async (client, args, ctx) => {
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$customersGetCustomerUpcomingGrants: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "customers-get-customer-upcoming-grants",
16
+ name: "get-customer-upcoming-grants",
17
17
  description: `Get upcoming credit grant applications
18
18
 
19
19
  Use when showing upcoming or pending credits for a customer (e.g. in a portal or for forecasting).`,
@@ -22,7 +22,7 @@ Use when showing upcoming or pending credits for a customer (e.g. in a portal or
22
22
  "destructiveHint": false,
23
23
  "idempotentHint": false,
24
24
  "openWorldHint": false,
25
- "readOnlyHint": true,
25
+ "readOnlyHint": false,
26
26
  },
27
27
  args,
28
28
  tool: async (client, args, ctx) => {
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$customersGetCustomerUsageSummary: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "customers-get-customer-usage-summary",
16
+ name: "get-customer-usage-summary",
17
17
  description: `Get customer usage summary
18
18
 
19
19
  Use when showing a customer's usage (e.g. portal or overage alerts). Identify by customer_id or customer_lookup_key; supports filters.`,
@@ -22,7 +22,7 @@ Use when showing a customer's usage (e.g. portal or overage alerts). Identify by
22
22
  "destructiveHint": false,
23
23
  "idempotentHint": false,
24
24
  "openWorldHint": false,
25
- "readOnlyHint": true,
25
+ "readOnlyHint": false,
26
26
  },
27
27
  args,
28
28
  tool: async (client, args, ctx) => {
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$customersQueryCustomer: ToolDefinition<typeof args> = {
14
- name: "customers-query-customer",
14
+ name: "query-customer",
15
15
  description: `Query customers
16
16
 
17
17
  Use when listing or searching customers (e.g. admin CRM or reporting). Returns a paginated list; supports filtering and sorting.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$customersUpdateCustomer: ToolDefinition<typeof args> = {
14
- name: "customers-update-customer",
14
+ name: "update-customer",
15
15
  description: `Update customer
16
16
 
17
17
  Use when updating customer details (e.g. name, email, or metadata). Identify by id or external_customer_id.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsGetEvent: ToolDefinition<typeof args> = {
14
- name: "events-get-event",
14
+ name: "get-event",
15
15
  description: `Get event
16
16
 
17
17
  Use when debugging a specific event (e.g. why it failed or how it was aggregated). Includes processing status and debug info.`,
@@ -20,7 +20,7 @@ Use when debugging a specific event (e.g. why it failed or how it was aggregated
20
20
  "destructiveHint": false,
21
21
  "idempotentHint": false,
22
22
  "openWorldHint": false,
23
- "readOnlyHint": true,
23
+ "readOnlyHint": false,
24
24
  },
25
25
  args,
26
26
  tool: async (client, args, ctx) => {
@@ -6,7 +6,7 @@ import { eventsGetHuggingfaceInferenceData } from "../../funcs/eventsGetHuggingf
6
6
  import { formatResult, ToolDefinition } from "../tools.js";
7
7
 
8
8
  export const tool$eventsGetHuggingfaceInferenceData: ToolDefinition = {
9
- name: "events-get-huggingface-inference-data",
9
+ name: "get-huggingface-inference-data",
10
10
  description: `Get Hugging Face inference data
11
11
 
12
12
  Use when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation).`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsGetUsageAnalytics: ToolDefinition<typeof args> = {
14
- name: "events-get-usage-analytics",
14
+ name: "get-usage-analytics",
15
15
  description: `Get usage analytics
16
16
 
17
17
  Use when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsGetUsageByMeter: ToolDefinition<typeof args> = {
14
- name: "events-get-usage-by-meter",
14
+ name: "get-usage-by-meter",
15
15
  description: `Get usage by meter
16
16
 
17
17
  Use when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsGetUsageStatistics: ToolDefinition<typeof args> = {
14
- name: "events-get-usage-statistics",
14
+ name: "get-usage-statistics",
15
15
  description: `Get usage statistics
16
16
 
17
17
  Use when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsIngestEvent: ToolDefinition<typeof args> = {
14
- name: "events-ingest-event",
14
+ name: "ingest-event",
15
15
  description: `Ingest event
16
16
 
17
17
  Use when sending a single usage event from your app (e.g. one API call or one GB stored). Events are processed asynchronously; returns 202 with event_id.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsIngestEventsBulk: ToolDefinition<typeof args> = {
14
- name: "events-ingest-events-bulk",
14
+ name: "ingest-events-bulk",
15
15
  description: `Bulk ingest events
16
16
 
17
17
  Use when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$eventsListRawEvents: ToolDefinition<typeof args> = {
14
- name: "events-list-raw-events",
14
+ name: "list-raw-events",
15
15
  description: `List raw events
16
16
 
17
17
  Use when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesAttemptInvoicePayment: ToolDefinition<typeof args> = {
14
- name: "invoices-attempt-invoice-payment",
14
+ name: "attempt-invoice-payment",
15
15
  description: `Attempt invoice payment
16
16
 
17
17
  Use when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout).`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesCreateInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-create-invoice",
14
+ name: "create-invoice",
15
15
  description: `Create one-off invoice
16
16
 
17
17
  Use when creating a manual or one-off invoice (e.g. custom charge or non-recurring billing). Invoice is created in draft; finalize when ready.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesFinalizeInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-finalize-invoice",
14
+ name: "finalize-invoice",
15
15
  description: `Finalize invoice
16
16
 
17
17
  Use when locking an invoice for payment (e.g. after review). Once finalized, line items are locked; invoice can be paid or voided.`,
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$invoicesGetCustomerInvoiceSummary: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "invoices-get-customer-invoice-summary",
16
+ name: "get-customer-invoice-summary",
17
17
  description: `Get customer invoice summary
18
18
 
19
19
  Use when showing a customer's invoice overview (e.g. billing portal or balance summary). Includes totals and multi-currency breakdown.`,
@@ -22,7 +22,7 @@ Use when showing a customer's invoice overview (e.g. billing portal or balance s
22
22
  "destructiveHint": false,
23
23
  "idempotentHint": false,
24
24
  "openWorldHint": false,
25
- "readOnlyHint": true,
25
+ "readOnlyHint": false,
26
26
  },
27
27
  args,
28
28
  tool: async (client, args, ctx) => {
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesGetInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-get-invoice",
14
+ name: "get-invoice",
15
15
  description: `Get invoice
16
16
 
17
17
  Use when loading an invoice for display or editing (e.g. portal or reconciliation). Supports group_by for usage breakdown and force_runtime_recalculation.`,
@@ -20,7 +20,7 @@ Use when loading an invoice for display or editing (e.g. portal or reconciliatio
20
20
  "destructiveHint": false,
21
21
  "idempotentHint": false,
22
22
  "openWorldHint": false,
23
- "readOnlyHint": true,
23
+ "readOnlyHint": false,
24
24
  },
25
25
  args,
26
26
  tool: async (client, args, ctx) => {
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesGetInvoicePdf: ToolDefinition<typeof args> = {
14
- name: "invoices-get-invoice-pdf",
14
+ name: "get-invoice-pdf",
15
15
  description: `Get invoice PDF
16
16
 
17
17
  Use when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary.`,
@@ -20,7 +20,7 @@ Use when delivering an invoice PDF to the customer (e.g. email attachment or dow
20
20
  "destructiveHint": false,
21
21
  "idempotentHint": false,
22
22
  "openWorldHint": false,
23
- "readOnlyHint": true,
23
+ "readOnlyHint": false,
24
24
  },
25
25
  args,
26
26
  tool: async (client, args, ctx) => {
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesGetInvoicePreview: ToolDefinition<typeof args> = {
14
- name: "invoices-get-invoice-preview",
14
+ name: "get-invoice-preview",
15
15
  description: `Get invoice preview
16
16
 
17
17
  Use when showing a customer what they will be charged (e.g. preview before checkout or plan change). No invoice is created.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesQueryInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-query-invoice",
14
+ name: "query-invoice",
15
15
  description: `Query invoices
16
16
 
17
17
  Use when listing or searching invoices (e.g. admin view or customer history). Returns a paginated list; supports filtering by customer, status, date range.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesRecalculateInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-recalculate-invoice",
14
+ name: "recalculate-invoice",
15
15
  description: `Recalculate invoice
16
16
 
17
17
  Use when subscription or usage data changed and you need to refresh a draft invoice before finalizing. Optional finalize=true to lock after recalc.`,
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$invoicesTriggerInvoiceCommsWebhook: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "invoices-trigger-invoice-comms-webhook",
16
+ name: "trigger-invoice-comms-webhook",
17
17
  description: `Trigger invoice communication webhook
18
18
 
19
19
  Use when sending an invoice to the customer (e.g. trigger email or Slack). Payload includes full invoice details for your integration.`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesUpdateInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-update-invoice",
14
+ name: "update-invoice",
15
15
  description: `Update invoice
16
16
 
17
17
  Use when updating invoice metadata or due date (e.g. PDF URL, net terms). For paid invoices only safe fields can be updated.`,
@@ -13,7 +13,7 @@ const args = {
13
13
  export const tool$invoicesUpdateInvoicePaymentStatus: ToolDefinition<
14
14
  typeof args
15
15
  > = {
16
- name: "invoices-update-invoice-payment-status",
16
+ name: "update-invoice-payment-status",
17
17
  description: `Update invoice payment status
18
18
 
19
19
  Use when reconciling payment status from an external gateway or manual entry (e.g. mark paid after bank confirmation).`,
@@ -11,7 +11,7 @@ const args = {
11
11
  };
12
12
 
13
13
  export const tool$invoicesVoidInvoice: ToolDefinition<typeof args> = {
14
- name: "invoices-void-invoice",
14
+ name: "void-invoice",
15
15
  description: `Void invoice
16
16
 
17
17
  Use when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided.`,