Track vendor relationships, contracts, SLAs, and automate renewal preparation
Track and evaluate vendor relationships, contracts, and performance. Automates renewal preparation by pulling communication history and flagging upcoming contract milestones.
Extract parameters — Parse from user input:
For ADD command — Create vendor profile:
Use the `search_emails` MCP tool with gmail_query: "from:<vendor-domain> OR to:<vendor-domain>"
Use the `search_memory` MCP tool with query: "<vendor-name> contract SLA"
For REVIEW command — Evaluate vendor performance:
cat ~/.second-brain/vault/ops/vendors/<vendor-slug>.md
grep -r "<vendor-name>\|incident\|issue\|downtime\|complaint" ~/.second-brain/vault/daily/ | tail -30
Use the `search_emails` MCP tool with gmail_query: "from:<vendor-email>"
For RENEW command — Prepare renewal negotiation:
cat ~/.second-brain/vault/ops/vendors/<vendor-slug>.md
Use the `calendar_events` MCP tool with the relevant date
Use the `search_emails` MCP tool with gmail_query: "from:<vendor-email>"
For LIST command — Display all vendors:
ls -la ~/.second-brain/vault/ops/vendors/*.md | sort
Generate summary table: vendor name, service, contract end date, status (active/renewal-due/at-risk)
Generate vendor profile document with sections:
Save vendor profile to:
~/.second-brain/vault/ops/vendors/<vendor-slug>.md
Include YAML frontmatter:
---
vendor_name: "[Name]"
service: "[Service]"
contract_end: "[YYYY-MM-DD]"
status: "active|renewal-due|at-risk|inactive"
cost_annual: "$[amount]"
last_reviewed: "[YYYY-MM-DD]"
---
Add renewal date to calendar if renewing:
Log the calendar item with `log_note` (calendar creation not yet in MCP)
--title "Vendor Renewal Deadline: [vendor-name]" \
--date "[renewal-date]" \
--reminder "14 days before"
Optionally create Asana task for renewal action:
Use the `list_tasks` MCP tool (task creation via Asana API — log the action item with `log_note` instead)
--project "Operations" \
--name "Renew contract: [vendor-name] (due YYYY-MM-DD)" \
--due-date "[30-days-before-expiry]"
Log to daily log:
- **HH:MM** — [OPS] Vendor [action]: <vendor-name> — Status: <status> — Renewal: <renewal-date>
Use this structure for vendor profile file:
---
vendor_name: "[Vendor Legal Name]"