posterly-mcp-server 0.29.0 → 0.31.0

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 (46) hide show
  1. package/README.md +3 -4
  2. package/dist/index.js +84 -85
  3. package/dist/lib/api-client.d.ts +21 -25
  4. package/dist/lib/api-client.js +3 -11
  5. package/dist/lib/version.d.ts +1 -1
  6. package/dist/lib/version.js +1 -1
  7. package/dist/tools/add-google-business-media.d.ts +2 -2
  8. package/dist/tools/create-connect-session.d.ts +2 -2
  9. package/dist/tools/create-post.d.ts +42 -42
  10. package/dist/tools/create-post.js +7 -7
  11. package/dist/tools/create-posts-batch.d.ts +18 -18
  12. package/dist/tools/generate-image.d.ts +4 -4
  13. package/dist/tools/generate-image.js +3 -3
  14. package/dist/tools/generate-video.d.ts +3 -3
  15. package/dist/tools/generate-video.js +2 -2
  16. package/dist/tools/get-connect-link.d.ts +2 -2
  17. package/dist/tools/get-platform-schema.d.ts +2 -2
  18. package/dist/tools/get-post-analytics.js +3 -65
  19. package/dist/tools/list-posts.d.ts +2 -2
  20. package/dist/tools/submit-product-feedback.d.ts +88 -0
  21. package/dist/tools/submit-product-feedback.js +39 -0
  22. package/dist/tools/trigger-platform-helper.d.ts +2 -2
  23. package/dist/tools/trigger-platform-helper.js +1 -1
  24. package/dist/tools/update-post.d.ts +16 -16
  25. package/dist/tools/update-post.js +7 -7
  26. package/dist/tools/validate-post.d.ts +24 -24
  27. package/package.json +2 -3
  28. package/server.json +2 -2
  29. package/src/index.ts +15 -91
  30. package/src/lib/api-client.ts +26 -35
  31. package/src/lib/version.ts +1 -1
  32. package/src/tools/create-post.ts +7 -7
  33. package/src/tools/generate-image.ts +4 -4
  34. package/src/tools/generate-video.ts +2 -2
  35. package/src/tools/get-post-analytics.ts +3 -66
  36. package/src/tools/submit-product-feedback.ts +56 -0
  37. package/src/tools/trigger-platform-helper.ts +1 -1
  38. package/src/tools/update-post.ts +7 -7
  39. package/dist/lib/tool-annotations.d.ts +0 -2
  40. package/dist/lib/tool-annotations.js +0 -37
  41. package/dist/tools/get-updates.d.ts +0 -24
  42. package/dist/tools/get-updates.js +0 -29
  43. package/scripts/test-tool-annotations.mjs +0 -32
  44. package/src/lib/tool-annotations.ts +0 -47
  45. package/src/tools/get-updates.ts +0 -41
  46. package/tool-annotations.json +0 -199
package/dist/index.js CHANGED
@@ -3,7 +3,6 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
4
4
  import { PosterlyClient } from './lib/api-client.js';
5
5
  import { POSTERLY_MCP_VERSION } from './lib/version.js';
6
- import { getToolAnnotations } from './lib/tool-annotations.js';
7
6
  import { getAgentSignupInfoTool } from './tools/get-agent-signup-info.js';
8
7
  import { getSignupSessionTool } from './tools/get-signup-session.js';
9
8
  import { startSignupTool } from './tools/start-signup.js';
@@ -22,6 +21,7 @@ import { dismissSuggestionTool } from './tools/dismiss-suggestion.js';
22
21
  import { createPostTool } from './tools/create-post.js';
23
22
  import { validatePostTool } from './tools/validate-post.js';
24
23
  import { submitAgentFeedbackTool } from './tools/submit-agent-feedback.js';
24
+ import { submitProductFeedbackTool } from './tools/submit-product-feedback.js';
25
25
  import { createPostsBatchTool } from './tools/create-posts-batch.js';
26
26
  import { findSlotTool } from './tools/find-slot.js';
27
27
  import { listPostsTool } from './tools/list-posts.js';
@@ -53,7 +53,6 @@ import { listGoogleBusinessMediaTool } from './tools/list-google-business-media.
53
53
  import { addGoogleBusinessMediaTool } from './tools/add-google-business-media.js';
54
54
  import { deleteGoogleBusinessMediaTool } from './tools/delete-google-business-media.js';
55
55
  import { listActivityTool } from './tools/list-activity.js';
56
- import { getUpdatesTool } from './tools/get-updates.js';
57
56
  import { listWebhooksTool } from './tools/list-webhooks.js';
58
57
  import { createWebhookTool } from './tools/create-webhook.js';
59
58
  import { updateWebhookTool } from './tools/update-webhook.js';
@@ -85,7 +84,7 @@ const server = new McpServer({
85
84
  });
86
85
  const client = new PosterlyClient();
87
86
  // Register tools
