OpsDoctor

v2.1.0
io.github.jhicks935-lab/opsdoctor Checked 1 day ago Published 2 months ago

AI-powered CRM diagnostics, workflow audits, and industry benchmarks for SMBs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

run_diagnostic

Diagnose a CRM or operational issue using AI. Provide the CRM name, symptoms, and optionally industry and company context. When an industry is specified, the diagnostic incorporates industry-specific knowledge (common systems, red flags, technology stack). Returns root causes, step-by-step fixes, verification steps, and prevention tips.

ParameterTypeDescription
crm_name *stringName of the CRM system (e.g. HubSpot, Salesforce, Zoho, Go High Level, Dubsado)
symptoms *stringDescription of the issue or symptoms being experienced
client_namestringOptional: client or company name for audit history tracking
company_contextstringOptional: company size, team structure, or other relevant context
industrystringOptional: industry vertical for context-aware diagnostics

run_workflow_audit

Audit an operational workflow. Supports 4 modes: "quick" (default) — single-pass AI audit returning score and recommendations. "intake" — returns 7 structured discovery questions to gather detailed workflow information (no AI call). "assess" — processes intake answers through AI for dimensional scoring. "followup" — deep-dive second pass incorporating follow-up answers.

ParameterTypeDescription
workflow_description *stringDescription of the workflow or process to audit
client_namestringOptional: client or company name for audit history tracking
followup_answersstringRequired when mode is "followup". Answers to the follow-up questions from the assess stage.
industrystringIndustry (e.g. real-estate, insurance, legal, dental, home-services, production, streaming-entertainment)
intake_answersobjectRequired when mode is "assess" or "followup". The 7 intake answers.
modestringAudit mode. "quick" (default): single-pass audit. "intake": returns structured intake questions. "assess": dimensional scoring from intake answers. "followup": deep-dive from follow-up answers.
previous_scoresobjectRequired when mode is "followup". Dimension scores from the assess stage.
team_sizestringApproximate team size (e.g. '3 people', '20 employees')

query_knowledge_base

Look up discovery questions, green/red flag guides, conversation scripts, technology stack references, data governance guidance, and vendor management entries from the OpsDoctor knowledge base. Supports filtering by industry vertical and category. No AI call — instant keyword search over embedded content.

ParameterTypeDescription
query *stringWhat you want to look up (e.g. 'discovery questions for CRM migration', 'lead management red flags', 'insurance renewal pipeline')
categorystringFilter by category. Omit or use 'all' to search across all categories.
industrystringFilter by industry vertical. Omit or use 'all' to search across all industries.

get_audit_history

Retrieve past diagnostic and audit results. Filter by client name, result type, or limit. Returns structured history entries with IDs that can be used with generate_report to produce branded PDFs.

ParameterTypeDescription
client_namestringFilter by client name (case-insensitive partial match)
limitnumberMaximum results to return (default: 10, most recent first)
typestringFilter by result type. Default: "all"

generate_report

Generate a branded PDF report from a diagnostic or audit result. Provide an audit_id to load from history, or pass inline result data. Saves the PDF to disk and returns the file path.

ParameterTypeDescription
audit_idstringID of a history entry (from get_audit_history). Mutually exclusive with inline data.
client_namestringOptional: client name for the report filename.
report_datastringJSON string of the structured result. Required if audit_id is not provided.
report_typestringRequired if providing inline data. "diagnostic" or "audit".

guided_audit

Run a guided workflow audit through a structured multi-stage discovery process. Stages: "start" returns intake questions, "assess" scores the workflow, "followup" does a deep-dive, "complete" persists the final result. Each stage returns instructions for the next.

ParameterTypeDescription
stage *stringCurrent stage of the guided audit.
workflow_description *stringDescription of the workflow being audited (carry forward through all stages)
client_namestringClient or company name for history tracking
followup_answersstringRequired for followup and complete stages. Answers to follow-up questions.
industrystringIndustry vertical (e.g. insurance, dental, real-estate)
intake_answersobjectRequired for assess, followup, and complete stages
previous_scoresobjectRequired for followup and complete stages. Scores from the assess stage.
team_sizestringApproximate team size