mcpDeterministic

Save onboarding context

tools/call

Validate and deterministically persist a coding-agent-authored onboarding artifact into the GTM context, default ICP, personas, offerings, case studies, and competitors after the operator reviews and confirms it. Read it back with get-gtm-context and stop unless the operator requests campaign work. This tool uses no hosted inference.

Parameters

workspaceIdrequired
string
No description.
expectedUpdatedAt
string
Compare with the workspace timestamp read before review to prevent overwriting newer edits.
idempotencyKey
string
Reuse for a retry of the same confirmed context save.
artifactrequired
object
No description.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "save-onboarding-context",
"arguments": {
"workspaceId": "00000000-0000-4000-8000-000000000000",
"artifact": {
"companyName": "example",
"serviceDescription": "example",
"icpSummary": "example",
"companyEvidence": {
"origin": "public_source",
"sourceUrls": [
"https://www.linkedin.com/sales/lists/people/1"
]
},
"icpEvidence": {
"origin": "public_source",
"sourceUrls": [
"https://www.linkedin.com/sales/lists/people/1"
]
},
"targetTitles": [
"example"
],
"targetIndustries": [
"example"
]
}
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"saved": {
"type": "boolean"
},
"workspaceId": {
"type": "string"
},
"counts": {
"type": "object",
"properties": {
"personas": {
"type": "number"
},
"offerings": {
"type": "number"
},
"caseStudies": {
"type": "number"
},
"competitors": {
"type": "number"
},
"offerIdeas": {
"type": "number"
},
"leadMagnetIdeas": {
"type": "number"
},
"candidateSegments": {
"type": "number"
}
},
"required": [
"personas",
"offerings",
"caseStudies",
"competitors"
]
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"saved",
"workspaceId",
"counts"
]
}

JSON-RPC errors

-32602
Invalid parameters. Field-level details are returned in the JSON-RPC error data.
-32001
Authentication or hosted AI consent is required.
-32003
Workspace access is denied.
-32029
The request was rate limited.
Pipeline MCP documentation | Pipeline