88
- server.tool(getAgentSignupInfoTool.name, getAgentSignupInfoTool.description, getAgentSignupInfoTool.inputSchema.shape, getToolAnnotations(getAgentSignupInfoTool.name), async () => {
87
+ server.tool(getAgentSignupInfoTool.name, getAgentSignupInfoTool.description, getAgentSignupInfoTool.inputSchema.shape, async () => {
89
88
  try {
90
89
  const text = await getAgentSignupInfoTool.execute(client);
91
90
  return { content: [{ type: 'text', text }] };
@@ -94,7 +93,7 @@ server.tool(getAgentSignupInfoTool.name, getAgentSignupInfoTool.description, get
94
93
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
95
94
  }
96
95
  });
97
- server.tool(startSignupTool.name, startSignupTool.description, startSignupTool.inputSchema.shape, getToolAnnotations(startSignupTool.name), async (input) => {
96
+ server.tool(startSignupTool.name, startSignupTool.description, startSignupTool.inputSchema.shape, async (input) => {
98
97
  try {
99
98
  const text = await startSignupTool.execute(client, input);
100
99
  return { content: [{ type: 'text', text }] };
@@ -103,7 +102,7 @@ server.tool(startSignupTool.name, startSignupTool.description, startSignupTool.i
103
102
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
104
103
  }
105
104
  });
106
- server.tool(getSignupSessionTool.name, getSignupSessionTool.description, getSignupSessionTool.inputSchema.shape, getToolAnnotations(getSignupSessionTool.name), async (input) => {
105
+ server.tool(getSignupSessionTool.name, getSignupSessionTool.description, getSignupSessionTool.inputSchema.shape, async (input) => {
107
106
  try {
108
107
  const text = await getSignupSessionTool.execute(client, input);
109
108
  return { content: [{ type: 'text', text }] };
@@ -112,7 +111,7 @@ server.tool(getSignupSessionTool.name, getSignupSessionTool.description, getSign
112
111
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
113
112
  }
114
113
  });
115
- server.tool(getMcpStatusTool.name, getMcpStatusTool.description, getMcpStatusTool.inputSchema.shape, getToolAnnotations(getMcpStatusTool.name), async () => {
114
+ server.tool(getMcpStatusTool.name, getMcpStatusTool.description, getMcpStatusTool.inputSchema.shape, async () => {
116
115
  try {
117
116
  const text = await getMcpStatusTool.execute(client);
118
117
  return { content: [{ type: 'text', text }] };
@@ -121,7 +120,7 @@ server.tool(getMcpStatusTool.name, getMcpStatusTool.description, getMcpStatusToo
121
120
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
122
121
  }
123
122
  });
124
- server.tool(whoamiTool.name, whoamiTool.description, whoamiTool.inputSchema.shape, getToolAnnotations(whoamiTool.name), async () => {
123
+ server.tool(whoamiTool.name, whoamiTool.description, whoamiTool.inputSchema.shape, async () => {
125
124
  try {
126
125
  const text = await whoamiTool.execute(client);
127
126
  return { content: [{ type: 'text', text }] };
@@ -130,7 +129,7 @@ server.tool(whoamiTool.name, whoamiTool.description, whoamiTool.inputSchema.shap
130
129
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
131
130
  }
132
131
  });
133
- server.tool(listAccountsTool.name, listAccountsTool.description, listAccountsTool.inputSchema.shape, getToolAnnotations(listAccountsTool.name), async (input) => {
132
+ server.tool(listAccountsTool.name, listAccountsTool.description, listAccountsTool.inputSchema.shape, async (input) => {
134
133
  try {
135
134
  const text = await listAccountsTool.execute(client, input);
136
135
  return { content: [{ type: 'text', text }] };
@@ -139,7 +138,7 @@ server.tool(listAccountsTool.name, listAccountsTool.description, listAccountsToo
139
138
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
140
139
  }
141
140
  });
142
- server.tool(disconnectAccountTool.name, disconnectAccountTool.description, disconnectAccountTool.inputSchema.shape, getToolAnnotations(disconnectAccountTool.name), async (input) => {
141
+ server.tool(disconnectAccountTool.name, disconnectAccountTool.description, disconnectAccountTool.inputSchema.shape, async (input) => {
143
142
  try {
144
143
  const text = await disconnectAccountTool.execute(client, input);
145
144
  return { content: [{ type: 'text', text }] };
@@ -148,7 +147,7 @@ server.tool(disconnectAccountTool.name, disconnectAccountTool.description, disco
148
147
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
149
148
  }
150
149
  });
151
- server.tool(getConnectLinkTool.name, getConnectLinkTool.description, getConnectLinkTool.inputSchema.shape, getToolAnnotations(getConnectLinkTool.name), async (input) => {
150
+ server.tool(getConnectLinkTool.name, getConnectLinkTool.description, getConnectLinkTool.inputSchema.shape, async (input) => {
152
151
  try {
153
152
  const text = await getConnectLinkTool.execute(client, input);
154
153
  return { content: [{ type: 'text', text }] };
@@ -157,7 +156,7 @@ server.tool(getConnectLinkTool.name, getConnectLinkTool.description, getConnectL
157
156
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
158
157
  }
159
158
  });
160
- server.tool(createConnectSessionTool.name, createConnectSessionTool.description, createConnectSessionTool.inputSchema.shape, getToolAnnotations(createConnectSessionTool.name), async (input) => {
159
+ server.tool(createConnectSessionTool.name, createConnectSessionTool.description, createConnectSessionTool.inputSchema.shape, async (input) => {
161
160
  try {
162
161
  const text = await createConnectSessionTool.execute(client, input);
163
162
  return { content: [{ type: 'text', text }] };
@@ -166,7 +165,7 @@ server.tool(createConnectSessionTool.name, createConnectSessionTool.description,
166
165
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
167
166
  }
168
167
  });
169
- server.tool(getConnectSessionTool.name, getConnectSessionTool.description, getConnectSessionTool.inputSchema.shape, getToolAnnotations(getConnectSessionTool.name), async (input) => {
168
+ server.tool(getConnectSessionTool.name, getConnectSessionTool.description, getConnectSessionTool.inputSchema.shape, async (input) => {
170
169
  try {
171
170
  const text = await getConnectSessionTool.execute(client, input);
172
171
  return { content: [{ type: 'text', text }] };
@@ -175,7 +174,7 @@ server.tool(getConnectSessionTool.name, getConnectSessionTool.description, getCo
175
174
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
176
175
  }
177
176
  });
178
- server.tool(createApiKeyTool.name, createApiKeyTool.description, createApiKeyTool.inputSchema.shape, getToolAnnotations(createApiKeyTool.name), async (input) => {
177
+ server.tool(createApiKeyTool.name, createApiKeyTool.description, createApiKeyTool.inputSchema.shape, async (input) => {
179
178
  try {
180
179
  const text = await createApiKeyTool.execute(client, input);
181
180
  return { content: [{ type: 'text', text }] };
@@ -184,7 +183,7 @@ server.tool(createApiKeyTool.name, createApiKeyTool.description, createApiKeyToo
184
183
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
185
184
  }
186
185
  });
187
- server.tool(deleteApiKeyTool.name, deleteApiKeyTool.description, deleteApiKeyTool.inputSchema.shape, getToolAnnotations(deleteApiKeyTool.name), async (input) => {
186
+ server.tool(deleteApiKeyTool.name, deleteApiKeyTool.description, deleteApiKeyTool.inputSchema.shape, async (input) => {
188
187
  try {
189
188
  const text = await deleteApiKeyTool.execute(client, input);
190
189
  return { content: [{ type: 'text', text }] };
@@ -193,7 +192,7 @@ server.tool(deleteApiKeyTool.name, deleteApiKeyTool.description, deleteApiKeyToo
193
192
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
194
193
  }
195
194
  });
196
- server.tool(getSubscriptionTool.name, getSubscriptionTool.description, getSubscriptionTool.inputSchema.shape, getToolAnnotations(getSubscriptionTool.name), async () => {
195
+ server.tool(getSubscriptionTool.name, getSubscriptionTool.description, getSubscriptionTool.inputSchema.shape, async () => {
197
196
  try {
198
197
  const text = await getSubscriptionTool.execute(client);
199
198
  return { content: [{ type: 'text', text }] };
@@ -202,7 +201,7 @@ server.tool(getSubscriptionTool.name, getSubscriptionTool.description, getSubscr
202
201
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
203
202
  }
204
203
  });
205
- server.tool(cancelSubscriptionTool.name, cancelSubscriptionTool.description, cancelSubscriptionTool.inputSchema.shape, getToolAnnotations(cancelSubscriptionTool.name), async (input) => {
204
+ server.tool(cancelSubscriptionTool.name, cancelSubscriptionTool.description, cancelSubscriptionTool.inputSchema.shape, async (input) => {
206
205
  try {
207
206
  const text = await cancelSubscriptionTool.execute(client, input);
208
207
  return { content: [{ type: 'text', text }] };
@@ -211,7 +210,7 @@ server.tool(cancelSubscriptionTool.name, cancelSubscriptionTool.description, can
211
210
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
212
211
  }
213
212
  });
214
- server.tool(pauseSubscriptionTool.name, pauseSubscriptionTool.description, pauseSubscriptionTool.inputSchema.shape, getToolAnnotations(pauseSubscriptionTool.name), async (input) => {
213
+ server.tool(pauseSubscriptionTool.name, pauseSubscriptionTool.description, pauseSubscriptionTool.inputSchema.shape, async (input) => {
215
214
  try {
216
215
  const text = await pauseSubscriptionTool.execute(client, input);
217
216
  return { content: [{ type: 'text', text }] };
@@ -220,7 +219,7 @@ server.tool(pauseSubscriptionTool.name, pauseSubscriptionTool.description, pause
220
219
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
221
220
  }
222
221
  });
223
- server.tool(resumeSubscriptionTool.name, resumeSubscriptionTool.description, resumeSubscriptionTool.inputSchema.shape, getToolAnnotations(resumeSubscriptionTool.name), async () => {
222
+ server.tool(resumeSubscriptionTool.name, resumeSubscriptionTool.description, resumeSubscriptionTool.inputSchema.shape, async () => {
224
223
  try {
225
224
  const text = await resumeSubscriptionTool.execute(client);
226
225
  return { content: [{ type: 'text', text }] };
@@ -229,7 +228,7 @@ server.tool(resumeSubscriptionTool.name, resumeSubscriptionTool.description, res
229
228
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
230
229
  }
231
230
  });
232
- server.tool(downgradeSubscriptionTool.name, downgradeSubscriptionTool.description, downgradeSubscriptionTool.inputSchema.shape, getToolAnnotations(downgradeSubscriptionTool.name), async (input) => {
231
+ server.tool(downgradeSubscriptionTool.name, downgradeSubscriptionTool.description, downgradeSubscriptionTool.inputSchema.shape, async (input) => {
233
232
  try {
234
233
  const text = await downgradeSubscriptionTool.execute(client, input);
235
234
  return { content: [{ type: 'text', text }] };
@@ -238,7 +237,7 @@ server.tool(downgradeSubscriptionTool.name, downgradeSubscriptionTool.descriptio
238
237
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
239
238
  }
240
239
  });
241
- server.tool(listOAuthClientsTool.name, listOAuthClientsTool.description, listOAuthClientsTool.inputSchema.shape, getToolAnnotations(listOAuthClientsTool.name), async () => {
240
+ server.tool(listOAuthClientsTool.name, listOAuthClientsTool.description, listOAuthClientsTool.inputSchema.shape, async () => {
242
241
  try {
243
242
  const text = await listOAuthClientsTool.execute(client);
244
243
  return { content: [{ type: 'text', text }] };
@@ -247,7 +246,7 @@ server.tool(listOAuthClientsTool.name, listOAuthClientsTool.description, listOAu
247
246
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
248
247
  }
249
248
  });
250
- server.tool(createOAuthClientTool.name, createOAuthClientTool.description, createOAuthClientTool.inputSchema.shape, getToolAnnotations(createOAuthClientTool.name), async (input) => {
249
+ server.tool(createOAuthClientTool.name, createOAuthClientTool.description, createOAuthClientTool.inputSchema.shape, async (input) => {
251
250
  try {
252
251
  const text = await createOAuthClientTool.execute(client, input);
253
252
  return { content: [{ type: 'text', text }] };
@@ -256,7 +255,7 @@ server.tool(createOAuthClientTool.name, createOAuthClientTool.description, creat
256
255
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
257
256
  }
258
257
  });
259
- server.tool(updateOAuthClientTool.name, updateOAuthClientTool.description, updateOAuthClientTool.inputSchema.shape, getToolAnnotations(updateOAuthClientTool.name), async (input) => {
258
+ server.tool(updateOAuthClientTool.name, updateOAuthClientTool.description, updateOAuthClientTool.inputSchema.shape, async (input) => {
260
259
  try {
261
260
  const text = await updateOAuthClientTool.execute(client, input);
262
261
  return { content: [{ type: 'text', text }] };
@@ -265,7 +264,7 @@ server.tool(updateOAuthClientTool.name, updateOAuthClientTool.description, updat
265
264
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
266
265
  }
267
266
  });
268
- server.tool(deleteOAuthClientTool.name, deleteOAuthClientTool.description, deleteOAuthClientTool.inputSchema.shape, getToolAnnotations(deleteOAuthClientTool.name), async (input) => {
267
+ server.tool(deleteOAuthClientTool.name, deleteOAuthClientTool.description, deleteOAuthClientTool.inputSchema.shape, async (input) => {
269
268
  try {
270
269
  const text = await deleteOAuthClientTool.execute(client, input);
271
270
  return { content: [{ type: 'text', text }] };
@@ -274,7 +273,7 @@ server.tool(deleteOAuthClientTool.name, deleteOAuthClientTool.description, delet
274
273
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
275
274
  }
276
275
  });
277
- server.tool(listPlatformsTool.name, listPlatformsTool.description, listPlatformsTool.inputSchema.shape, getToolAnnotations(listPlatformsTool.name), async (input) => {
276
+ server.tool(listPlatformsTool.name, listPlatformsTool.description, listPlatformsTool.inputSchema.shape, async (input) => {
278
277
  try {
279
278
  const text = await listPlatformsTool.execute(client, input);
280
279
  return { content: [{ type: 'text', text }] };
@@ -283,7 +282,7 @@ server.tool(listPlatformsTool.name, listPlatformsTool.description, listPlatforms
283
282
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
284
283
  }
285
284
  });
286
- server.tool(getPlatformSchemaTool.name, getPlatformSchemaTool.description, getPlatformSchemaTool.inputSchema.shape, getToolAnnotations(getPlatformSchemaTool.name), async (input) => {
285
+ server.tool(getPlatformSchemaTool.name, getPlatformSchemaTool.description, getPlatformSchemaTool.inputSchema.shape, async (input) => {
287
286
  try {
288
287
  const text = await getPlatformSchemaTool.execute(client, input);
289
288
  return { content: [{ type: 'text', text }] };
@@ -292,7 +291,7 @@ server.tool(getPlatformSchemaTool.name, getPlatformSchemaTool.description, getPl
292
291
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
293
292
  }
294
293
  });
295
- server.tool(triggerPlatformHelperTool.name, triggerPlatformHelperTool.description, triggerPlatformHelperTool.inputSchema.shape, getToolAnnotations(triggerPlatformHelperTool.name), async (input) => {
294
+ server.tool(triggerPlatformHelperTool.name, triggerPlatformHelperTool.description, triggerPlatformHelperTool.inputSchema.shape, async (input) => {
296
295
  try {
297
296
  const text = await triggerPlatformHelperTool.execute(client, input);
298
297
  return { content: [{ type: 'text', text }] };
@@ -301,7 +300,7 @@ server.tool(triggerPlatformHelperTool.name, triggerPlatformHelperTool.descriptio
301
300
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
302
301
  }
303
302
  });
304
- server.tool(listBrandsTool.name, listBrandsTool.description, listBrandsTool.inputSchema.shape, getToolAnnotations(listBrandsTool.name), async (input) => {
303
+ server.tool(listBrandsTool.name, listBrandsTool.description, listBrandsTool.inputSchema.shape, async (input) => {
305
304
  try {
306
305
  const text = await listBrandsTool.execute(client, input);
307
306
  return { content: [{ type: 'text', text }] };
@@ -310,7 +309,7 @@ server.tool(listBrandsTool.name, listBrandsTool.description, listBrandsTool.inpu
310
309
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
311
310
  }
312
311
  });
313
- server.tool(getBrandTool.name, getBrandTool.description, getBrandTool.inputSchema.shape, getToolAnnotations(getBrandTool.name), async (input) => {
312
+ server.tool(getBrandTool.name, getBrandTool.description, getBrandTool.inputSchema.shape, async (input) => {
314
313
  try {
315
314
  const text = await getBrandTool.execute(client, input);
316
315
  return { content: [{ type: 'text', text }] };
@@ -319,7 +318,7 @@ server.tool(getBrandTool.name, getBrandTool.description, getBrandTool.inputSchem
319
318
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
320
319
  }
321
320
  });
322
- server.tool(listBrandAccountsTool.name, listBrandAccountsTool.description, listBrandAccountsTool.inputSchema.shape, getToolAnnotations(listBrandAccountsTool.name), async (input) => {
321
+ server.tool(listBrandAccountsTool.name, listBrandAccountsTool.description, listBrandAccountsTool.inputSchema.shape, async (input) => {
323
322
  try {
324
323
  const text = await listBrandAccountsTool.execute(client, input);
325
324
  return { content: [{ type: 'text', text }] };
@@ -328,7 +327,7 @@ server.tool(listBrandAccountsTool.name, listBrandAccountsTool.description, listB
328
327
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
329
328
  }
330
329
  });
331
- server.tool(getBrandProfileTool.name, getBrandProfileTool.description, getBrandProfileTool.inputSchema.shape, getToolAnnotations(getBrandProfileTool.name), async (input) => {
330
+ server.tool(getBrandProfileTool.name, getBrandProfileTool.description, getBrandProfileTool.inputSchema.shape, async (input) => {
332
331
  try {
333
332
  const text = await getBrandProfileTool.execute(client, input);
334
333
  return { content: [{ type: 'text', text }] };
@@ -337,7 +336,7 @@ server.tool(getBrandProfileTool.name, getBrandProfileTool.description, getBrandP
337
336
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
338
337
  }
339
338
  });
340
- server.tool(getLearnedVoiceTool.name, getLearnedVoiceTool.description, getLearnedVoiceTool.inputSchema.shape, getToolAnnotations(getLearnedVoiceTool.name), async (input) => {
339
+ server.tool(getLearnedVoiceTool.name, getLearnedVoiceTool.description, getLearnedVoiceTool.inputSchema.shape, async (input) => {
341
340
  try {
342
341
  const text = await getLearnedVoiceTool.execute(client, input);
343
342
  return { content: [{ type: 'text', text }] };
@@ -346,7 +345,7 @@ server.tool(getLearnedVoiceTool.name, getLearnedVoiceTool.description, getLearne
346
345
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
347
346
  }
348
347
  });
349
- server.tool(getPerformanceProfileTool.name, getPerformanceProfileTool.description, getPerformanceProfileTool.inputSchema.shape, getToolAnnotations(getPerformanceProfileTool.name), async (input) => {
348
+ server.tool(getPerformanceProfileTool.name, getPerformanceProfileTool.description, getPerformanceProfileTool.inputSchema.shape, async (input) => {
350
349
  try {
351
350
  const text = await getPerformanceProfileTool.execute(client, input);
352
351
  return { content: [{ type: 'text', text }] };
@@ -355,7 +354,7 @@ server.tool(getPerformanceProfileTool.name, getPerformanceProfileTool.descriptio
355
354
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
356
355
  }
357
356
  });
358
- server.tool(getPostInsightsTool.name, getPostInsightsTool.description, getPostInsightsTool.inputSchema.shape, getToolAnnotations(getPostInsightsTool.name), async (input) => {
357
+ server.tool(getPostInsightsTool.name, getPostInsightsTool.description, getPostInsightsTool.inputSchema.shape, async (input) => {
359
358
  try {
360
359
  const text = await getPostInsightsTool.execute(client, input);
361
360
  return { content: [{ type: 'text', text }] };
@@ -364,7 +363,7 @@ server.tool(getPostInsightsTool.name, getPostInsightsTool.description, getPostIn
364
363
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
365
364
  }
366
365
  });
367
- server.tool(listPostSuggestionsTool.name, listPostSuggestionsTool.description, listPostSuggestionsTool.inputSchema.shape, getToolAnnotations(listPostSuggestionsTool.name), async (input) => {
366
+ server.tool(listPostSuggestionsTool.name, listPostSuggestionsTool.description, listPostSuggestionsTool.inputSchema.shape, async (input) => {
368
367
  try {
369
368
  const text = await listPostSuggestionsTool.execute(client, input);
370
369
  return { content: [{ type: 'text', text }] };
@@ -373,7 +372,7 @@ server.tool(listPostSuggestionsTool.name, listPostSuggestionsTool.description, l
373
372
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
374
373
  }
375
374
  });
376
- server.tool(dismissSuggestionTool.name, dismissSuggestionTool.description, dismissSuggestionTool.inputSchema.shape, getToolAnnotations(dismissSuggestionTool.name), async (input) => {
375
+ server.tool(dismissSuggestionTool.name, dismissSuggestionTool.description, dismissSuggestionTool.inputSchema.shape, async (input) => {
377
376
  try {
378
377
  const text = await dismissSuggestionTool.execute(client, input);
379
378
  return { content: [{ type: 'text', text }] };
@@ -382,7 +381,7 @@ server.tool(dismissSuggestionTool.name, dismissSuggestionTool.description, dismi
382
381
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
383
382
  }
384
383
  });
385
- server.tool(submitAgentFeedbackTool.name, submitAgentFeedbackTool.description, submitAgentFeedbackTool.inputSchema.shape, getToolAnnotations(submitAgentFeedbackTool.name), async (input) => {
384
+ server.tool(submitAgentFeedbackTool.name, submitAgentFeedbackTool.description, submitAgentFeedbackTool.inputSchema.shape, async (input) => {
386
385
  try {
387
386
  const text = await submitAgentFeedbackTool.execute(client, input);
388
387
  return { content: [{ type: 'text', text }] };
@@ -391,7 +390,16 @@ server.tool(submitAgentFeedbackTool.name, submitAgentFeedbackTool.description, s
391
390
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
392
391
  }
393
392
  });
394
- server.tool(validatePostTool.name, validatePostTool.description, validatePostTool.inputSchema.shape, getToolAnnotations(validatePostTool.name), async (input) => {
393
+ server.tool(submitProductFeedbackTool.name, submitProductFeedbackTool.description, submitProductFeedbackTool.inputSchema.shape, async (input) => {
394
+ try {
395
+ const text = await submitProductFeedbackTool.execute(client, input);
396
+ return { content: [{ type: 'text', text }] };
397
+ }
398
+ catch (err) {
399
+ return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
400
+ }
401
+ });
402
+ server.tool(validatePostTool.name, validatePostTool.description, validatePostTool.inputSchema.shape, async (input) => {
395
403
  try {
396
404
  const text = await validatePostTool.execute(client, input);
397
405
  return { content: [{ type: 'text', text }] };
@@ -400,7 +408,7 @@ server.tool(validatePostTool.name, validatePostTool.description, validatePostToo
400
408
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
401
409
  }
402
410
  });
403
- server.tool(createPostTool.name, createPostTool.description, createPostTool.inputSchema.shape, getToolAnnotations(createPostTool.name), async (input) => {
411
+ server.tool(createPostTool.name, createPostTool.description, createPostTool.inputSchema.shape, async (input) => {
404
412
  try {
405
413
  const text = await createPostTool.execute(client, input);
406
414
  return { content: [{ type: 'text', text }] };
@@ -409,7 +417,7 @@ server.tool(createPostTool.name, createPostTool.description, createPostTool.inpu
409
417
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
410
418
  }
411
419
  });
412
- server.tool(createPostsBatchTool.name, createPostsBatchTool.description, createPostsBatchTool.inputSchema.shape, getToolAnnotations(createPostsBatchTool.name), async (input) => {
420
+ server.tool(createPostsBatchTool.name, createPostsBatchTool.description, createPostsBatchTool.inputSchema.shape, async (input) => {
413
421
  try {
414
422
  const text = await createPostsBatchTool.execute(client, input);
415
423
  return { content: [{ type: 'text', text }] };
@@ -418,7 +426,7 @@ server.tool(createPostsBatchTool.name, createPostsBatchTool.description, createP
418
426
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
419
427
  }
420
428
  });
421
- server.tool(findSlotTool.name, findSlotTool.description, findSlotTool.inputSchema.shape, getToolAnnotations(findSlotTool.name), async (input) => {
429
+ server.tool(findSlotTool.name, findSlotTool.description, findSlotTool.inputSchema.shape, async (input) => {
422
430
  try {
423
431
  const text = await findSlotTool.execute(client, input);
424
432
  return { content: [{ type: 'text', text }] };
@@ -427,7 +435,7 @@ server.tool(findSlotTool.name, findSlotTool.description, findSlotTool.inputSchem
427
435
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
428
436
  }
429
437
  });
430
- server.tool(listPostsTool.name, listPostsTool.description, listPostsTool.inputSchema.shape, getToolAnnotations(listPostsTool.name), async (input) => {
438
+ server.tool(listPostsTool.name, listPostsTool.description, listPostsTool.inputSchema.shape, async (input) => {
431
439
  try {
432
440
  const text = await listPostsTool.execute(client, input);
433
441
  return { content: [{ type: 'text', text }] };
@@ -436,7 +444,7 @@ server.tool(listPostsTool.name, listPostsTool.description, listPostsTool.inputSc
436
444
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
437
445
  }
438
446
  });
439
- server.tool(uploadMediaTool.name, uploadMediaTool.description, uploadMediaTool.inputSchema.shape, getToolAnnotations(uploadMediaTool.name), async (input) => {
447
+ server.tool(uploadMediaTool.name, uploadMediaTool.description, uploadMediaTool.inputSchema.shape, async (input) => {
440
448
  try {
441
449
  const text = await uploadMediaTool.execute(client, input);
442
450
  return { content: [{ type: 'text', text }] };
@@ -445,7 +453,7 @@ server.tool(uploadMediaTool.name, uploadMediaTool.description, uploadMediaTool.i
445
453
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
446
454
  }
447
455
  });
448
- server.tool(uploadMediaFromUrlTool.name, uploadMediaFromUrlTool.description, uploadMediaFromUrlTool.inputSchema.shape, getToolAnnotations(uploadMediaFromUrlTool.name), async (input) => {
456
+ server.tool(uploadMediaFromUrlTool.name, uploadMediaFromUrlTool.description, uploadMediaFromUrlTool.inputSchema.shape, async (input) => {
449
457
  try {
450
458
  const text = await uploadMediaFromUrlTool.execute(client, input);
451
459
  return { content: [{ type: 'text', text }] };
@@ -454,7 +462,7 @@ server.tool(uploadMediaFromUrlTool.name, uploadMediaFromUrlTool.description, upl
454
462
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
455
463
  }
456
464
  });
457
- server.tool(createSignedUploadTool.name, createSignedUploadTool.description, createSignedUploadTool.inputSchema.shape, getToolAnnotations(createSignedUploadTool.name), async (input) => {
465
+ server.tool(createSignedUploadTool.name, createSignedUploadTool.description, createSignedUploadTool.inputSchema.shape, async (input) => {
458
466
  try {
459
467
  const text = await createSignedUploadTool.execute(client, input);
460
468
  return { content: [{ type: 'text', text }] };
@@ -463,7 +471,7 @@ server.tool(createSignedUploadTool.name, createSignedUploadTool.description, cre
463
471
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
464
472
  }
465
473
  });
466
- server.tool(getVideoOptionsTool.name, getVideoOptionsTool.description, getVideoOptionsTool.inputSchema.shape, getToolAnnotations(getVideoOptionsTool.name), async () => {
474
+ server.tool(getVideoOptionsTool.name, getVideoOptionsTool.description, getVideoOptionsTool.inputSchema.shape, async () => {
467
475
  try {
468
476
  const text = await getVideoOptionsTool.execute(client);
469
477
  return { content: [{ type: 'text', text }] };
@@ -472,7 +480,7 @@ server.tool(getVideoOptionsTool.name, getVideoOptionsTool.description, getVideoO
472
480
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
473
481
  }
474
482
  });
475
- server.tool(runVideoFunctionTool.name, runVideoFunctionTool.description, runVideoFunctionTool.inputSchema.shape, getToolAnnotations(runVideoFunctionTool.name), async (input) => {
483
+ server.tool(runVideoFunctionTool.name, runVideoFunctionTool.description, runVideoFunctionTool.inputSchema.shape, async (input) => {
476
484
  try {
477
485
  const text = await runVideoFunctionTool.execute(client, input);
478
486
  return { content: [{ type: 'text', text }] };
@@ -481,7 +489,7 @@ server.tool(runVideoFunctionTool.name, runVideoFunctionTool.description, runVide
481
489
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
482
490
  }
483
491
  });
484
- server.tool(generateVideoTool.name, generateVideoTool.description, generateVideoTool.inputSchema.shape, getToolAnnotations(generateVideoTool.name), async (input) => {
492
+ server.tool(generateVideoTool.name, generateVideoTool.description, generateVideoTool.inputSchema.shape, async (input) => {
485
493
  try {
486
494
  const text = await generateVideoTool.execute(client, input);
487
495
  return { content: [{ type: 'text', text }] };
@@ -490,7 +498,7 @@ server.tool(generateVideoTool.name, generateVideoTool.description, generateVideo
490
498
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
491
499
  }
492
500
  });
493
- server.tool(getVideoJobTool.name, getVideoJobTool.description, getVideoJobTool.inputSchema.shape, getToolAnnotations(getVideoJobTool.name), async (input) => {
501
+ server.tool(getVideoJobTool.name, getVideoJobTool.description, getVideoJobTool.inputSchema.shape, async (input) => {
494
502
  try {
495
503
  const text = await getVideoJobTool.execute(client, input);
496
504
  return { content: [{ type: 'text', text }] };
@@ -499,7 +507,7 @@ server.tool(getVideoJobTool.name, getVideoJobTool.description, getVideoJobTool.i
499
507
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
500
508
  }
501
509
  });
502
- server.tool(generateCaptionsTool.name, generateCaptionsTool.description, generateCaptionsTool.inputSchema.shape, getToolAnnotations(generateCaptionsTool.name), async (input) => {
510
+ server.tool(generateCaptionsTool.name, generateCaptionsTool.description, generateCaptionsTool.inputSchema.shape, async (input) => {
503
511
  try {
504
512
  const text = await generateCaptionsTool.execute(client, input);
505
513
  return { content: [{ type: 'text', text }] };
@@ -508,7 +516,7 @@ server.tool(generateCaptionsTool.name, generateCaptionsTool.description, generat
508
516
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
509
517
  }
510
518
  });
511
- server.tool(generateImageTool.name, generateImageTool.description, generateImageTool.inputSchema.shape, getToolAnnotations(generateImageTool.name), async (input) => {
519
+ server.tool(generateImageTool.name, generateImageTool.description, generateImageTool.inputSchema.shape, async (input) => {
512
520
  try {
513
521
  const text = await generateImageTool.execute(client, input);
514
522
  return { content: [{ type: 'text', text }] };
@@ -517,7 +525,7 @@ server.tool(generateImageTool.name, generateImageTool.description, generateImage
517
525
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
518
526
  }
519
527
  });
520
- server.tool(getPostTool.name, getPostTool.description, getPostTool.inputSchema.shape, getToolAnnotations(getPostTool.name), async (input) => {
528
+ server.tool(getPostTool.name, getPostTool.description, getPostTool.inputSchema.shape, async (input) => {
521
529
  try {
522
530
  const text = await getPostTool.execute(client, input);
523
531
  return { content: [{ type: 'text', text }] };
@@ -526,7 +534,7 @@ server.tool(getPostTool.name, getPostTool.description, getPostTool.inputSchema.s
526
534
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
527
535
  }
528
536
  });
529
- server.tool(getPostMissingTool.name, getPostMissingTool.description, getPostMissingTool.inputSchema.shape, getToolAnnotations(getPostMissingTool.name), async (input) => {
537
+ server.tool(getPostMissingTool.name, getPostMissingTool.description, getPostMissingTool.inputSchema.shape, async (input) => {
530
538
  try {
531
539
  const text = await getPostMissingTool.execute(client, input);
532
540
  return { content: [{ type: 'text', text }] };
@@ -535,7 +543,7 @@ server.tool(getPostMissingTool.name, getPostMissingTool.description, getPostMiss
535
543
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
536
544
  }
537
545
  });
538
- server.tool(askSupportTool.name, askSupportTool.description, askSupportTool.inputSchema.shape, getToolAnnotations(askSupportTool.name), async (input) => {
546
+ server.tool(askSupportTool.name, askSupportTool.description, askSupportTool.inputSchema.shape, async (input) => {
539
547
  try {
540
548
  const text = await askSupportTool.execute(client, input);
541
549
  return { content: [{ type: 'text', text }] };
@@ -544,7 +552,7 @@ server.tool(askSupportTool.name, askSupportTool.description, askSupportTool.inpu
544
552
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
545
553
  }
546
554
  });
547
- server.tool(updatePostTool.name, updatePostTool.description, updatePostTool.inputSchema.shape, getToolAnnotations(updatePostTool.name), async (input) => {
555
+ server.tool(updatePostTool.name, updatePostTool.description, updatePostTool.inputSchema.shape, async (input) => {
548
556
  try {
549
557
  const text = await updatePostTool.execute(client, input);
550
558
  return { content: [{ type: 'text', text }] };
@@ -553,7 +561,7 @@ server.tool(updatePostTool.name, updatePostTool.description, updatePostTool.inpu
553
561
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
554
562
  }
555
563
  });
556
- server.tool(updatePostStatusTool.name, updatePostStatusTool.description, updatePostStatusTool.inputSchema.shape, getToolAnnotations(updatePostStatusTool.name), async (input) => {
564
+ server.tool(updatePostStatusTool.name, updatePostStatusTool.description, updatePostStatusTool.inputSchema.shape, async (input) => {
557
565
  try {
558
566
  const text = await updatePostStatusTool.execute(client, input);
559
567
  return { content: [{ type: 'text', text }] };
@@ -562,7 +570,7 @@ server.tool(updatePostStatusTool.name, updatePostStatusTool.description, updateP
562
570
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
563
571
  }
564
572
  });
565
- server.tool(updatePostReleaseIdTool.name, updatePostReleaseIdTool.description, updatePostReleaseIdTool.inputSchema.shape, getToolAnnotations(updatePostReleaseIdTool.name), async (input) => {
573
+ server.tool(updatePostReleaseIdTool.name, updatePostReleaseIdTool.description, updatePostReleaseIdTool.inputSchema.shape, async (input) => {
566
574
  try {
567
575
  const text = await updatePostReleaseIdTool.execute(client, input);
568
576
  return { content: [{ type: 'text', text }] };
@@ -571,7 +579,7 @@ server.tool(updatePostReleaseIdTool.name, updatePostReleaseIdTool.description, u
571
579
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
572
580
  }
573
581
  });
574
- server.tool(deletePostTool.name, deletePostTool.description, deletePostTool.inputSchema.shape, getToolAnnotations(deletePostTool.name), async (input) => {
582
+ server.tool(deletePostTool.name, deletePostTool.description, deletePostTool.inputSchema.shape, async (input) => {
575
583
  try {
576
584
  const text = await deletePostTool.execute(client, input);
577
585
  return { content: [{ type: 'text', text }] };
@@ -580,7 +588,7 @@ server.tool(deletePostTool.name, deletePostTool.description, deletePostTool.inpu
580
588
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
581
589
  }
582
590
  });
583
- server.tool(deletePostGroupTool.name, deletePostGroupTool.description, deletePostGroupTool.inputSchema.shape, getToolAnnotations(deletePostGroupTool.name), async (input) => {
591
+ server.tool(deletePostGroupTool.name, deletePostGroupTool.description, deletePostGroupTool.inputSchema.shape, async (input) => {
584
592
  try {
585
593
  const text = await deletePostGroupTool.execute(client, input);
586
594
  return { content: [{ type: 'text', text }] };
@@ -589,7 +597,7 @@ server.tool(deletePostGroupTool.name, deletePostGroupTool.description, deletePos
589
597
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
590
598
  }
591
599
  });
592
- server.tool(getAccountAnalyticsTool.name, getAccountAnalyticsTool.description, getAccountAnalyticsTool.inputSchema.shape, getToolAnnotations(getAccountAnalyticsTool.name), async (input) => {
600
+ server.tool(getAccountAnalyticsTool.name, getAccountAnalyticsTool.description, getAccountAnalyticsTool.inputSchema.shape, async (input) => {
593
601
  try {
594
602
  const text = await getAccountAnalyticsTool.execute(client, input);
595
603
  return { content: [{ type: 'text', text }] };
@@ -598,7 +606,7 @@ server.tool(getAccountAnalyticsTool.name, getAccountAnalyticsTool.description, g
598
606
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
599
607
  }
600
608
  });
601
- server.tool(getPostAnalyticsTool.name, getPostAnalyticsTool.description, getPostAnalyticsTool.inputSchema.shape, getToolAnnotations(getPostAnalyticsTool.name), async (input) => {
609
+ server.tool(getPostAnalyticsTool.name, getPostAnalyticsTool.description, getPostAnalyticsTool.inputSchema.shape, async (input) => {
602
610
  try {
603
611
  const text = await getPostAnalyticsTool.execute(client, input);
604
612
  return { content: [{ type: 'text', text }] };
@@ -607,7 +615,7 @@ server.tool(getPostAnalyticsTool.name, getPostAnalyticsTool.description, getPost
607
615
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
608
616
  }
609
617
  });
610
- server.tool(listGoogleBusinessReviewsTool.name, listGoogleBusinessReviewsTool.description, listGoogleBusinessReviewsTool.inputSchema.shape, getToolAnnotations(listGoogleBusinessReviewsTool.name), async (input) => {
618
+ server.tool(listGoogleBusinessReviewsTool.name, listGoogleBusinessReviewsTool.description, listGoogleBusinessReviewsTool.inputSchema.shape, async (input) => {
611
619
  try {
612
620
  const text = await listGoogleBusinessReviewsTool.execute(client, input);
613
621
  return { content: [{ type: 'text', text }] };
@@ -616,7 +624,7 @@ server.tool(listGoogleBusinessReviewsTool.name, listGoogleBusinessReviewsTool.de
616
624
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
617
625
  }
618
626
  });
619
- server.tool(getGoogleBusinessReviewLinkTool.name, getGoogleBusinessReviewLinkTool.description, getGoogleBusinessReviewLinkTool.inputSchema.shape, getToolAnnotations(getGoogleBusinessReviewLinkTool.name), async (input) => {
627
+ server.tool(getGoogleBusinessReviewLinkTool.name, getGoogleBusinessReviewLinkTool.description, getGoogleBusinessReviewLinkTool.inputSchema.shape, async (input) => {
620
628
  try {
621
629
  const text = await getGoogleBusinessReviewLinkTool.execute(client, input);
622
630
  return { content: [{ type: 'text', text }] };
@@ -625,7 +633,7 @@ server.tool(getGoogleBusinessReviewLinkTool.name, getGoogleBusinessReviewLinkToo
625
633
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
626
634
  }
627
635
  });
628
- server.tool(auditGoogleBusinessProfileTool.name, auditGoogleBusinessProfileTool.description, auditGoogleBusinessProfileTool.inputSchema.shape, getToolAnnotations(auditGoogleBusinessProfileTool.name), async (input) => {
636
+ server.tool(auditGoogleBusinessProfileTool.name, auditGoogleBusinessProfileTool.description, auditGoogleBusinessProfileTool.inputSchema.shape, async (input) => {
629
637
  try {
630
638
  const text = await auditGoogleBusinessProfileTool.execute(client, input);
631
639
  return { content: [{ type: 'text', text }] };
@@ -634,7 +642,7 @@ server.tool(auditGoogleBusinessProfileTool.name, auditGoogleBusinessProfileTool.
634
642
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
635
643
  }
636
644
  });
637
- server.tool(suggestGoogleBusinessReviewReplyTool.name, suggestGoogleBusinessReviewReplyTool.description, suggestGoogleBusinessReviewReplyTool.inputSchema.shape, getToolAnnotations(suggestGoogleBusinessReviewReplyTool.name), async (input) => {
645
+ server.tool(suggestGoogleBusinessReviewReplyTool.name, suggestGoogleBusinessReviewReplyTool.description, suggestGoogleBusinessReviewReplyTool.inputSchema.shape, async (input) => {
638
646
  try {
639
647
  const text = await suggestGoogleBusinessReviewReplyTool.execute(client, input);
640
648
  return { content: [{ type: 'text', text }] };
@@ -643,7 +651,7 @@ server.tool(suggestGoogleBusinessReviewReplyTool.name, suggestGoogleBusinessRevi
643
651
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
644
652
  }
645
653
  });
646
- server.tool(replyGoogleBusinessReviewTool.name, replyGoogleBusinessReviewTool.description, replyGoogleBusinessReviewTool.inputSchema.shape, getToolAnnotations(replyGoogleBusinessReviewTool.name), async (input) => {
654
+ server.tool(replyGoogleBusinessReviewTool.name, replyGoogleBusinessReviewTool.description, replyGoogleBusinessReviewTool.inputSchema.shape, async (input) => {
647
655
  try {
648
656
  const text = await replyGoogleBusinessReviewTool.execute(client, input);
649
657
  return { content: [{ type: 'text', text }] };
@@ -652,7 +660,7 @@ server.tool(replyGoogleBusinessReviewTool.name, replyGoogleBusinessReviewTool.de
652
660
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
653
661
  }
654
662
  });
655
- server.tool(deleteGoogleBusinessReviewReplyTool.name, deleteGoogleBusinessReviewReplyTool.description, deleteGoogleBusinessReviewReplyTool.inputSchema.shape, getToolAnnotations(deleteGoogleBusinessReviewReplyTool.name), async (input) => {
663
+ server.tool(deleteGoogleBusinessReviewReplyTool.name, deleteGoogleBusinessReviewReplyTool.description, deleteGoogleBusinessReviewReplyTool.inputSchema.shape, async (input) => {
656
664
  try {
657
665
  const text = await deleteGoogleBusinessReviewReplyTool.execute(client, input);
658
666
  return { content: [{ type: 'text', text }] };
@@ -661,7 +669,7 @@ server.tool(deleteGoogleBusinessReviewReplyTool.name, deleteGoogleBusinessReview
661
669
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
662
670
  }
663
671
  });
664
- server.tool(listGoogleBusinessMediaTool.name, listGoogleBusinessMediaTool.description, listGoogleBusinessMediaTool.inputSchema.shape, getToolAnnotations(listGoogleBusinessMediaTool.name), async (input) => {
672
+ server.tool(listGoogleBusinessMediaTool.name, listGoogleBusinessMediaTool.description, listGoogleBusinessMediaTool.inputSchema.shape, async (input) => {
665
673
  try {
666
674
  const text = await listGoogleBusinessMediaTool.execute(client, input);
667
675
  return { content: [{ type: 'text', text }] };
@@ -670,7 +678,7 @@ server.tool(listGoogleBusinessMediaTool.name, listGoogleBusinessMediaTool.descri
670
678
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
671
679
  }
672
680
  });
673
- server.tool(addGoogleBusinessMediaTool.name, addGoogleBusinessMediaTool.description, addGoogleBusinessMediaTool.inputSchema.shape, getToolAnnotations(addGoogleBusinessMediaTool.name), async (input) => {
681
+ server.tool(addGoogleBusinessMediaTool.name, addGoogleBusinessMediaTool.description, addGoogleBusinessMediaTool.inputSchema.shape, async (input) => {
674
682
  try {
675
683
  const text = await addGoogleBusinessMediaTool.execute(client, input);
676
684
  return { content: [{ type: 'text', text }] };
@@ -679,7 +687,7 @@ server.tool(addGoogleBusinessMediaTool.name, addGoogleBusinessMediaTool.descript
679
687
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
680
688
  }
681
689
  });
682
- server.tool(deleteGoogleBusinessMediaTool.name, deleteGoogleBusinessMediaTool.description, deleteGoogleBusinessMediaTool.inputSchema.shape, getToolAnnotations(deleteGoogleBusinessMediaTool.name), async (input) => {
690
+ server.tool(deleteGoogleBusinessMediaTool.name, deleteGoogleBusinessMediaTool.description, deleteGoogleBusinessMediaTool.inputSchema.shape, async (input) => {
683
691
  try {
684
692
  const text = await deleteGoogleBusinessMediaTool.execute(client, input);
685
693
  return { content: [{ type: 'text', text }] };
@@ -688,7 +696,7 @@ server.tool(deleteGoogleBusinessMediaTool.name, deleteGoogleBusinessMediaTool.de
688
696
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
689
697
  }
690
698
  });
691
- server.tool(listActivityTool.name, listActivityTool.description, listActivityTool.inputSchema.shape, getToolAnnotations(listActivityTool.name), async (input) => {
699
+ server.tool(listActivityTool.name, listActivityTool.description, listActivityTool.inputSchema.shape, async (input) => {
692
700
  try {
693
701
  const text = await listActivityTool.execute(client, input);
694
702
  return { content: [{ type: 'text', text }] };
@@ -697,16 +705,7 @@ server.tool(listActivityTool.name, listActivityTool.description, listActivityToo
697
705
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
698
706
  }
699
707
  });
700
- server.tool(getUpdatesTool.name, getUpdatesTool.description, getUpdatesTool.inputSchema.shape, getToolAnnotations(getUpdatesTool.name), async (input) => {
701
- try {
702
- const text = await getUpdatesTool.execute(client, input);
703
- return { content: [{ type: 'text', text }] };
704
- }
705
- catch (err) {
706
- return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
707
- }
708
- });
709
- server.tool(listWebhooksTool.name, listWebhooksTool.description, listWebhooksTool.inputSchema.shape, getToolAnnotations(listWebhooksTool.name), async (input) => {
708
+ server.tool(listWebhooksTool.name, listWebhooksTool.description, listWebhooksTool.inputSchema.shape, async (input) => {
710
709
  try {
711
710
  const text = await listWebhooksTool.execute(client, input);
712
711
  return { content: [{ type: 'text', text }] };
@@ -715,7 +714,7 @@ server.tool(listWebhooksTool.name, listWebhooksTool.description, listWebhooksToo
715
714
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
716
715
  }
717
716
  });
718
- server.tool(createWebhookTool.name, createWebhookTool.description, createWebhookTool.inputSchema.shape, getToolAnnotations(createWebhookTool.name), async (input) => {
717
+ server.tool(createWebhookTool.name, createWebhookTool.description, createWebhookTool.inputSchema.shape, async (input) => {
719
718
  try {
720
719
  const text = await createWebhookTool.execute(client, input);
721
720
  return { content: [{ type: 'text', text }] };
@@ -724,7 +723,7 @@ server.tool(createWebhookTool.name, createWebhookTool.description, createWebhook
724
723
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
725
724
  }
726
725
  });
727
- server.tool(updateWebhookTool.name, updateWebhookTool.description, updateWebhookTool.inputSchema.shape, getToolAnnotations(updateWebhookTool.name), async (input) => {
726
+ server.tool(updateWebhookTool.name, updateWebhookTool.description, updateWebhookTool.inputSchema.shape, async (input) => {
728
727
  try {
729
728
  const text = await updateWebhookTool.execute(client, input);
730
729
  return { content: [{ type: 'text', text }] };
@@ -733,7 +732,7 @@ server.tool(updateWebhookTool.name, updateWebhookTool.description, updateWebhook
733
732
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
734
733
  }
735
734
  });
736
- server.tool(deleteWebhookTool.name, deleteWebhookTool.description, deleteWebhookTool.inputSchema.shape, getToolAnnotations(deleteWebhookTool.name), async (input) => {
735
+ server.tool(deleteWebhookTool.name, deleteWebhookTool.description, deleteWebhookTool.inputSchema.shape, async (input) => {
737
736
  try {
738
737
  const text = await deleteWebhookTool.execute(client, input);
739
738
  return { content: [{ type: 'text', text }] };
@@ -742,7 +741,7 @@ server.tool(deleteWebhookTool.name, deleteWebhookTool.description, deleteWebhook
742
741
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
743
742
  }
744
743
  });
745
- server.tool(testWebhookTool.name, testWebhookTool.description, testWebhookTool.inputSchema.shape, getToolAnnotations(testWebhookTool.name), async (input) => {
744
+ server.tool(testWebhookTool.name, testWebhookTool.description, testWebhookTool.inputSchema.shape, async (input) => {
746
745
  try {
747
746
  const text = await testWebhookTool.execute(client, input);
748
747
  return { content: [{ type: 'text', text }] };
@@ -751,7 +750,7 @@ server.tool(testWebhookTool.name, testWebhookTool.description, testWebhookTool.i
751
750
  return { content: [{ type: 'text', text: `Error: ${err.message}` }], isError: true };
752
751
  }
753
752
  });
754
- server.tool(getXPostingQuotaTool.name, getXPostingQuotaTool.description, getXPostingQuotaTool.inputSchema.shape, getToolAnnotations(getXPostingQuotaTool.name), async (input) => {
753
+ server.tool(getXPostingQuotaTool.name, getXPostingQuotaTool.description, getXPostingQuotaTool.inputSchema.shape, async (input) => {
755
754
  try {
756
755
  const text = await getXPostingQuotaTool.execute(client, input);
757
756
  return { content: [{ type: 'text', text }] };