{"at":"2026-11-23T05:15:14.612Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:15:14.996Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:15:15.047Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T05:15:15.449Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"Use find_leads with a plain-English description of the people or businesses wanted. Emails marked evidence='guessed' are unconfirmed; prefer tier 'safe' for sending. When find_leads returns fewer leads than asked, its 'report' says what each source did and 'hint' what to try next. The workspace tools (search_contacts, get_contact, search_companies, list_tasks, pipeline, …) read the user's saved CRM; save_contacts stores find_leads results in a list, and enroll_in_sequence queues outreach without sending anything immediately.","protocolVersion":"2025-06-18","serverInfo":{"name":"openleads","version":"5.5.0"}}}}
{"at":"2026-11-23T05:15:15.449Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:15:15.449Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:15:15.453Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Find B2B leads from free public sources and verify their emails. Describe who you want in plain English, e.g. 'dentists in Austin', 'marketing agencies in Miami', 'fintech founders', 'rust developers in Berlin', or 'emails at stripe.com'. Returns people/companies with an email, a deliverability tier (safe/risky), and evidence (found/pattern/guessed).","inputSchema":{"properties":{"budget_seconds":{"default":45,"description":"Hard time limit: the search returns what it has by then. The default fits the common 60-second tool-call timeout.","maximum":300,"minimum":10,"type":"integer"},"count":{"default":10,"maximum":100,"minimum":1,"type":"integer"},"department":{"description":"Comma-separated, e.g. 'sales,marketing'.","type":"string"},"location":{"description":"A place, if it isn't in the query ('Austin, TX').","type":"string"},"query":{"description":"Who to find, in plain English.","type":"string"},"save_to_list":{"description":"Also save the results to your workspace, in this list (created if new).","type":"string"},"seniority":{"description":"Comma-separated: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry.","type":"string"},"source":{"description":"Pin one source (see list_sources); default: automatic.","type":"string"},"verified_only":{"default":false,"description":"Only return deliverable (safe-tier) emails.","type":"boolean"}},"required":["query"],"type":"object"},"name":"find_leads"},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Find the most likely work email for a person at a company domain.","inputSchema":{"properties":{"domain":{"description":"Company domain, e.g. 'acme.com'.","type":"string"},"name":{"description":"Full name, e.g. 'Ada Lovelace'.","type":"string"}},"required":["name","domain"],"type":"object"},"name":"find_email"},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Check whether an email address is deliverable (safe/risky/bad) and why.","inputSchema":{"properties":{"email":{"type":"string"}},"required":["email"],"type":"object"},"name":"verify_email"},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"List the public data sources OpenLeads can search.","inputSchema":{"properties":{},"type":"object"},"name":"list_sources"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Search contacts"},"description":"Search the people saved in your OpenLeads workspace (like Apollo's People tab). Filter by free text (name, email, company, title), stage, email status, seniority, department, tag, list, or minimum ICP fit score. Returns contacts with stage, fit score (0-100) and email tier.","inputSchema":{"properties":{"department":{"description":"e.g. sales, marketing, engineering, executive","type":"string"},"fit_min":{"maximum":100,"minimum":0,"type":"integer"},"limit":{"default":25,"maximum":200,"minimum":1,"type":"integer"},"list":{"description":"List name.","type":"string"},"never_contacted":{"type":"boolean"},"query":{"description":"Words to match in name, email, company or title.","type":"string"},"seniority":{"description":"owner, founder, c_suite, partner, vp, head, director, manager, senior, entry","type":"string"},"stage":{"description":"new, approaching, replied, interested, meeting, customer, not_interested, unresponsive, do_not_contact, bad_data","type":"string"},"tag":{"type":"string"},"tier":{"description":"Email status: safe or risky.","type":"string"}},"type":"object"},"name":"search_contacts"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get a contact"},"description":"Everything about one contact: profile, company, tags, lists, notes, open tasks, deals, sequences they're in, and recent activity.","inputSchema":{"properties":{"email":{"type":"string"}},"required":["email"],"type":"object"},"name":"get_contact"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Search companies"},"description":"Search companies in the workspace by text, technology they use (e.g. HubSpot, Shopify), industry or stage. Returns people counts and tech stack.","inputSchema":{"properties":{"industry":{"type":"string"},"limit":{"default":25,"maximum":200,"minimum":1,"type":"integer"},"query":{"type":"string"},"stage":{"type":"string"},"technology":{"type":"string"}},"type":"object"},"name":"search_companies"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get a company"},"description":"One company: profile, tech stack, its people, deals, open tasks and notes.","inputSchema":{"properties":{"domain":{"type":"string"}},"required":["domain"],"type":"object"},"name":"get_company"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List tasks"},"description":"The follow-up queue (calls, emails, LinkedIn touches, to-dos) by due date.","inputSchema":{"properties":{"bucket":{"default":"open","enum":["open","overdue","today","upcoming","done"],"type":"string"}},"type":"object"},"name":"list_tasks"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Deal pipeline"},"description":"The deal pipeline by stage with totals: open value, probability-weighted forecast, won value and win rate.","inputSchema":{"properties":{},"type":"object"},"name":"pipeline"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List sequences"},"description":"Outreach sequences with their steps, status and reply/bounce numbers.","inputSchema":{"properties":{},"type":"object"},"name":"list_sequences"},{"annotations":{"openWorldHint":true,"readOnlyHint":true,"title":"Draft an email"},"description":"Write a personalized cold email (or a follow-up) for a saved contact, or for a lead object from find_leads. Nothing is sent or saved. Returns the subject and body, a 0-100 quality score with reasons, the research brief (the facts the email may use: company, tech stack, signals like hiring or YC, the person's role) and why each line was chosen. Shared inboxes (info@, office@) get a 'who should I talk to' email. Uses the configured LLM when there is one (facts-checked), else the built-in writer.","inputSchema":{"properties":{"angle":{"enum":["auto","mutual-signal","compliment","curiosity","pain","short-ask","breakup"],"type":"string"},"email":{"description":"A saved contact's email.","type":"string"},"lead":{"description":"A lead (e.g. from find_leads) instead of a saved contact.","type":"object"},"step":{"default":1,"description":"1 = first email; 2+ = follow-up in the same thread.","maximum":10,"minimum":1,"type":"integer"},"tone":{"enum":["plain","warm","direct","casual"],"type":"string"},"use_llm":{"description":"false = built-in writer only.","type":"boolean"},"variants":{"default":1,"maximum":5,"minimum":1,"type":"integer"}},"type":"object"},"name":"draft_email"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Workspace stats"},"description":"The workspace at a glance: contacts, sends, reply rate, tasks due, pipeline, ICP grades and data-quality issues.","inputSchema":{"properties":{},"type":"object"},"name":"workspace_stats"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Save contacts"},"description":"Save people to the workspace (e.g. results from find_leads), optionally into a list and with tags. Existing contacts are updated without blanking fields. Each contact needs an email; other fields are optional.","inputSchema":{"properties":{"contacts":{"items":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"email":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"linkedin_url":{"type":"string"},"name":{"type":"string"},"organization":{"type":"string"},"phone":{"type":"string"},"tier":{"type":"string"},"title":{"type":"string"}},"required":["email"],"type":"object"},"type":"array"},"list":{"description":"Add them to this list (created if new).","type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"required":["contacts"],"type":"object"},"name":"save_contacts"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add to list"},"description":"Add saved contacts to a people list (created if it doesn't exist).","inputSchema":{"properties":{"emails":{"description":"Contact emails.","items":{"type":"string"},"type":"array"},"list":{"type":"string"}},"required":["list","emails"],"type":"object"},"name":"add_to_list"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Set stage"},"description":"Move contacts to a stage: new, approaching, replied, interested, meeting, customer, not_interested, unresponsive, do_not_contact, bad_data.","inputSchema":{"properties":{"emails":{"description":"Contact emails.","items":{"type":"string"},"type":"array"},"stage":{"type":"string"}},"required":["emails","stage"],"type":"object"},"name":"set_stage"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Tag contacts"},"description":"Add (or with remove=true, remove) tags on contacts.","inputSchema":{"properties":{"emails":{"description":"Contact emails.","items":{"type":"string"},"type":"array"},"remove":{"default":false,"type":"boolean"},"tags":{"items":{"type":"string"},"type":"array"}},"required":["emails","tags"],"type":"object"},"name":"tag_contacts"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add a note"},"description":"Add a note to a contact's record (call notes, context, next steps).","inputSchema":{"properties":{"email":{"type":"string"},"pinned":{"type":"boolean"},"text":{"type":"string"}},"required":["email","text"],"type":"object"},"name":"add_note"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Create a task"},"description":"Create a follow-up task. kind: call, email, linkedin or todo. due accepts today, tomorrow, +3d, +2h, a weekday (fri) or YYYY-MM-DD.","inputSchema":{"properties":{"contact":{"description":"Contact email.","type":"string"},"due":{"type":"string"},"kind":{"enum":["call","email","linkedin","todo"],"type":"string"},"note":{"type":"string"},"priority":{"enum":["low","normal","high"],"type":"string"},"title":{"type":"string"}},"required":["title"],"type":"object"},"name":"create_task"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Complete a task"},"description":"Mark a task done (a sequence task moves that contact to their next step).","inputSchema":{"properties":{"id":{"type":"integer"}},"required":["id"],"type":"object"},"name":"complete_task"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Create a deal"},"description":"Open a deal. stage: qualify, meeting, proposal, negotiation, won, lost. amount accepts 12000, 12k or $2.5k.","inputSchema":{"properties":{"amount":{"type":"string"},"close_date":{"type":"string"},"company":{"description":"Domain.","type":"string"},"contact":{"type":"string"},"name":{"type":"string"},"stage":{"type":"string"}},"required":["name"],"type":"object"},"name":"create_deal"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Move a deal"},"description":"Move a deal to another stage (won makes its contact and company customers).","inputSchema":{"properties":{"id":{"type":"integer"},"stage":{"type":"string"}},"required":["id","stage"],"type":"object"},"name":"move_deal"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Enroll in a sequence"},"description":"Add contacts (by email or a whole list) to an existing sequence. People who are suppressed, unverified, or already in a sequence are skipped with a reason. Nothing is sent immediately; steps run on schedule.","inputSchema":{"properties":{"emails":{"description":"Contact emails.","items":{"type":"string"},"type":"array"},"list":{"type":"string"},"sequence":{"description":"Sequence name or id.","type":"string"}},"required":["sequence"],"type":"object"},"name":"enroll_in_sequence"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List workflows"},"description":"Your automation workflows (node graphs: triggers, find leads, filters, write, send, export…) and recipes, with whether each is active, live, when it runs and how many items are waiting.","inputSchema":{"properties":{},"type":"object"},"name":"list_workflows"},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false,"title":"Run a workflow"},"description":"Run one workflow and report what each node did (items in/out, notes, errors). By default this is a TEST RUN: it searches and drafts but never sends, exports, notifies or changes the workspace. mode='run' does a real run (workspace changes and exports happen; Send only previews). Only live=true with mode='run' sends real email, inside the warmup cap. Never set live=true unless the user explicitly asked to send.","inputSchema":{"properties":{"live":{"default":false,"type":"boolean"},"mode":{"default":"test","enum":["test","run"],"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"name":"run_workflow"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Today"},"description":"What needs the user right now: replies waiting for an answer (with a snippet), first emails waiting for approval (with subject, body and quality score), tasks due today or overdue, leads found since they last looked, and heads-ups (mailbox not connected, bounces climbing, a failed workflow). Start a morning review here.","inputSchema":{"properties":{},"type":"object"},"name":"today"},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false,"title":"Approve and send a draft"},"description":"Approve a waiting first email: this really sends it, from the user's mailbox, now (suppression, warmup cap and the pre-send hook still apply). Optionally pass an edited subject and body. Only approve drafts the user has said yes to.","inputSchema":{"properties":{"body":{"type":"string"},"id":{"type":"integer"},"subject":{"type":"string"}},"required":["id"],"type":"object"},"name":"approve_draft"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Skip a draft"},"description":"Skip a waiting first email so it never sends (a sequence contact leaves it).","inputSchema":{"properties":{"id":{"type":"integer"}},"required":["id"],"type":"object"},"name":"skip_draft"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Snooze"},"description":"Hide a waiting reply (kind='reply', ref=email) or move a task (kind='task', ref=task id) until a later time. until accepts today, tomorrow, +3d, +2h, a weekday (fri) or YYYY-MM-DD.","inputSchema":{"properties":{"kind":{"enum":["reply","task"],"type":"string"},"ref":{"type":"string"},"until":{"type":"string"}},"required":["kind","ref","until"],"type":"object"},"name":"snooze"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Mark a reply handled"},"description":"Mark a contact's waiting reply as handled, so it leaves Today.","inputSchema":{"properties":{"email":{"type":"string"}},"required":["email"],"type":"object"},"name":"mark_reply_done"}]}}}
