PRIV ProtocolPRIV Docs
MCP Server

Tool Reference

Complete reference for all PRIV MCP server tools with input schemas and examples

Tool Reference

The PRIV MCP server exposes tools, resources, and prompts. This page documents all available tools.

Phase 1 Tools (Read-Only)

search_marketplace

Search the PRIV data marketplace for available datasets.

Input Schema:

ParameterTypeRequiredDescription
querystringNoSearch keyword
categorystringNoData category (browsing, social, commerce, location, content)
data_typestringNoType of data (behavioral, demographic, transactional)
min_pricenumberNoMinimum price in PRIV tokens
max_pricenumberNoMaximum price in PRIV tokens
pagenumberNoPage number (default: 1)
per_pagenumberNoResults per page (default: 20, max: 50)

get_listing_details

Get detailed information about a specific marketplace listing, including schema and sample data.

Input Schema:

ParameterTypeRequiredDescription
listing_idstringYesThe listing ID to retrieve

browse_bounties

Browse open data bounties on the PRIV Bounty Board.

Input Schema:

ParameterTypeRequiredDescription
categorystringNoFilter by data category
statusenumNoopen, in_progress, completed, expired
min_rewardnumberNoMinimum reward in PRIV tokens
sort_byenumNoreward, deadline, created_at (default)
pagenumberNoPage number (default: 1)

get_bounty_details

Get detailed information about a specific bounty.

Input Schema:

ParameterTypeRequiredDescription
bounty_idstringYesThe bounty ID to retrieve

get_available_tasks

List available AI labeling tasks.

Input Schema:

ParameterTypeRequiredDescription
task_typestringNoFilter by type (image_classification, text_annotation, etc.)
difficultyenumNoeasy, medium, hard
min_rewardnumberNoMinimum reward in PRIV tokens
pagenumberNoPage number (default: 1)

get_task_details

Get detailed information about a specific labeling task.

Input Schema:

ParameterTypeRequiredDescription
task_idstringYesThe task ID to retrieve

check_balance

Check the authenticated user's PRIV token balance, including staked and pending rewards.

Input Schema: None (uses authenticated API key)


get_earnings_history

View earnings history from data contributions, bounty rewards, staking, and labeling tasks.

Input Schema:

ParameterTypeRequiredDescription
sourceenumNocontribution, bounty, staking, labeling, referral
pagenumberNoPage number (default: 1)
per_pagenumberNoResults per page (default: 20)

get_contribution_stats

Get data contribution statistics including counts by status and category.

Input Schema:

ParameterTypeRequiredDescription
periodenumNo7d, 30d, 90d, all (default: 30d)

search_docs

Search PRIV documentation by keyword.

Input Schema:

ParameterTypeRequiredDescription
querystringYesSearch keyword or phrase
categoryenumNoguide, product, token, developer, compliance

Resources

Resources provide read-only data that agents can access without tool calls.

URIDescription
priv://marketplace/categoriesAvailable data categories with descriptions
priv://presale/stagesCurrent presale stage information and pricing
priv://token/statsToken supply, burn stats, and fee configuration
priv://platform/healthPlatform health and service status

Prompts

Prompts are reusable templates that guide agents through common workflows.

PromptDescriptionParameters
find-dataGuide agent to describe data needs and match to listingsdata_need (string)
evaluate-listingTemplate for quality assessment of a listinglisting_id (string)
integration-guideStep-by-step SDK/MCP setup for a use caseuse_case (string)

Phase 2+ Tools (Coming)

ToolPhaseDescription
purchase_data2Buy a marketplace listing with PRIV tokens
fund_bounty2Create and fund a data bounty
claim_earnings2Claim pending PRIV earnings
contribute_data3Upload data contributions
manage_consent3Update consent preferences
create_subscription4Subscribe to data feeds
bulk_purchase5Purchase multiple listings