Primer Market Systems (MSD) & DCED Engine
v1.4.0MSD/M4P tools: DCED math, dealer deals, 2,523 evidence guides, and live donor RFPs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_msd_knowledge
Search Primer International's global Market Systems Development (MSD / M4P) and Social Enterprise database (2,543+ records across DCED, BEAM Exchange, MSD4E, SEWF, ILO The Lab, ANDE, WEF Schwab Foundation, and UN ESCAP).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keywords or concepts (e.g., cost-share agreement, thin market mechanics, social procurement, work integration). |
doc_type | string | Filter by evidence type. |
limit | integer | Maximum number of evidence matches to return (1-20). |
calculate_deal
Calculate rural retail dealer unit economics, monthly working capital requirements, currency inflation decay, and smallholder payback periods for private sector co-investments.
| Parameter | Type | Description |
|---|---|---|
cash_cycle_days * | integer | Days from inventory purchase to customer cash collection (7 to 14 benchmark). |
dealer_fixed_cost_monthly * | number | Dealer monthly overhead for shop rent, staff, power ($). |
donor_subsidy_grant * | number | Donor pilot grant contribution ($). |
farmer_equipment_cost * | number | Smallholder upfront capital outlay ($). |
farmer_seasonal_revenue_gain * | number | Net smallholder income gain per harvest season ($). |
monthly_inflation_rate_pct * | number | Local currency monthly inflation rate %. |
monthly_volume_units * | integer | Estimated monthly units sold per dealer. |
partner_equity_match * | number | Private partner matching capital ($). |
retail_price * | number | Customer retail price at rural shop ($). |
wholesale_price * | number | Dealer purchase price from supplier ($). |
calculate_dced_attribution
Calculate DCED-compliant attributable Net Additional Income (NAI), deadweight, displacement, substitution, systemic copycat crowding-in, and full-time equivalent (FTE) employment.
| Parameter | Type | Description |
|---|---|---|
additional_labor_days_per_beneficiary * | number | Extra casual on-farm labor days demanded per year. |
beneficiaries_reached * | integer | Verified adopting farmers or micro-enterprises. |
crowding_in_multiplier * | number | Ratio capturing competitor imitation (1.0 = none, 1.25 = 25% copycat expansion). |
deadweight_pct * | number | Adoption percentage that would have occurred without the project (0-100%). |
direct_partner_jobs_created * | integer | Salaried jobs created by commercial lead firm. |
displacement_pct * | number | Income gains displacing existing local businesses (0-100%). |
gross_additional_income_per_beneficiary * | number | Annual gross income increase per adopter ($/yr). |
program_intervention_cost * | number | Total donor budget allocated to intervention ($). |
substitution_pct * | number | Forgone income from abandoned alternative crops (0-100%). |
working_days_per_fte | integer | Benchmark workdays per full-time equivalent job. |
lint_proposal
Audit proposal text against core Market Systems Development (MSD) rules: detects direct asset handouts, missing partner matching funds, unadjusted 100% attribution claims, and vulnerable exchange rate pegs.
| Parameter | Type | Description |
|---|---|---|
text * | string | Draft proposal or terms of reference text to audit. |
search_opportunities
Search active, future-closing Market Systems Development (MSD), value chain, financial inclusion, and social enterprise RFPs, EOIs, grants, and consultancies aggregated from UNGM, UNDP, ReliefWeb, EU TED, and FinDev Gateway.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by Market Systems or Social Enterprise practice category. |
contract_type | string | Filter by contract type or solicitation format (preferred alias for modality). |
donor | string | Filter by issuing agency or organization (e.g., UNDP, UNOPS, FAO, ITC, UNIDO, SNV). |
eligibility | string | Filter by vendor eligibility (International Open vs Local Vendors Only). |
limit | integer | Maximum number of active opportunities to return (1-25). |
max_days_left | integer | Maximum days remaining until closing deadline (1-365). |
modality | string | Deprecated alias for contract_type. |
query | string | Optional keywords (e.g., climate microfinance, incubator, Cambodia, MSME, FAO). |
region | string | Filter by exact geographic region. |
sort | string | Sort order for returned solicitations. |
get_opportunity
Retrieve complete structured metadata and official links for a single active MSD or Social Enterprise opportunity by numeric ID.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Numeric opportunity ID returned by search_opportunities. |