margin_doctor
ActiveTool of gapup-mcp
Marge par deal — Gapup agent-payable C-suite expertise (CRO). Returns a structured, audited deliverable. Reference case: Gapup Hub — 8 deals pipeline · €28k ARR sous-marge détecté · Récupération €4.2k/an · Playbook 4 scénarios. Inputs are validated server-side — send the documented case fields.
Parameters schema
{
"type": "object",
"required": [
"company",
"product",
"deals"
],
"properties": {
"async": {
"type": "boolean",
"description": "If true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client timeouts."
},
"deals": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"arrEur",
"discountPct"
],
"properties": {
"id": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 2
},
"arrEur": {
"type": "number",
"minimum": 0
},
"cogsEur": {
"type": "number",
"minimum": 0
},
"urgency": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
"closingDate": {
"type": "string"
},
"competitors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 3,
"minItems": 0
},
"discountPct": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"maxItems": 15,
"minItems": 2
},
"company": {
"type": "object",
"required": [
"name",
"sector"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 2
},
"sector": {
"type": "string",
"maxLength": 100,
"minLength": 2
}
}
},
"product": {
"type": "object",
"required": [
"name",
"targetGrossMarginPct"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 2
},
"targetGrossMarginPct": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
}
},
"additionalProperties": true
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
gapup-mcp
https://github.com/getgapup/gapup-mcp-public
2/7 registries