{"protocolVersion":"0.3.0","name":"Sales as Code","description":"Read accounts, briefs, deal predictions, forecasts and signals from a sales team's brain. These skills only read: nothing here writes, sends, enriches or spends. Reach them over MCP (JSON-RPC 2.0 over HTTP) at url with a bearer key or OAuth token.","url":"https://salesascode.com/api/v1/mcp/readonly","preferredTransport":"JSONRPC","provider":{"organization":"Sales as Code","url":"https://salesascode.com"},"version":"1","documentationUrl":"https://salesascode.com/llms.txt","capabilities":{"streaming":false,"pushNotifications":false},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"An sak_ API key, or an OAuth token from the protected resource metadata."}},"security":[{"bearer":[]}],"defaultInputModes":["application/json"],"defaultOutputModes":["application/json"],"skills":[{"id":"read_account","name":"Read an account","description":"Read an account record.","tags":["read-only"],"examples":["{\"tool\":\"read_account\"}"]},{"id":"pull_brief","name":"Pull the activity brief","description":"Pull a structured summary of recent activity (captures, meetings, open plan sections) for the user.","tags":["read-only"],"examples":["{\"tool\":\"pull_brief\"}"]},{"id":"gtm_score","name":"Score an account or deal","description":"Score a subject with the shared scoring substrate.","tags":["read-only"],"examples":["{\"tool\":\"gtm_score\"}"]},{"id":"gtm_signal_query","name":"Read an account's signals and scores","description":"Read the stored signals and any recorded scores for an account, so an agent can see the current state before acting.","tags":["read-only"],"examples":["{\"tool\":\"gtm_signal_query\"}"]},{"id":"verify_session","name":"Verify the session","description":"Verify the licensed Sales as Code session.","tags":["read-only"],"examples":["{\"tool\":\"verify_session\"}"]},{"id":"check_entitlement","name":"Check a plugin entitlement","description":"Check whether this account is licensed for a named plugin.","tags":["read-only"],"examples":["{\"tool\":\"check_entitlement\"}"]},{"id":"pull_config","name":"Pull account config","description":"Pull current account config and feature flags.","tags":["read-only"],"examples":["{\"tool\":\"pull_config\"}"]},{"id":"studio_list_drafts","name":"List studio drafts","description":"List the content studio draft queue for this account, newest first.","tags":["read-only"],"examples":["{\"tool\":\"studio_list_drafts\"}"]},{"id":"team_rollup","name":"Team run rollup","description":"Team-wide run rollup for a team OWNER (leadercron): per-member runs/actions/rank, per-plugin totals, week-over-week, and outcome counts across the team, inside a trailing window (default 30 days).","tags":["read-only"],"examples":["{\"tool\":\"team_rollup\"}"]},{"id":"team_member_summary","name":"Team member run summary","description":"One member's run summary for a team OWNER (leadercron 1:1 prep): per-plugin run counts and the most recent runs (plugin, skill, status, outcome counts, account label) inside the window.","tags":["read-only"],"examples":["{\"tool\":\"team_member_summary\"}"]},{"id":"get_people_views","name":"Get the per-person views setting","description":"Whether this org shows views that rank or track named reps (outcome trait lift ranking, team inspection rows, coaching scorecards, forecast accuracy per rep, team_rollup members).","tags":["read-only"],"examples":["{\"tool\":\"get_people_views\"}"]},{"id":"answer_about_account","name":"Answer a question about an account","description":"Answer a question about one account from what this organization has established, with the facts it rests on and who established each.","tags":["read-only"],"examples":["{\"tool\":\"answer_about_account\"}"]},{"id":"predict_deal","name":"Predict a deal","description":"Predict whether an open deal closes won this quarter and eventually, from the stage history of this account history pooled toward an anonymized cohort prior.","tags":["read-only"],"examples":["{\"tool\":\"predict_deal\"}"]},{"id":"simulate_quarter","name":"Simulate the quarter","description":"Simulate bookings for this quarter (p10, p50, p90) over the open pipeline and new pipeline, with optional levers: slip [{oppId, days}], addExec [{oppId}], icp {volume, winRate}, hire {reps, rampDays},","tags":["read-only"],"examples":["{\"tool\":\"simulate_quarter\"}"]},{"id":"explain_prediction","name":"Explain a deal prediction","description":"Explain why the model gives one open deal its odds: the drivers (the signals that moved its odds most, in points, correlational), what the model can see of the deal (coverage; thin coverage means do n","tags":["read-only"],"examples":["{\"tool\":\"explain_prediction\"}"]},{"id":"whatif_deal","name":"Try a change on a deal","description":"Try one change on one open deal and see its effect: add an executive (addExec), slip it some weeks (slipWeeks, 1 to 26), or discount it (discountPct, 1 to 50).","tags":["read-only"],"examples":["{\"tool\":\"whatif_deal\"}"]},{"id":"cost_per_outcome","name":"AI cost per outcome","description":"What the AI behind this account cost per forecast and per won deal over a window (days, 1 to 365, default 90): the whole AI spend in the window in cents (ours, run on Sales as Code, and byok, run on t","tags":["read-only"],"examples":["{\"tool\":\"cost_per_outcome\"}"]},{"id":"check_deal_brief","name":"Check a deal brief","description":"Check a deal brief against the CRM record of the deal: every amount, percent, date and count must cite the record field it came from as [source:opp.<field>] in the same sentence, and that field must h","tags":["read-only"],"examples":["{\"tool\":\"check_deal_brief\"}"]},{"id":"investor_update_forecast","name":"Investor update forecast","description":"The forecast and pipeline section of an investor update for one month (month, YYYY-MM, default the last full month): open deals and amount at the start and end of the month and the change, new, won an","tags":["read-only"],"examples":["{\"tool\":\"investor_update_forecast\"}"]},{"id":"crm_read","name":"Read CRM records","description":"Which of HubSpot, Salesforce, Attio and Salesloft this account has connected (connected, not_connected, or switching_on while this site's app for that vendor is not registered yet), and, with provider","tags":["read-only"],"examples":["{\"tool\":\"crm_read\"}"]},{"id":"published_grades","name":"Published forecast grades","description":"The last pooled forecast grade Sales as Code published to AI Source of Truth: how often the forecast was right (right of total graded deals over 90 days, from the orgs that opted in), its week, period","tags":["read-only"],"examples":["{\"tool\":\"published_grades\"}"]},{"id":"list_sessions","name":"List your sessions","description":"List the signed-in sessions of the person you act for here: a short hash of each session (never the session itself), when it started and ends, the browser it came from, and whether it is a PromptRepor","tags":["read-only"],"examples":["{\"tool\":\"list_sessions\"}"]},{"id":"get_deal","name":"Get one deal by its family id","description":"Read one of your deals by its family id (deal_ and a 26 character ULID), the id CommitOps promises, family statements and open_family_object carry: its name, stage, open, won or lost, amount, close da","tags":["read-only"],"examples":["{\"tool\":\"get_deal\"}"]},{"id":"get_snapshot","name":"Get the org snapshot","description":"Read the snapshot of the org your token names, in family-snapshot/v1, for the PromptReports hub home: open deals, open deals set to close within thirty days, the date of the last CRM sync, and open de","tags":["read-only"],"examples":["{\"tool\":\"get_snapshot\"}"]}],"signatures":[{"protected":"eyJhbGciOiJFZERTQSIsInR5cCI6IkpPU0UiLCJraWQiOiI5ZW1hWFJ3WXp3ZVltb3ZFSy1wcFkyczZUS1E5VHdNdmM1dkNBcjZld25ZIiwiamt1IjoiaHR0cHM6Ly9zYWxlc2FzY29kZS5jb20vLndlbGwta25vd24vYWdlbnQtY2FyZC1rZXlzLmpzb24ifQ","signature":"N5OUwUjQrvt0sFbGy68EH5FXqAhVCSas8i_XN8uPcHjRLoFBHQxsXGv-4toGwjV7S15GYP8dZ26j3LnUMh4TCA"}]}