{"apiVersion":"v1","directorySlug":"newtonco-mcp-f5410514e3","title":"NewtonAI - Homepage","description":null,"pageUrl":"https://www.mcpbundles.com/skills/newtonco-mcp-f5410514e3","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://mcp.newtonco.ai/mcp","hostedMcpUrl":null,"toolCount":88,"toolInventoryStatus":"observed","refreshedAt":"2026-11-03T13:26:00.516172+00:00","registryName":"ai.newtonco/newtonco-mcp-f5410514e3","registryVersion":"2026.11.3","registryEligible":true,"tools":[{"name":"get_current_user","description":"Return the authenticated session user's {user_id, display_name}. Identity is derived per-request from\nthe LibreChat user, so each rep gets their own — not a shared one.","inputSchema":{"type":"object","properties":{}},"logicalName":"get_current_user","displayName":"get_current_user","title":"get_current_user","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_schema","description":"Return the full MySQL schema for the sales_automation database (exact table/column names, types,\nJOIN keys, JSON sub-keys, region map, query examples) plus the column-visibility config (which\ncolumns are selected by default per table). ALWAYS call before writing any SQL.","inputSchema":{"type":"object","properties":{}},"logicalName":"get_schema","displayName":"get_schema","title":"get_schema","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"execute_sql","description":"SELECT-only query against the sales_automation MySQL database. Always call get_schema first;\nfuzzy_resolve any user-supplied string values before building WHERE clauses.","inputSchema":{"type":"object","required":["sql"],"properties":{"sql":{"type":"string"},"fresh":{"type":"boolean","default":false},"params":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"default":null},"guidance_token":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"default":null}}},"logicalName":"execute_sql","displayName":"execute_sql","title":"execute_sql","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"compute_summary_stats","description":"Descriptive statistics for a numeric field across rows. Use on execute_sql results for the\naverage / range / spread of a column.","inputSchema":{"type":"object","required":["rows","field"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"field":{"type":"string"}}},"logicalName":"compute_summary_stats","displayName":"compute_summary_stats","title":"compute_summary_stats","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"rank_by_field","description":"Sort/rank rows by a numeric field, adding a _rank column. Use on execute_sql results for \"top N by\nX\" / \"rank these by downloads\". In-memory — no second DB query.","inputSchema":{"type":"object","required":["rows","field"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"field":{"type":"string"},"order":{"type":"string","default":"desc"},"top_n":{"type":"integer","default":0}}},"logicalName":"rank_by_field","displayName":"rank_by_field","title":"rank_by_field","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"filter_by_threshold","description":"Filter execute_sql result rows to those where a numeric field meets a threshold. Use for\n\"only apps with downloads > 100k\" / \"spend >= 50000\" — in memory, no second DB query.","inputSchema":{"type":"object","required":["rows","field","operator","value"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"field":{"type":"string"},"value":{"type":"number"},"operator":{"type":"string"}}},"logicalName":"filter_by_threshold","displayName":"filter_by_threshold","title":"filter_by_threshold","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"compute_percentile","description":"Where a value falls in a field's distribution across rows. Use on execute_sql results for \"what\npercentile is this app's downloads?\" / \"is 50k ASA spend high for this set?\".","inputSchema":{"type":"object","required":["rows","field","value"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"field":{"type":"string"},"value":{"type":"number"}}},"logicalName":"compute_percentile","displayName":"compute_percentile","title":"compute_percentile","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"group_and_aggregate","description":"Group rows by a categorical field and aggregate a numeric field (like SQL GROUP BY), in memory.\nUse on execute_sql results for \"total downloads per category\" / \"avg ASA spend by persona\".","inputSchema":{"type":"object","required":["rows","group_by","agg_field","agg_func"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"agg_func":{"type":"string"},"group_by":{"type":"string"},"agg_field":{"type":"string"}}},"logicalName":"group_and_aggregate","displayName":"group_and_aggregate","title":"group_and_aggregate","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"compute_correlation","description":"Pearson correlation between two numeric fields across rows (not expressible as a single SQL\naggregate). Use on execute_sql results for \"does ASA spend correlate with download growth?\". Rows\nwhere either field is null are excluded.","inputSchema":{"type":"object","required":["rows","field_x","field_y"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"field_x":{"type":"string"},"field_y":{"type":"string"}}},"logicalName":"compute_correlation","displayName":"compute_correlation","title":"compute_correlation","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"fuzzy_resolve","description":"Resolve a user-supplied string → its canonical DB value for a column. MANDATORY before any SQL\nWHERE clause or tool arg using a user string for a resolvable column — DB canonicals aren't obvious\n(\"CRED\" not \"Cred\", \"redBus\" not \"Redbus\", \"phone pe\" → \"PhonePe\"). Don't skip on your own confidence.","inputSchema":{"type":"object","required":["query","column"],"properties":{"query":{"type":"string"},"top_n":{"type":"integer","default":5},"column":{"type":"string"},"region_prefix":{"type":"string","default":""}}},"logicalName":"fuzzy_resolve","displayName":"fuzzy_resolve","title":"fuzzy_resolve","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"list_valid_regions","description":"Distinct region_prefix values in sales_automation_complete_results. Call when fuzzy_resolve returns\nnot_found for region_prefix, to show the user valid options. Returns {\"regions\":[\"ae\",\"br\",\"de\",...]}.","inputSchema":{"type":"object","properties":{}},"logicalName":"list_valid_regions","displayName":"list_valid_regions","title":"list_valid_regions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"list_valid_countries","description":"Distinct publisher_country values in sales_automation_complete_results (stored inconsistently — full\nEnglish names for most, but the bare code \"US\" for the United States). Call on fuzzy_resolve\nnot_found for publisher_country. Returns {\"countries\":[\"India\",\"Singapore\",\"US\",\"United Kingdom\",...]}.","inputSchema":{"type":"object","properties":{}},"logicalName":"list_valid_countries","displayName":"list_valid_countries","title":"list_valid_countries","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"list_valid_categories","description":"Distinct category values in sales_automation_complete_results. Call when fuzzy_resolve returns\nnot_found for category, to show valid options. Returns {\"categories\":[\"Finance\",\"Games\",\"Health & Fitness\",...]}.","inputSchema":{"type":"object","properties":{}},"logicalName":"list_valid_categories","displayName":"list_valid_categories","title":"list_valid_categories","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"list_valid_personas","description":"Distinct closest_persona values in sales_automation_complete_results. Call when fuzzy_resolve returns\nnot_found for closest_persona, to show valid options. Returns {\"personas\":[\"Fintech - Payments\",\"Gaming - Casual\",...]}.","inputSchema":{"type":"object","properties":{}},"logicalName":"list_valid_personas","displayName":"list_valid_personas","title":"list_valid_personas","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"icp_cache_get_contacts","description":"Look up cached contacts for a company in the ICP cache (sales_automation_icp_cache). FREE — always\ncall FIRST in any contact-discovery flow (before HubSpot / Lusha). Populated automatically after each\nsuccessful lusha_enrich_contacts.","inputSchema":{"type":"object","required":["company_name"],"properties":{"company_name":{"type":"string"}}},"logicalName":"icp_cache_get_contacts","displayName":"icp_cache_get_contacts","title":"icp_cache_get_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"icp_cache_upsert_contacts","description":"Write enriched contacts into the ICP cache (backfill / edge cases only). Normally NOT needed —\nlusha_enrich_contacts persists automatically server-side. Use only to backfill from another source,\nor to retry after a lusha_enrich_contacts \"_cache_error\". Non-destructive — no confirmation needed.","inputSchema":{"type":"object","required":["company_name","domain","region_prefix","category","contacts"],"properties":{"domain":{"type":"string"},"category":{"type":"string"},"contacts":{"type":"array","items":{"type":"object","additionalProperties":true}},"company_name":{"type":"string"},"region_prefix":{"type":"string"}}},"logicalName":"icp_cache_upsert_contacts","displayName":"icp_cache_upsert_contacts","title":"icp_cache_upsert_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"lusha_prospect_contacts","description":"FREE prospecting search for contacts at a company domain. No credits.\nAlways the first Lusha step — returns contactIds + request_id for the paid enrich step.","inputSchema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string"},"seniority":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"default":null},"departments":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null},"max_results":{"type":"integer","default":10}}},"logicalName":"lusha_prospect_contacts","displayName":"lusha_prospect_contacts","title":"lusha_prospect_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"lusha_enrich_contacts","description":"PAID ~1 credit per contact: turns prospect contactIds into real emails + phones.\nPresent \"~N credits\" and confirm before calling. Call icp_cache_get_contacts first;\nonly enrich on cache miss (found=False or partial=True).","inputSchema":{"type":"object","required":["contact_ids"],"properties":{"domain":{"type":"string","default":""},"category":{"type":"string","default":""},"request_id":{"type":"string","default":""},"contact_ids":{"type":"array","items":{"type":"string"}},"company_name":{"type":"string","default":""},"region_prefix":{"type":"string","default":""}}},"logicalName":"lusha_enrich_contacts","displayName":"lusha_enrich_contacts","title":"lusha_enrich_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"lusha_company_search","description":"Resolve a company name → canonical domain: FREE name search + LLM verifier (guards against name\ncollisions like \"Reliance Industries\" → wrong firm) → resolved domain, or candidates on ambiguity.","inputSchema":{"type":"object","required":["company_name"],"properties":{"max_results":{"type":"integer","default":5},"company_name":{"type":"string"}}},"logicalName":"lusha_company_search","displayName":"lusha_company_search","title":"lusha_company_search","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"lusha_company_lookup","description":"PAID: company firmographics (size, industry, LinkedIn employee count, revenue range). Provide\ndomain (preferred) OR company_name. Prefer lusha_company_search (free) to get a verified domain\nfirst; call this only when full firmographics are actually needed.","inputSchema":{"type":"object","properties":{"domain":{"type":"string","default":""},"company_name":{"type":"string","default":""}}},"logicalName":"lusha_company_lookup","displayName":"lusha_company_lookup","title":"lusha_company_lookup","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"lusha_check_credits","description":"Check remaining Lusha credit balance and usage. Use before a large batch enrichment or when the\nuser asks how many credits are left. Returns the full /account/usage response (used + remaining).","inputSchema":{"type":"object","properties":{}},"logicalName":"lusha_check_credits","displayName":"lusha_check_credits","title":"lusha_check_credits","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"apollo_company_lookup","description":"PAID (1 credit): Apollo organization enrichment → firmographics + the company's Apollo\norganization_id. Provide domain (preferred) OR company_name. Pass the returned\norganization_id to apollo_prospect_contacts for the most precise people targeting.","inputSchema":{"type":"object","properties":{"domain":{"type":"string","default":""},"company_name":{"type":"string","default":""}}},"logicalName":"apollo_company_lookup","displayName":"apollo_company_lookup","title":"apollo_company_lookup","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"apollo_prospect_contacts","description":"FREE people search at a company. No credits. Always the first Apollo step for finding\npeople — returns Apollo person ids (as \"contactId\") for the paid apollo_enrich_contacts step.\nDoes NOT return emails/phones (availability flags only).","inputSchema":{"type":"object","properties":{"domain":{"type":"string","default":""},"titles":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null},"max_results":{"type":"integer","default":10},"seniorities":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null},"organization_id":{"type":"string","default":""}}},"logicalName":"apollo_prospect_contacts","displayName":"apollo_prospect_contacts","title":"apollo_prospect_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"apollo_enrich_contacts","description":"PAID: turns Apollo person ids into real work emails (+ optional mobile phones).\nCost: 1 credit/person for email/demographics; +8 credits/person if a mobile phone is\nreturned, drawn from your own per-rep Apollo quota (small on purpose — the vendor\naccount is a single pool shared across the whole team). Call icp_cache_get_contacts\nfirst; only enrich on a cache miss (found=False or partial=True).","inputSchema":{"type":"object","required":["contact_ids"],"properties":{"domain":{"type":"string","default":""},"category":{"type":"string","default":""},"request_id":{"type":"string","default":""},"contact_ids":{"type":"array","items":{"type":"string"}},"company_name":{"type":"string","default":""},"reveal_phone":{"type":"boolean","default":false},"region_prefix":{"type":"string","default":""}}},"logicalName":"apollo_enrich_contacts","displayName":"apollo_enrich_contacts","title":"apollo_enrich_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"apollo_check_credits","description":"Check remaining Apollo credit balances (per credit type: lead=email, direct_dial=phone,\nexport, etc.). Use before a large batch enrichment or when the user asks how many credits\nare left. Returns the full credit_usage_stats response (limit / consumed / left_over per type).","inputSchema":{"type":"object","properties":{}},"logicalName":"apollo_check_credits","displayName":"apollo_check_credits","title":"apollo_check_credits","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"contact_provider_set","description":"Set/replace your preferred contact-data provider (Lusha or Apollo) so the agent uses it by\ndefault for future contact-finding requests without asking every time. Call this when the\nuser says things like \"always use Apollo for contacts\", \"switch me to Lusha\", or answers a\none-time \"Apollo or Lusha?\" question and asks you to remember it going forward.","inputSchema":{"type":"object","required":["provider"],"properties":{"provider":{"type":"string"}}},"logicalName":"contact_provider_set","displayName":"contact_provider_set","title":"contact_provider_set","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"contact_provider_show","description":"Show your currently saved preferred contact-data provider, if any. Call this when the user\nasks \"which provider am I set to?\" or similar — you do not need to call this before every\ncontact-finding request; get_current_user already surfaces the saved preference (or its\nabsence) proactively at the start of a conversation via \"provider_notice\".","inputSchema":{"type":"object","properties":{}},"logicalName":"contact_provider_show","displayName":"contact_provider_show","title":"contact_provider_show","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"contact_provider_reset","description":"Clear your saved preferred contact-data provider, so the agent goes back to asking \"Apollo\nor Lusha?\" on your next generic contact-finding request. Call this when the user says\n\"stop defaulting to X\", \"forget my provider preference\", or similar.","inputSchema":{"type":"object","properties":{}},"logicalName":"contact_provider_reset","displayName":"contact_provider_reset","title":"contact_provider_reset","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_find_company","description":"Find a HubSpot company by domain. Use before hubspot_push_company (dedup) and to get the\ncompany_id needed to push contacts / fetch company properties.","inputSchema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string"}}},"logicalName":"hubspot_find_company","displayName":"hubspot_find_company","title":"hubspot_find_company","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_find_contacts","description":"Find a company by name (case-insensitive token search, may match several) and return its contacts.\nMultiple matches → disambiguation list instead of guessing; show choices, re-call with company_id.\nUse to check existing CRM contacts before Lusha enrichment, or to get contact IDs for email logging.","inputSchema":{"type":"object","required":["company_name"],"properties":{"company_id":{"type":"string","default":""},"company_name":{"type":"string"}}},"logicalName":"hubspot_find_contacts","displayName":"hubspot_find_contacts","title":"hubspot_find_contacts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_push_company","description":"Create/update a HubSpot company (dedup by domain — updates if the domain exists, else creates).\nConfirm first: call hubspot_find_company, show whether it exists + current properties, get explicit\nuser confirmation. Pass firmographics from lusha_company_lookup when available. The returned\ncompany_id feeds hubspot_push_contact.","inputSchema":{"type":"object","required":["company_name","domain"],"properties":{"city":{"type":"string","default":""},"domain":{"type":"string"},"country":{"type":"string","default":""},"category":{"type":"string","default":""},"employees":{"type":"string","default":""},"company_name":{"type":"string"}}},"logicalName":"hubspot_push_company","displayName":"hubspot_push_company","title":"hubspot_push_company","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_push_contact","description":"Create/update a HubSpot contact and associate it to a company (dedup by email — existing email is\nupdated + re-associated). Confirm first: present name/title/email + target company. Push the company\n(hubspot_push_company) before contacts.","inputSchema":{"type":"object","required":["contact","company_id"],"properties":{"contact":{"type":"object","additionalProperties":true},"company_id":{"type":"string"}}},"logicalName":"hubspot_push_contact","displayName":"hubspot_push_contact","title":"hubspot_push_contact","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_get_email_history","description":"Email engagements already logged on a contact's timeline, newest first. Use BEFORE hubspot_log_email\nto avoid duplicate outreach.","inputSchema":{"type":"object","required":["contact_id"],"properties":{"limit":{"type":"integer","default":10},"contact_id":{"type":"string"}}},"logicalName":"hubspot_get_email_history","displayName":"hubspot_get_email_history","title":"hubspot_get_email_history","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_get_history","description":"Read prior communication history for a contact OR company: logged emails, calls, notes,\nmeetings and messages (communications), newest first. Use BEFORE drafting outreach to see\nwhat the contact/account has already received.","inputSchema":{"type":"object","required":["object_type","object_id"],"properties":{"limit":{"type":"integer","default":10},"object_id":{"type":"string"},"object_type":{"type":"string"},"include_body":{"type":"boolean","default":false},"activity_types":{"type":"array","items":{"type":"string"},"default":null}}},"logicalName":"hubspot_get_history","displayName":"hubspot_get_history","title":"hubspot_get_history","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_list_pipelines","description":"List deal pipelines and their stages. Use to discover valid stage names/ids before\ncreating or moving a deal (internal validation helper).","inputSchema":{"type":"object","properties":{}},"logicalName":"hubspot_list_pipelines","displayName":"hubspot_list_pipelines","title":"hubspot_list_pipelines","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_list_deals","description":"List the deals associated with a company, newest-modified first. Pass company_id (from\nhubspot_find_company), or company_name to resolve it first.","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","default":25},"company_id":{"type":"string","default":""},"company_name":{"type":"string","default":""}}},"logicalName":"hubspot_list_deals","displayName":"hubspot_list_deals","title":"hubspot_list_deals","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_get_deal","description":"Read one deal by id, including its associated company/contact ids. Get the deal_id from\nhubspot_list_deals.","inputSchema":{"type":"object","required":["deal_id"],"properties":{"deal_id":{"type":"string"}}},"logicalName":"hubspot_get_deal","displayName":"hubspot_get_deal","title":"hubspot_get_deal","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_list_read","description":"Read a HubSpot list (segment): its metadata and member records. Pass list_id, or `name`\nto resolve it (a multi-match returns a needs_user disambiguation list). Contact lists are\nenriched with name/email/job title; other object lists return record ids only. Read-only.\n(List membership WRITES are not available — the crm.lists.write scope is disabled for the portal.)","inputSchema":{"type":"object","properties":{"name":{"type":"string","default":""},"limit":{"type":"integer","default":50},"list_id":{"type":"string","default":""},"include_members":{"type":"boolean","default":true}}},"logicalName":"hubspot_list_read","displayName":"hubspot_list_read","title":"hubspot_list_read","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_list_tasks","description":"List tasks (to-dos / follow-ups) logged against a contact or company, newest first.","inputSchema":{"type":"object","required":["object_type","object_id"],"properties":{"limit":{"type":"integer","default":25},"object_id":{"type":"string"},"object_type":{"type":"string"}}},"logicalName":"hubspot_list_tasks","displayName":"hubspot_list_tasks","title":"hubspot_list_tasks","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_list_tickets","description":"List support tickets associated with a company or a contact, newest-modified first.\n(Needs the legacy `tickets` scope — returns an ApiError if it is not enabled on the portal.)","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","default":25},"company_id":{"type":"string","default":""},"contact_id":{"type":"string","default":""}}},"logicalName":"hubspot_list_tickets","displayName":"hubspot_list_tickets","title":"hubspot_list_tickets","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"hubspot_get_ticket","description":"Read one support ticket by id, including its associated company/contact ids.","inputSchema":{"type":"object","required":["ticket_id"],"properties":{"ticket_id":{"type":"string"}}},"logicalName":"hubspot_get_ticket","displayName":"hubspot_get_ticket","title":"hubspot_get_ticket","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_job_status","description":"Status of background jobs in sales_automation_processing_tracker (data-fetch runs, Lusha batches).\nDoes NOT track Telescope audits — use audit_poll_status / audit_get_report for those. Use for\nintermediate state (queued/in_progress/failed); for data-fetch COMPLETION query\nsales_automation_complete_results directly (see data_fetch_trigger).","inputSchema":{"type":"object","properties":{"country_iso2":{"type":"string","default":""},"category_code":{"type":"integer","default":0},"include_completed":{"type":"boolean","default":false}}},"logicalName":"get_job_status","displayName":"get_job_status","title":"get_job_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"audit_list_reports","description":"List Apple Ads audit reports in audit_asa_reports, split into fresh (≤10 days) and stale.\nUse for \"which apps have audits\", \"list all audits\", \"do we have an audit for X\".","inputSchema":{"type":"object","properties":{"name_filter":{"type":"string","default":""},"include_stale_days":{"type":"integer","default":0}}},"logicalName":"audit_list_reports","displayName":"audit_list_reports","title":"audit_list_reports","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"audit_get_report","description":"Get the most recent audit for an app. Audit data ALWAYS comes from the Telescope API path\n(durable local store → in-memory last result → disk cache, 7-day TTL); audit_asa_reports is\nONLY a presence/freshness signal, never the source of report data.","inputSchema":{"type":"object","required":["app_id"],"properties":{"app_id":{"type":"string"},"include_raw":{"type":"boolean","default":false},"region_prefix":{"type":"string","default":""}}},"logicalName":"audit_get_report","displayName":"audit_get_report","title":"audit_get_report","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"audit_trigger","description":"Trigger a new Telescope Apple Ads audit (PAID; usually completes within a minute). LibreChat shows\na confirm dialog — call only after explicit user confirmation. Check audit_get_report first; if a\nfresh report exists, don't re-trigger.","inputSchema":{"type":"object","required":["app_id","app_name","region_prefix"],"properties":{"app_id":{"type":"string"},"app_name":{"type":"string"},"region_prefix":{"type":"string"}}},"logicalName":"audit_trigger","displayName":"audit_trigger","title":"audit_trigger","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"audit_poll_status","description":"Poll an in-progress audit. Call every ~15 s after audit_trigger returns \"in_progress\"; stop on\n\"completed\" or \"failed\".","inputSchema":{"type":"object","required":["app_id"],"properties":{"app_id":{"type":"string"},"region_prefix":{"type":"string","default":""}}},"logicalName":"audit_poll_status","displayName":"audit_poll_status","title":"audit_poll_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"audit_get_app_lists","description":"App list for a region + category from sales_automation_complete_results. Use BEFORE audit_trigger\nto show which competitors the audit will benchmark (doing_asa=True, exclude_app_id=target), or to\nfind non-ASA prospects in a category (doing_asa=False — the primary cold-outreach target).","inputSchema":{"type":"object","required":["region_prefix","category","doing_asa"],"properties":{"limit":{"type":"integer","default":10},"category":{"type":"string"},"doing_asa":{"type":"boolean"},"region_prefix":{"type":"string"},"exclude_app_id":{"type":"string","default":""}}},"logicalName":"audit_get_app_lists","displayName":"audit_get_app_lists","title":"audit_get_app_lists","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_app_competitors","description":"An app's GENUINE competitors — apps actually doing the SAME business — found by WEB RESEARCH and\ncross-referenced against the apps in our DB. It web-searches the target's real-world competitors,\nmatches those names to DB apps region-wide, and has an LLM keep only the true peers\n(Snabbit → Urban Company), dropping apps that merely share a coarse App Store category\n(Snabbit → dating / astrology). The list may be EMPTY when no DB app genuinely competes.\naudit_trigger uses this SAME logic to pick it","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","default":5},"app_id":{"type":"string","default":""},"app_name":{"type":"string","default":""},"only_asa":{"type":"boolean","default":false},"region_prefix":{"type":"string","default":""}}},"logicalName":"get_app_competitors","displayName":"get_app_competitors","title":"get_app_competitors","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"show_newton_clients","description":"List every app that has EVER run Apple Search Ads under Newton, i.e. Newton's ASA clients\n(current or past). Sourced from ClickHouse newton_prod: asa_campaigns_summary (ground truth\nfor \"ever ran ASA\", keyed by app + country) LEFT JOINed to newton_asa_app_summary (app_name +\nstatus). One row per (app_id, country) — the same app can appear multiple times if it has run\nASA in several countries. status reflects whether Newton's account for that app is currently\nactive in ANY onboarded advertiser or","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","default":200},"country":{"type":"string","default":""},"name_filter":{"type":"string","default":""}}},"logicalName":"show_newton_clients","displayName":"show_newton_clients","title":"show_newton_clients","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"triage_app","description":"Write a triage decision to sales_automation_user_app_actions — the only write path for\nshortlist/ignore (execute_sql is SELECT-only). Read current triage state via execute_sql\nfirst.","inputSchema":{"type":"object","required":["app_id","action"],"properties":{"notes":{"type":"string","default":""},"action":{"type":"string"},"app_id":{"type":"string"}}},"logicalName":"triage_app","displayName":"triage_app","title":"triage_app","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"update_pipeline_status","description":"Record an app's progress through the non-triage stages in sales_automation_user_app_actions\n(triage_app writes triage_status only). Only the non-empty columns you pass are written; the rest\nare untouched. Non-destructive — no confirmation needed. Stamp after each stage: enrichment_status=\n\"enriched\" after enriching, audit_status=\"ready\" after an audit, outreach_status after drafting/\npushing/logging.","inputSchema":{"type":"object","required":["app_id"],"properties":{"notes":{"type":"string","default":""},"app_id":{"type":"string"},"audit_status":{"type":"string","default":""},"outreach_status":{"type":"string","default":""},"enrichment_status":{"type":"string","default":""}}},"logicalName":"update_pipeline_status","displayName":"update_pipeline_status","title":"update_pipeline_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"triage_apps_batch","description":"Apply many triage decisions at once instead of N× triage_app — for shortlisting/ignoring a whole\ndiscovery list. Confirm once for any batch that ignores apps (\"Ignore N apps?\"); shortlisting needs\nno confirmation. Per-item failures (bad action, unknown app, guard block) are reported in `results`\nwithout aborting the batch.","inputSchema":{"type":"object","required":["decisions"],"properties":{"decisions":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"logicalName":"triage_apps_batch","displayName":"triage_apps_batch","title":"triage_apps_batch","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_email_context","description":"Fetch all DB context to draft a personalized Apple Search Ads outreach email; you then write the\nemail from it. Provide company_name OR app_id (both = most precise). Use on \"draft/write an outreach\nemail for X\".","inputSchema":{"type":"object","properties":{"app_id":{"type":"string","default":""},"company_name":{"type":"string","default":""},"region_prefix":{"type":"string","default":""}}},"logicalName":"get_email_context","displayName":"get_email_context","title":"get_email_context","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"record_accepted_email","description":"Save a finalized outreach email as a personal writing-style sample, so future drafts for\nthis rep sound more like it. ONLY call this after asking the rep and getting explicit\nagreement — never call it automatically just because an email was finalized.","inputSchema":{"type":"object","required":["subject","body"],"properties":{"body":{"type":"string"},"app_id":{"type":"string","default":""},"subject":{"type":"string"},"company_name":{"type":"string","default":""},"original_draft":{"type":"string","default":""}}},"logicalName":"record_accepted_email","displayName":"record_accepted_email","title":"record_accepted_email","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_asa_competitive_scorecard","description":"Fetch the ASA competitive scorecard for an app — without drafting an email. Use for\n\"compare X vs competitors\", \"what's X's ASA competitive position\", or any query that\nneeds the keyword SOV / competitor data without an email. Provide company_name OR app_id.","inputSchema":{"type":"object","properties":{"app_id":{"type":"string","default":""},"company_name":{"type":"string","default":""},"region_prefix":{"type":"string","default":""}}},"logicalName":"get_asa_competitive_scorecard","displayName":"get_asa_competitive_scorecard","title":"get_asa_competitive_scorecard","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"email_style_set","description":"Configure your personal email writing style: set/replace your style instruction, and/or add\nreference emails from your own history so future drafts sound like you instead of the house\ntemplate. Call this when the user says things like \"write emails more like I do\", \"here's how\nI write emails: ...\", or pastes in one or more of their own past emails to learn from.","inputSchema":{"type":"object","properties":{"samples":{"type":"array","items":{"type":"string"},"default":null},"instruction":{"type":"string","default":""}}},"logicalName":"email_style_set","displayName":"email_style_set","title":"email_style_set","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"email_style_show","description":"Show your current email writing style: your instruction (if any) and both lists of stored\nreference emails, rendered as a panel. Call this when the user asks to see, review, or check\nwhat writing style / samples they have saved, or right before a selective\nemail_style_reset (so removal numbers match what's actually stored right now).","inputSchema":{"type":"object","properties":{}},"logicalName":"email_style_show","displayName":"email_style_show","title":"email_style_show","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"email_style_reset","description":"Clear some or all of your saved email writing style, falling back to the house default\nsamples for whatever is cleared. Call this when the user wants to remove their style\ninstruction, remove some/all reference emails, or start over.","inputSchema":{"type":"object","required":["scope"],"properties":{"scope":{"type":"string"},"numbers":{"type":"array","items":{"type":"integer"},"default":null}}},"logicalName":"email_style_reset","displayName":"email_style_reset","title":"email_style_reset","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_pipeline_overview","description":"One-call \"where are we with company X?\" — collapses 3–4 SQL queries + a HubSpot lookup into one\npipeline snapshot. Name is fuzzy-resolved first.","inputSchema":{"type":"object","required":["company_name"],"properties":{"company_name":{"type":"string"}}},"logicalName":"get_pipeline_overview","displayName":"get_pipeline_overview","title":"get_pipeline_overview","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"web_search","description":"DuckDuckGo web search. Use for the email-drafting research step (see get_email_context's\nweb_research_instructions) to find a timely news hook (funding, launches, expansions, UA hiring).","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"max_results":{"type":"integer","default":5}}},"logicalName":"web_search","displayName":"web_search","title":"web_search","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"usage_get_my_quota","description":"Return the current rep's quota usage for ALL metered services across day/week/month/minute.\nEvery configured service appears even when never used (used=0); no service is silently omitted.\nShows used, reserved, effective (used+reserved), limit, overage allowance, remaining, and % of cap.\nUse this to answer \"how much Lusha do I have left?\", \"what are my HubSpot limits?\", or\n\"what's my SQL/LLM/web-search quota?\".\nNOTE: 'lusha' shows the per-user internal credit quota enforced by this system. The ex","inputSchema":{"type":"object","properties":{}},"logicalName":"usage_get_my_quota","displayName":"usage_get_my_quota","title":"usage_get_my_quota","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"usage_get_report","description":"Admin-only: usage report for one user or all users across all active periods.\nArgs:\n  target_user_id: the rep to report on — either their opaque user_id OR their email\n                   (an email is resolved to user_id via the identity directory before\n                   filtering, since sales_automation_usage_counters is user_id-keyed);\n                   blank = all users (excluding '@org' sentinel).\n  period: \"day\", \"week\", \"month\", \"hour\", or \"all\" (default \"all\" — returns every period","inputSchema":{"type":"object","properties":{"period":{"type":"string","default":"all"},"target_user_id":{"type":"string","default":""}}},"logicalName":"usage_get_report","displayName":"usage_get_report","title":"usage_get_report","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"usage_get_efficiency_report","description":"Admin-only: QTA-16 efficiency / value / security report for the current calendar month.\nReturns normalized $ spend per user, service health (ok/error rates + avg latency),\nsecurity counters (impersonation attempts, quota denials, replay collisions),\ntop 10 conversations by spend, and Lusha dedup savings.\nRequires the 'admin' role in sales_automation_user_roles (ADMIN_EMAILS env is a bootstrap fallback).","inputSchema":{"type":"object","properties":{}},"logicalName":"usage_get_efficiency_report","displayName":"usage_get_efficiency_report","title":"usage_get_efficiency_report","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"usage_flush_metrics","description":"Admin-only: flush an atomic snapshot of all counters + QTA-16 rollups to usage_metrics.jsonl\n(QTA-17). Run usage_dashboard.py after this to render the file into a tracker PNG.\nReturns the path written and the snapshot timestamp.\nRequires the 'admin' role in sales_automation_user_roles (ADMIN_EMAILS env is a bootstrap fallback).","inputSchema":{"type":"object","properties":{}},"logicalName":"usage_flush_metrics","displayName":"usage_flush_metrics","title":"usage_flush_metrics","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"usage_purge_old_data","description":"Admin-only: Purge old usage data per the QTA-19 retention policy. This also runs\nautomatically on a schedule (QUOTA_PURGE_INTERVAL_SECONDS, default daily) unless\nQUOTA_PURGE_ENABLED=false; this tool is for on-demand / dry-run inspection.\nDefault is dry_run=True — set dry_run=False to actually delete.\nPolicy (all windows env-configurable):\n  - usage_events older than QUOTA_LEDGER_RETAIN_MONTHS (default 13) rolled into a\n    monthly archive, then deleted.\n  - Settled/released/expired reservations","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","default":true},"ledger_retain_months":{"type":"integer","default":0}}},"logicalName":"usage_purge_old_data","displayName":"usage_purge_old_data","title":"usage_purge_old_data","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"usage_top_consumers","description":"Admin-only: top N reps ranked by total units used across all metered services for the current period.\nArgs:\n  period: \"day\", \"week\", or \"month\" (default \"month\").\n  top_n: number of top consumers to return (1–50, default 10).\nReturns: {\"period\", \"rows\": [{user_id, total_used, by_service: [{service, unit, used}]}]}\nRequires the 'admin' role in sales_automation_user_roles (ADMIN_EMAILS env is a bootstrap fallback).","inputSchema":{"type":"object","properties":{"top_n":{"type":"integer","default":10},"period":{"type":"string","default":"month"}}},"logicalName":"usage_top_consumers","displayName":"usage_top_consumers","title":"usage_top_consumers","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"show_usage_dashboard","description":"Admin-only: render the usage dashboard inside LibreChat as a static data page.","inputSchema":{"type":"object","properties":{"days":{"type":"integer","default":30},"scope":{"type":"string","default":"org"},"to_date":{"type":"string","default":""},"from_date":{"type":"string","default":""},"granularity":{"type":"string","default":"day"}}},"logicalName":"show_usage_dashboard","displayName":"show_usage_dashboard","title":"show_usage_dashboard","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"admin_quota_get","description":"Admin-only. Returns raw quota policy rows from sales_automation_quota_policy.","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","default":""}}},"logicalName":"admin_quota_get","displayName":"admin_quota_get","title":"admin_quota_get","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"admin_quota_set","description":"Admin-only. Upserts or deletes a single row in sales_automation_quota_policy.","inputSchema":{"type":"object","required":["scope","service","period_type"],"properties":{"unit":{"type":"string","default":""},"scope":{"type":"string"},"action":{"type":"string","default":"upsert"},"enabled":{"type":"boolean","default":true},"service":{"type":"string"},"limit_units":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"period_type":{"type":"string"},"overage_units":{"type":"integer","default":0}}},"logicalName":"admin_quota_set","displayName":"admin_quota_set","title":"admin_quota_set","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"admin_grants_get","description":"Admin-only. Returns all sales_automation_user_region_grants rows for a given user.","inputSchema":{"type":"object","properties":{"user_email":{"type":"string","default":""}}},"logicalName":"admin_grants_get","displayName":"admin_grants_get","title":"admin_grants_get","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"admin_grants_set","description":"Admin-only. Inserts or deletes a single row in sales_automation_user_region_grants.","inputSchema":{"type":"object","required":["action","user_email"],"properties":{"deny":{"type":"boolean","default":false},"note":{"type":"string","default":""},"action":{"type":"string"},"row_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"app_name":{"type":"string","default":""},"category":{"type":"string","default":""},"user_email":{"type":"string"},"no_baseline":{"type":"boolean","default":false},"region_prefix":{"type":"string","default":""}}},"logicalName":"admin_grants_set","displayName":"admin_grants_set","title":"admin_grants_set","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"admin_gmail_grant_health","description":"Admin-only. Health summary of sales_automation_gmail_oauth_grant (per-rep Gmail OAuth\ngrants for GMAIL_SENDER_MODE=oauth_grant).","inputSchema":{"type":"object","properties":{"stale_refresh_days":{"type":"integer","default":14},"revoked_lookback_days":{"type":"integer","default":30}}},"logicalName":"admin_gmail_grant_health","displayName":"admin_gmail_grant_health","title":"admin_gmail_grant_health","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_how_to_guide","description":"Return the complete how-to / capabilities guide for this assistant as a ready-to-render UI panel.","inputSchema":{"type":"object","properties":{}},"logicalName":"get_how_to_guide","displayName":"get_how_to_guide","title":"get_how_to_guide","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"analyze_query","description":"Classify a natural-language DATA request and return a clarification / column-priority plan.\nCall this FIRST — before composing or running any SQL — whenever the rep asks for apps,\nadvertisers, prospects, or a ranking (\"best/easiest/top/most likely to convert\").","inputSchema":{"type":"object","required":["request"],"properties":{"request":{"type":"string"}}},"logicalName":"analyze_query","displayName":"analyze_query","title":"analyze_query","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"build_provenance_report","description":"Audit the claims in a drafted outreach email and strip any that cannot be justified.\nCall this AFTER drafting an email and BEFORE showing it to the rep.","inputSchema":{"type":"object","required":["draft_subject","draft_body"],"properties":{"app_id":{"type":"string","default":""},"draft_body":{"type":"string"},"web_results":{"anyOf":[{"type":"array","items":{"type":"object","additionalProperties":true}},{"type":"null"}],"default":null},"company_name":{"type":"string","default":""},"draft_subject":{"type":"string"},"region_prefix":{"type":"string","default":""}}},"logicalName":"build_provenance_report","displayName":"build_provenance_report","title":"build_provenance_report","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_send","description":"Send an email on behalf of the logged-in rep. Two-step: PREVIEW then SEND.","inputSchema":{"type":"object","required":["to","subject","body"],"properties":{"cc":{"type":"string","default":""},"to":{"type":"string"},"bcc":{"type":"string","default":""},"body":{"type":"string"},"app_id":{"type":"string","default":""},"confirm":{"type":"boolean","default":false},"subject":{"type":"string"},"app_name":{"type":"string","default":""},"reply_to":{"type":"string","default":""},"company_id":{"type":"string","default":""},"contact_id":{"type":"string","default":""},"thread_key":{"type":"string","default":""},"attachments":{"type":"string","default":""},"company_name":{"type":"string","default":""},"guard_decision":{"type":"string","default":""},"thread_decision":{"type":"string","default":""}}},"logicalName":"gmail_send","displayName":"gmail_send","title":"gmail_send","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_send_batch","description":"Send N personalised emails — ONE per recipient (batch-individual). Two-step, exactly like\ngmail_send: PREVIEW (confirm=false) then SEND (confirm=true).","inputSchema":{"type":"object","required":["recipients"],"properties":{"confirm":{"type":"boolean","default":false},"recipients":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"logicalName":"gmail_send_batch","displayName":"gmail_send_batch","title":"gmail_send_batch","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_prepare_upload","description":"Get a link the rep can open in their browser to attach a real file to an email.","inputSchema":{"type":"object","properties":{}},"logicalName":"gmail_prepare_upload","displayName":"gmail_prepare_upload","title":"gmail_prepare_upload","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_check_pending_upload","description":"Poll for file(s) the rep uploaded via the gmail_prepare_upload link — no token paste-back\nneeded. Call this right after showing the rep the upload link, and again every time the rep\nsays they're done (or on a short retry loop), until it returns status=\"ready\". The rep may\nrevisit the SAME link multiple times (e.g. to add a file they forgot) before confirming the\nsend — re-call this tool to pick up anything newly added.","inputSchema":{"type":"object","required":["link_token"],"properties":{"link_token":{"type":"string"}}},"logicalName":"gmail_check_pending_upload","displayName":"gmail_check_pending_upload","title":"gmail_check_pending_upload","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_discard_pending_upload","description":"Drop one or all of the file(s) the rep uploaded via a gmail_prepare_upload link, BEFORE\nsending — e.g. the rep picked the wrong file, or wants to start over. Never touches a file\nonce it has already been attached and sent (gmail_send deletes its own tokens after sending;\nthis tool only ever acts on files still sitting in the pending-upload state).","inputSchema":{"type":"object","required":["link_token"],"properties":{"ref":{"type":"string","default":""},"link_token":{"type":"string"}}},"logicalName":"gmail_discard_pending_upload","displayName":"gmail_discard_pending_upload","title":"gmail_discard_pending_upload","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_connect","description":"Connect your Gmail account once so gmail_send / future read tools can use it without a\nfresh Google sign-in every time.","inputSchema":{"type":"object","properties":{}},"logicalName":"gmail_connect","displayName":"gmail_connect","title":"gmail_connect","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_connection_status","description":"Pre-flight check: is the CALLER's own Gmail OAuth grant currently connected and valid?","inputSchema":{"type":"object","properties":{}},"logicalName":"gmail_connection_status","displayName":"gmail_connection_status","title":"gmail_connection_status","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_disconnect","description":"Disconnect your Gmail account. Revokes access at Google AND removes the locally stored\ngrant. After this, gmail_send / read tools will ask you to gmail_connect() again.","inputSchema":{"type":"object","properties":{}},"logicalName":"gmail_disconnect","displayName":"gmail_disconnect","title":"gmail_disconnect","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_admin_revoke_grant","description":"Admin-only: forcibly revoke another rep's Gmail OAuth grant (e.g. when they are offboarded).\nRevokes at Google AND removes the local grant, same as gmail_disconnect but for someone\nelse's account. Refuses if the calling session does not hold the 'admin' role.","inputSchema":{"type":"object","required":["target_user_id"],"properties":{"target_user_id":{"type":"string"}}},"logicalName":"gmail_admin_revoke_grant","displayName":"gmail_admin_revoke_grant","title":"gmail_admin_revoke_grant","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_read_inbox","description":"Admin-only. Read YOUR OWN Gmail inbox (the mailbox you connected via gmail_connect()) — list\nrecent messages, optionally filtered by a Gmail search query.","inputSchema":{"type":"object","properties":{"query":{"type":"string","default":""},"since_days":{"type":"integer","default":0},"max_results":{"type":"integer","default":20}}},"logicalName":"gmail_read_inbox","displayName":"gmail_read_inbox","title":"gmail_read_inbox","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_check_replies","description":"Check for replies to the emails YOU (the logged-in rep) sent.","inputSchema":{"type":"object","properties":{"since_days":{"type":"integer","default":0}}},"logicalName":"gmail_check_replies","displayName":"gmail_check_replies","title":"gmail_check_replies","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_conversations","description":"Overview of YOUR email conversations — one row per lead you've emailed from the shared mailbox.","inputSchema":{"type":"object","properties":{"since_days":{"type":"integer","default":0},"status_filter":{"type":"string","default":""}}},"logicalName":"gmail_conversations","displayName":"gmail_conversations","title":"gmail_conversations","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"gmail_render_thread","description":"Open ONE of your email conversations as a WhatsApp-style chat stream.","inputSchema":{"type":"object","required":["thread_key"],"properties":{"thread_key":{"type":"string"}}},"logicalName":"gmail_render_thread","displayName":"gmail_render_thread","title":"gmail_render_thread","annotations":{"untrustedContentHint":true,"readOnlyHint":true}}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=NewtonAI---Homepage&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3AubmV3dG9uY28uYWkvbWNwIn0%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22NewtonAI---Homepage%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.newtonco.ai%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22NewtonAI---Homepage%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.newtonco.ai%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=NewtonAI+-+Homepage&connectorUrl=https%3A%2F%2Fmcp.newtonco.ai%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"NewtonAI---Homepage\" --url \"https://mcp.newtonco.ai/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/newtonco-mcp-f5410514e3","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/newtonco-mcp-f5410514e3/tools/{tool}","mcpServerUrl":"https://mcp.newtonco.ai/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/newtonco-mcp-f5410514e3?live=1"}