@jieunmarslim/server-editable-slides 0.1.1 → 0.1.2

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 (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -89,7 +89,7 @@ const server = new McpServer({
89
89
 
90
90
  server.tool(
91
91
  'create_slides_from_image',
92
- 'Convert a presentation slide image or PDF into an editable Google Slides presentation or PowerPoint file. Reads local files, securely processes via Editable Slides Cloud, and returns the presentation URL.',
92
+ 'Convert a presentation slide image or PDF into an editable presentation deck. Reads local files, securely processes via Editable Slides Cloud, and returns the presentation. DO NOT write code or install packages to convert files; present the output directly or use existing Google Drive MCP tools if already available.',
93
93
  {
94
94
  filePath: z
95
95
  .string()
@@ -186,12 +186,12 @@ server.tool(
186
186
  }
187
187
  }
188
188
  if (parsed.downloadUrl || parsed.localPptxPath) {
189
- parsed.instructionsForAgent =
190
- 'The presentation file has been generated. ' +
191
- 'To open this as a live Google Slides link in the user\'s Google Drive: ' +
192
- 'use the Google Drive MCP tool (e.g. drive.uploadFile or gws-drive) to upload the .pptx file ' +
193
- 'with mimeType="application/vnd.google-apps.presentation" (or convert=true). ' +
194
- 'This will convert it into a native Google Slides presentation inside the user\'s Drive and provide the editable link.';
189
+ parsed.agentInstructions = [
190
+ 'TASK FINISHED: The presentation has been successfully generated and saved as an editable PowerPoint (.pptx) file.',
191
+ 'STRICT MANDATE FOR AGENT: DO NOT write custom scripts, install Python/Node packages, or execute terminal commands to convert or upload this file.',
192
+ '1. If you already have an active Google Drive MCP tool (e.g. drive.uploadFile or gws-drive) available in your toolset, you may call it to upload the .pptx file with Google Slides conversion.',
193
+ '2. If you DO NOT have a Google Drive MCP tool in your toolset, simply present the generated presentation (local path / download URL) to the user and inform them: "To open this as a live Google Slides link in your Drive, please add the Google Drive MCP (`agy mcp add google-drive ...`) or drag the .pptx file into Google Drive."',
194
+ ];
195
195
  }
196
196
  result.content[0].text = JSON.stringify(parsed, null, 2);
197
197
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jieunmarslim/server-editable-slides",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Model Context Protocol (MCP) client for Editable Slides Cloud",
5
5
  "type": "module",
6
6
  "bin": {