synthesize_lead_hypothesis
Given a lead journey (from query_lead_journey), produce a structured hypothesis: intent score, conversion-failure mode, suggested outreach angle, and notes for drafting. Writes the synthesis back to leads.synopsis_jsonb so the Leads tab UI sees it. Use this after journey reconstruction, before dr...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/synthesize-lead-hypothesis.md
What synthesize_lead_hypothesis does on Freedom Mcp
AI agents use synthesize_lead_hypothesis to create or update resources in Freedom Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Freedom Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
lead_id | string | Yes | UUID of the lead. Used to persist synthesis back to leads.synopsis_jsonb. |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
journey_json | string | Yes | JSON-encoded journey object returned by query_lead_journey. Caller should JSON.stringify the journey output before passing. |
company_context | string | — | Optional short summary of the company the lead arrived at (e.g., 'Acme Health — pharmacy compounding compliance consulting for US pharmacies'). Helps the model |
Parameters from the server's own tool schema.
Why synthesize_lead_hypothesis is rated Medium
This tool creates or modifies lead hypothesis data in the leads table (via synthesis_jsonb), making it a Write operation. It does not delete, destroy, or move funds, so Financial and Destructive are ruled out. While it informs sales strategy, the core action is reversible data modification (hypothesis synthesis stored in a column).
From the tool's definition Writes the synthesis back to leads.synopsis_jsonb so the Leads tab UI sees it
Attacks that exploit this kind of access
The rule that runs synthesize_lead_hypothesis safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For synthesize_lead_hypothesis, this is the rule to start with:
synthesize_lead_hypothesis stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every synthesize_lead_hypothesis call is checked against it from then on.
Questions about synthesize_lead_hypothesis
Given a lead journey (from query_lead_journey), produce a structured hypothesis: intent score, conversion-failure mode, suggested outreach angle, and notes for drafting. Writes the synthesis back to leads.synopsis_jsonb so the Leads tab UI sees it. Use this after journey reconstruction, before draft_outreach. [write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]. It is categorised as a Write tool in the Freedom Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
synthesize_lead_hypothesis accepts 4 parameters: lead_id, companyId, journey_json, company_context. Required: lead_id, companyId, journey_json. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for synthesize_lead_hypothesis: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Freedom Mcp. Nothing to install.
synthesize_lead_hypothesis is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the synthesize_lead_hypothesis rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for synthesize_lead_hypothesis. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
synthesize_lead_hypothesis is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue