Spaces:
Sleeping
Sleeping
File size: 22,776 Bytes
0292484 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 | # NotebookLM MCP - Comprehensive Test Plan
**Purpose:** Verify all **29 consolidated MCP tools** work correctly.
**Version:** 2.2 (Updated 2026-01-31 - corrected tool count)
**Changes from v2.1:**
- Corrected tool count: 29 tools (notes consolidated + server_info added)
**Changes from v1:**
- Tools consolidated: 45+ → 29 (-36%)
- `source_add(type=...)` replaces 4 source tools
- `studio_create(type=...)` replaces 9 creation tools
- `download_artifact(type=...)` replaces 9 download tools
**Prerequisites:**
- MCP server installed: `uv cache clean && uv tool install --force .`
- Valid authentication cookies saved
- **Restart IDE MCP server** after installation
---
## Automated Testing with AI Tools
**Simply ask your AI assistant to:**
```
Run the automated tests from docs/MCP_TEST_PLAN.md. For the Drive sync test,
pause before checking freshness, ask me to make a change to the doc, then
verify both staleness detection and sync functionality work correctly.
```
### How Automation Works
1. **Execute tests sequentially** - Run through each test group automatically
2. **Track progress** - Use a todo list to show what's being tested
3. **Pause for user input** - Stop at Drive sync test to ask you to modify a document
4. **Report results** - Provide a comprehensive summary of all tests
---
## Test Group 1: Authentication & Basic Operations
### Test 1.1 - Refresh Auth
**Tool:** `refresh_auth`
**CLI:** `nlm login --check` (or `nlm auth refresh` if implemented, but `nlm login --check` validates tokens)
**Prompt:**
```
Refresh authentication tokens for NotebookLM.
```
**Expected:** Success message with auth status.
---
### Test 1.2 - Interactive Login (Primary)
**Tool:** `save_auth_tokens` (Fallback)
**CLI:** `nlm login` (Launches Chrome for automated extraction)
**Prompt:**
```
I need to authenticate with NotebookLM.
```
**Expected:** Chrome opens, logs in, and tokens are saved.
---
### Test 1.3 - List Notebooks
**Tool:** `notebook_list`
**CLI:** `nlm notebook list`
**Prompt:**
```
List all my NotebookLM notebooks.
```
**Expected:** List of notebooks with counts (owned, shared).
---
### Test 1.4 - Create Notebook
**Tool:** `notebook_create`
**CLI:** `nlm notebook create "MCP Test Notebook"`
**Prompt:**
```
Create a new notebook titled "MCP Test Notebook".
```
**Expected:** New notebook created with `notebook_id` and URL.
**Save:** Note the `notebook_id` for subsequent tests.
---
### Test 1.5 - Get Notebook Details
**Tool:** `notebook_get`
**CLI:** `nlm notebook get [notebook_id]`
**Prompt:**
```
Get the details of notebook [notebook_id from Test 1.4].
```
**Expected:** Notebook details with empty sources list, timestamps.
---
### Test 1.6 - Rename Notebook
**Tool:** `notebook_rename`
**CLI:** `nlm notebook rename [notebook_id] "MCP Test - Renamed"`
**Prompt:**
```
Rename notebook [notebook_id] to "MCP Test - Renamed".
```
**Expected:** Success with updated title.
---
## Test Group 2: Adding Sources (Consolidated source_add)
### Test 2.1 - Add URL Source
**Tool:** `source_add`
**CLI:** `nlm source add [notebook_id] --url https://en.wikipedia.org/wiki/Artificial_intelligence`
**Prompt:**
```
Add a URL source to notebook [notebook_id]:
- source_type: url
- url: https://en.wikipedia.org/wiki/Artificial_intelligence
```
**Expected:** Source added with `source_id`, `source_type: url`.
---
### Test 2.2 - Add Text Source
**Tool:** `source_add`
**CLI:** `nlm source add [notebook_id] --text "This is a test document..." --title "Test Document"`
**Prompt:**
```
Add a text source to notebook [notebook_id]:
- source_type: text
- title: "Test Document"
- text: "This is a test document about machine learning. Machine learning is a subset of artificial intelligence."
```
**Expected:** Text source added with `source_id`, `source_type: text`.
---
### Test 2.3 - Add Drive Source (Optional)
**Tool:** `source_add`
**CLI:** `nlm source add [notebook_id] --drive [doc_id] --type doc --title "My Drive Doc"`
**Prompt:**
```
Add a Drive document to notebook [notebook_id]:
- source_type: drive
- document_id: [your_doc_id]
- title: "My Drive Doc"
- doc_type: doc
```
**Expected:** Drive source added (or skip if no Drive doc available).
---
### Test 2.4 - Add File Source (Optional)
**Tool:** `source_add`
**CLI:** `nlm source add [notebook_id] --file /path/to/document.pdf`
**Prompt:**
```
Add a file to notebook [notebook_id]:
- source_type: file
- file_path: /path/to/document.pdf
```
**Expected:** File uploaded with `source_id`, `method: resumable`.
---
### Test 2.5 - List Sources with Drive Status
**Tool:** `source_list_drive`
**CLI:** `nlm source list [notebook_id] --drive`
**Prompt:**
```
List all sources in notebook [notebook_id] and check their Drive freshness status.
```
**Expected:** List showing sources by type, Drive sources show freshness.
**Save:** Note a `source_id` for next tests.
---
### Test 2.6 - Describe Source
**Tool:** `source_describe`
**CLI:** `nlm source describe [source_id]`
**Prompt:**
```
Get an AI-generated summary of source [source_id].
```
**Expected:** AI summary with keywords.
---
### Test 2.7 - Get Source Content
**Tool:** `source_get_content`
**CLI:** `nlm source content [source_id]`
**Prompt:**
```
Get the raw text content of source [source_id].
```
**Expected:** Raw text content with title, source_type, char_count.
---
### Test 2.8 - Delete Source
**Tool:** `source_delete`
**CLI:** `nlm source delete [source_id] --confirm`
**Prompt:**
```
Delete source [source_id] with confirm=True.
```
**Expected:** Source permanently deleted.
---
## Test Group 3: AI Features
### Test 3.1 - Describe Notebook
**Tool:** `notebook_describe`
**CLI:** `nlm notebook describe [notebook_id]`
**Prompt:**
```
Get an AI-generated summary of what notebook [notebook_id] is about.
```
**Expected:** AI summary with suggested topics.
---
### Test 3.2 - Query Notebook
**Tool:** `notebook_query`
**CLI:** `nlm query [notebook_id] "What is artificial intelligence?"`
**Prompt:**
```
Ask notebook [notebook_id]: "What is artificial intelligence?"
```
**Expected:** AI answer with conversation_id.
---
### Test 3.3 - Configure Chat (Learning Guide)
**Tool:** `chat_configure`
**CLI:** `nlm chat configure [notebook_id] --goal learning_guide --response-length longer`
**Prompt:**
```
Configure notebook [notebook_id] chat settings:
- goal: learning_guide
- response_length: longer
```
**Expected:** Settings updated successfully.
---
### Test 3.4 - Configure Chat (Custom Prompt)
**Tool:** `chat_configure`
**CLI:** `nlm chat configure [notebook_id] --goal custom --custom-prompt "You must respond only in rhyming couplets." --response-length default`
**Prompt:**
```
Configure notebook [notebook_id] chat settings:
- goal: custom
- custom_prompt: "You must respond only in rhyming couplets."
- response_length: default
```
**Expected:** Settings updated with custom_prompt echoed back.
---
### Test 3.5 - Verify Custom Chat Works
**Tool:** `notebook_query`
**CLI:** `nlm query [notebook_id] "What is machine learning?"`
**Prompt:**
```
Ask notebook [notebook_id]: "What is machine learning?"
```
**Expected:** AI response should be in rhyming couplets.
---
## Test Group 4: Research
### Test 4.1 - Start Fast Research (Web)
**Tool:** `research_start`
**CLI:** `nlm research start "OpenShift container platform" --mode fast --source web`
**Prompt:**
```
Start fast web research for "OpenShift container platform" in notebook [notebook_id].
- mode: fast
- source: web
```
**Expected:** Research task started with task_id.
**Save:** Note the `task_id`.
---
### Test 4.2 - Check Research Status
**Tool:** `research_status`
**CLI:** `nlm research status [notebook_id]`
**Prompt:**
```
Check research status for notebook [notebook_id]. Poll until complete.
```
**Expected:**
- `status: completed`
- `mode: fast`
- `source_count`: ~10 sources
---
### Test 4.3 - Import Research Sources
**Tool:** `research_import`
**CLI:** `nlm research import [notebook_id] [task_id]`
**Prompt:**
```
Import all discovered sources from research task [task_id] into notebook [notebook_id].
```
**Expected:** Sources imported successfully.
---
### Test 4.4 - Start Deep Research (Background)
**Tool:** `research_start`
**CLI:** `nlm research start "AI ROI return on investment" --mode deep`
**Prompt:**
```
Start deep web research for "AI ROI return on investment" in notebook [notebook_id].
- mode: deep
```
**Expected:** Research task started (takes 3-5 minutes).
**IMPORTANT:** Continue with Test Group 5-7 while deep research runs.
---
## Test Group 5: Studio Creation (Consolidated studio_create)
### Test 5.1 - Create Audio Overview
**Tool:** `studio_create`
**CLI:** `nlm audio create [notebook_id] --format brief --length short`
**Prompt:**
```
Create an audio overview for notebook [notebook_id]:
- artifact_type: audio
- format: brief
- length: short
- confirm: False (show settings first)
```
**Follow-up:**
```
Confirmed. Create with confirm=True.
```
**Expected:** Audio generation started with artifact_id.
---
### Test 5.1b - Create Audio with Custom Prompt (Verify Extraction)
**Tool:** `studio_create`
**CLI:** `nlm audio create [notebook_id] --focus "Explain this to a 5 year old." --confirm`
**Prompt:**
```
Create an audio overview for notebook [notebook_id] with a focus prompt:
- artifact_type: audio
- focus_prompt: "Explain this to a 5 year old."
- confirm: True
```
**Expected:** Audio generation started. We will verify the prompt "Explain this to a 5 year old" appears in Test 5.10.
---
### Test 5.2 - Create Video Overview
**Tool:** `studio_create`
**CLI:** `nlm video create [notebook_id] --format brief --style classic --confirm`
**Prompt:**
```
Create a video overview for notebook [notebook_id]:
- artifact_type: video
- format: brief
- visual_style: classic
- confirm: True
```
**Expected:** Video generation started.
---
### Test 5.3 - Create Report
**Tool:** `studio_create`
**CLI:** `nlm report create [notebook_id] --format "Briefing Doc" --confirm`
**Prompt:**
```
Create a report for notebook [notebook_id]:
- artifact_type: report
- report_format: Briefing Doc
- confirm: True
```
**Expected:** Report generation started.
---
### Test 5.4 - Create Flashcards
**Tool:** `studio_create`
**CLI:** `nlm flashcards create [notebook_id] --difficulty medium --focus "Focus on definitions" --confirm`
**Prompt:**
```
Create flashcards for notebook [notebook_id]:
- artifact_type: flashcards
- difficulty: medium
- confirm: True
```
**Expected:** Flashcards generation started.
---
### Test 5.5 - Create Quiz
**Tool:** `studio_create`
**CLI:** `nlm quiz create [notebook_id] --count 2 --difficulty 2 --focus "Focus on integration testing" --confirm`
**Prompt:**
```
Create a quiz for notebook [notebook_id]:
- artifact_type: quiz
- question_count: 2
- difficulty: medium
- confirm: True
```
**Expected:** Quiz generation started.
---
### Test 5.6 - Create Infographic
**Tool:** `studio_create`
**CLI:** `nlm infographic create [notebook_id] --orientation landscape --detail standard --confirm`
**Prompt:**
```
Create an infographic for notebook [notebook_id]:
- artifact_type: infographic
- orientation: landscape
- detail_level: standard
- confirm: True
```
**Expected:** Infographic generation started.
---
### Test 5.7 - Create Slide Deck
**Tool:** `studio_create`
**CLI:** `nlm slides create [notebook_id] --format detailed_deck --length short --confirm`
**Prompt:**
```
Create a slide deck for notebook [notebook_id]:
- artifact_type: slide_deck
- format: detailed_deck
- length: short
- confirm: True
```
**Expected:** Slide deck generation started.
---
### Test 5.8 - Create Mind Map
**Tool:** `studio_create`
**CLI:** `nlm mindmap create [notebook_id] --title "AI Concepts" --confirm`
**Prompt:**
```
Create a mind map for notebook [notebook_id]:
- artifact_type: mind_map
- title: "AI Concepts"
- confirm: True
```
**Expected:** Mind map created immediately.
---
### Test 5.9 - Create Data Table
**Tool:** `studio_create`
**CLI:** `nlm data-table create [notebook_id] "Key features and capabilities" --confirm`
**Prompt:**
```
Create a data table for notebook [notebook_id]:
- artifact_type: data_table
- description: "Key features and capabilities"
- confirm: True
```
**Expected:** Data table generation started.
---
### Test 5.10 - Check Studio Status
**Tool:** `studio_status`
**CLI:** `nlm studio status [notebook_id]`
**Prompt:**
```
Check studio content generation status for notebook [notebook_id].
```
**Expected:**
- List of artifacts with status (in_progress/completed) and URLs.
- **Verify:** Artifact from Test 5.1b shows `custom_instructions: "Explain this to a 5 year old"`.
---
### Test 5.11 - Rename Studio Artifact
**Tool:** `studio_status` (with action="rename")
**CLI:** `nlm studio rename [artifact_id] "My Renamed Podcast"`
**Prompt:**
```
Rename artifact [artifact_id] in notebook [notebook_id] to "My Renamed Podcast".
- action: rename
- artifact_id: [artifact_id from studio_status]
- new_title: "My Renamed Podcast"
```
**Expected:** Artifact renamed successfully.
---
## Test Group 6: Downloads (Consolidated download_artifact)
### Test 6.1 - Download Report
**Tool:** `download_artifact`
**CLI (Verb):** `nlm download report [notebook_id] --output /tmp/report.md`
**Prompt:**
```
Download the report from notebook [notebook_id]:
- artifact_type: report
- output_path: /tmp/report.md
```
**Expected:** Report downloaded as markdown.
---
### Test 6.2 - Download Flashcards (JSON)
**Tool:** `download_artifact`
**CLI:** `nlm download flashcards [notebook_id] --format json --output /tmp/flashcards.json`
**Prompt:**
```
Download flashcards from notebook [notebook_id]:
- artifact_type: flashcards
- output_path: /tmp/flashcards.json
- output_format: json
```
**Expected:** Flashcards downloaded as JSON.
---
### Test 6.3 - Download Quiz (Markdown)
**Tool:** `download_artifact`
**CLI:** `nlm download quiz [notebook_id] --format markdown --output /tmp/quiz.md`
**Prompt:**
```
Download quiz from notebook [notebook_id]:
- artifact_type: quiz
- output_path: /tmp/quiz.md
- output_format: markdown
```
**Expected:** Quiz downloaded as markdown.
---
### Test 6.4 - Download Audio
**Tool:** `download_artifact`
**CLI:** `nlm download audio [notebook_id] --output /tmp/podcast.m4a`
**Prompt:**
```
Download audio from notebook [notebook_id]:
- artifact_type: audio
- output_path: /tmp/podcast.m4a
```
**Expected:** Audio downloaded as M4A/MP4.
---
### Test 6.5 - Download Slide Deck
**Tool:** `download_artifact`
**CLI:** `nlm download slide-deck [notebook_id] --output /tmp/slides.pdf`
**Prompt:**
```
Download slide deck from notebook [notebook_id]:
- artifact_type: slide_deck
- output_path: /tmp/slides.pdf
```
**Expected:** Slides downloaded as PDF.
---
## Test Group 7: Sharing
### Test 7.1 - Get Share Status
**Tool:** `notebook_share_status`
**CLI (Noun):** `nlm share status [notebook_id]`
**Prompt:**
```
Get sharing status for notebook [notebook_id].
```
**Expected:** Status with `is_public`, `access_level`, `collaborators`.
---
### Test 7.2 - Enable Public Link
**Tool:** `notebook_share_public`
**CLI:** `nlm share public [notebook_id]`
**Prompt:**
```
Enable public link for notebook [notebook_id].
- is_public: True
```
**Expected:** Public link returned.
---
### Test 7.3 - Disable Public Link
**Tool:** `notebook_share_public`
**CLI:** `nlm share private [notebook_id]`
**Prompt:**
```
Disable public link for notebook [notebook_id].
- is_public: False
```
**Expected:** Public link disabled.
---
### Test 7.4 - Invite Collaborator (Optional)
**Tool:** `notebook_share_invite`
**CLI:** `nlm share invite [notebook_id] test@example.com --role viewer`
**Prompt:**
```
Invite collaborator to notebook [notebook_id]:
- email: test@example.com
- role: viewer
```
**Expected:** Invitation sent (or error if email invalid).
---
## Test Group 8: Drive Sync (Optional)
### Test 8.1 - Sync Drive Sources
**Tool:** `source_sync_drive`
**CLI (Verb):** `nlm source sync [notebook_id] --confirm`
**Prompt:**
```
Check if any Drive sources in notebook [notebook_id] are stale using source_list_drive.
If any are stale, sync them using source_sync_drive with confirm=True.
```
**Expected:** Sources synced if any were stale.
---
## Test Group 9: Deep Research Verification
**TIMING:** By now, deep research from Test 4.4 should be complete.
### Test 9.1 - Check Deep Research Status
**Tool:** `research_status`
**CLI (Noun):** `nlm research status [notebook_id]`
**Prompt:**
```
Check deep research status for notebook [notebook_id] with max_wait=60.
```
**Expected:**
- `status: completed`
- `mode: deep`
- `source_count`: ~40-50 sources
- `report` field present
---
### Test 9.2 - Import Deep Research Sources
**Tool:** `research_import`
**CLI (Noun):** `nlm research import [notebook_id] [task_id]`
**Prompt:**
```
Import all deep research sources from task [task_id] into notebook [notebook_id].
```
**Expected:** Sources imported successfully.
---
## Test Group 10: Cleanup
### Test 10.1 - Delete Studio Artifacts
**Tool:** `studio_delete`
**CLI (Noun):** `nlm studio delete [notebook_id] [artifact_id] --confirm`
**Prompt:**
```
Get studio status for notebook [notebook_id], then delete each artifact with confirm=True.
```
**Expected:** All artifacts deleted.
---
### Test 10.2 - Delete All Sources
**Tool:** `source_delete`
**CLI (Noun):** `nlm source delete [source_id] --confirm`
**Prompt:**
```
List sources in notebook [notebook_id], then delete each with confirm=True.
```
**Expected:** All sources deleted.
---
### Test 10.3 - Delete Notebook
**Tool:** `notebook_delete`
**CLI (Noun):** `nlm notebook delete [notebook_id] --confirm`
**Prompt:**
```
Delete notebook [notebook_id] with confirm=True.
```
**Expected:** Notebook deleted successfully.
---
## Test Group 11: Notes Management (Unified `note` tool)
### Test 11.1 - Create Note
**Tool:** `note`
**CLI (Noun):** `nlm note create [notebook_id] --content "Test" --title "Title"`
**Prompt:**
```
Create a note in notebook [notebook_id]:
- action: create
- content: "This is a test note about AI"
- title: "AI Note"
```
**Expected:** Note created with `note_id`.
**Save:** Note the `note_id` for subsequent tests.
---
### Test 11.2 - List Notes
**Tool:** `note`
**CLI (Noun):** `nlm note list [notebook_id]`
**Prompt:**
```
List all notes in notebook [notebook_id]:
- action: list
```
**Expected:** Array of notes including the one just created, with previews.
---
### Test 11.3 - Update Note
**Tool:** `note`
**CLI (Noun):** `nlm note update [notebook_id] [note_id] --content "Updated"`
**Prompt:**
```
Update note [note_id] in notebook [notebook_id]:
- action: update
- note_id: [note_id]
- content: "Updated: AI is transforming technology"
```
**Expected:** Success confirmation.
---
### Test 11.4 - Delete Note
**Tool:** `note`
**CLI (Noun):** `nlm note delete [notebook_id] [note_id] --confirm`
**Prompt:**
```
Delete note [note_id] in notebook [notebook_id]:
- action: delete
- note_id: [note_id]
- confirm: True
```
**Expected:** Deletion confirmation message.
---
## Test Group 12: Server Info
### Test 12.1 - Get Server Info
**Tool:** `server_info`
**Prompt:**
```
Get NotebookLM MCP server version and check for updates.
```
**Expected:**
- `version`: Current version
- `latest_version`: Latest PyPI version (or null if offline)
- `update_available`: Boolean
- `update_command`: Upgrade command
---
## Summary: 29 Consolidated Tools
| Category | Tools | Count |
|----------|-------|-------|
| **Auth** | `refresh_auth`, `save_auth_tokens` | 2 |
| **Notebooks** | `notebook_list`, `notebook_get`, `notebook_describe`, `notebook_create`, `notebook_rename`, `notebook_delete` | 6 |
| **Sources** | `source_add`, `source_list_drive`, `source_sync_drive`, `source_delete`, `source_describe`, `source_get_content` | 6 |
| **Sharing** | `notebook_share_status`, `notebook_share_public`, `notebook_share_invite` | 3 |
| **Research** | `research_start`, `research_status`, `research_import` | 3 |
| **Studio** | `studio_create`, `studio_status`, `studio_delete` | 3 |
| **Downloads** | `download_artifact` | 1 |
| **Exports** | `export_artifact` | 1 |
| **Chat** | `notebook_query`, `chat_configure` | 2 |
| **Notes** | `note` (unified: list, create, update, delete) | 1 |
| **Server** | `server_info` | 1 |
| **Total** | | **29** |
---
## Quick Copy-Paste Test Prompts
```
1. Refresh auth tokens
2. List all my NotebookLM notebooks
3. Create a new notebook titled "MCP Test Notebook"
4. Get details of notebook [id]
5. Rename notebook [id] to "MCP Test - Renamed"
6. Add URL source to notebook [id]: source_type=url, url=https://en.wikipedia.org/wiki/Artificial_intelligence
7. Add text source to notebook [id]: source_type=text, text="Machine learning test document"
8. List sources in notebook [id] with Drive status
9. Get AI summary of source [source_id]
10. Get raw text content of source [source_id]
11. Get AI summary of notebook [id]
12. Ask notebook [id]: "What is artificial intelligence?"
13. Configure notebook [id] chat: goal=learning_guide, response_length=longer
14. Configure notebook [id] chat: goal=custom, custom_prompt="Respond in rhymes"
15. Start fast web research for "OpenShift" in notebook [id]
16. Check research status for notebook [id]
17. Import research sources from task [task_id]
18. Start DEEP web research for "AI ROI" in notebook [id]
19. Create audio overview: artifact_type=audio, format=brief, confirm=True
20. Create video overview: artifact_type=video, format=brief, confirm=True
21. Check studio status for notebook [id]
22. Create report: artifact_type=report, report_format="Briefing Doc", confirm=True
23. Create flashcards: artifact_type=flashcards, confirm=True
24. Create quiz: artifact_type=quiz, question_count=2, confirm=True
25. Create infographic: artifact_type=infographic, confirm=True
26. Create slide deck: artifact_type=slide_deck, confirm=True
27. Create mind map: artifact_type=mind_map, title="AI Concepts", confirm=True
28. Download report: artifact_type=report, output_path=/tmp/report.md
29. Download flashcards: artifact_type=flashcards, output_path=/tmp/cards.json
30. Get share status for notebook [id]
31. Enable public link for notebook [id]
32. Check deep research status
33. Import deep research sources
34. Create note in notebook [id]: content="Test note", title="My Note"
35. List all notes in notebook [id]
36. Update note [note_id] in notebook [id]: content="Updated content"
37. Delete note [note_id] in notebook [id] with confirm=True
38. Delete all studio artifacts with confirm=True
39. Delete all sources with confirm=True
40. Delete notebook [id] with confirm=True
```
|