Sf Portfolio

5 entities and 12 agent-callable operations in sf_portfolio. Each operation is addressed as {mega_tool}/sf_portfolio/{entity}/{operation} and carries the same permission check over MCP and REST.

deal

OperationMega-toolWhat it does
columnsreport_queryThe ALL-DEALS table's column catalog: every column {key, label, group, kind, applies_to (deal families; null = all), description}, the per-family default…
family_diffreport_queryEvent-of-default template of a deal family (program = an in_program slug, or family_deal_keys) and every deal's deviation from it: same / differs (extra…
filterreport_queryRelational query across deals with a CLOSED typed DSL.
tablereport_queryTable deal.

graph

OperationMega-toolWhat it does
readreport_queryThe bipartite portfolio graph: deal nodes, entity nodes (deal_count, dominant role family), deal_party edges labelled with the canonical role, program nodes…

identity

OperationMega-toolWhat it does
candidatesreport_queryREAD-ONLY curation suggestions: entity-key pairs that may be one organisation or related (prefix_name, same_deal_same_role).
declaresmart_actionPROPOSE cross-deal entity declarations (same_entity_as, affiliate_of, successor_of, in_program) on the Deal Ledger portfolio target.

party

OperationMega-toolWhat it does
dealsreport_queryEvery deal one entity appears in, with roles and evidence.
overlapreport_queryWhich organisations recur ACROSS deals: every entity in at least min_deals (default 2) visible deals, with its roles per deal (printed word + canonical key)…
rankreport_queryEntities ranked by the number of distinct deals they hold a role in (e.g.
role_diffreport_queryEntities present in at least two of deal_keys, with each deal's role set and differs=true when the role sets differ ("which parties appear in both BFNS and…

profile

OperationMega-toolWhat it does
refreshsmart_actionRebuild the Deal Ledger all-deals read model (one derived row per deal behind report_query/sf_portfolio/deal/table).

Parameter schemas and permissions

Parameter schemas and permission codenames are in the full reference — sign in — or call prism_introspect(dimension="capability_search", query="…") with your key.

In the full reference this application appears under report_query, smart_action.