Skip to main content
Glama
stagproject

Mirelia-Structured-Data-Marketplace

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_single_patents
[COST: 0.0001 USDC (API Fee)]
Searches for high-value individual patents ($0.50 each) from a continuously expanding, daily-updated USPTO database.
Returns lightweight evaluation data: [patent_id, title, importance_p, publication_date, primary_cpc, secondary_cpcs, biz_target_ind].
Supports pagination via the 'offset' parameter.

[AVAILABLE PRIMARY CPCs]: 
G01(Measurement/Testing), G02(Optics), G03(Photography), G04(Horology), G05(Control Systems), 
G06(Computing/Data Processing), G07(Checking Devices), G08(Signaling), G09(Displays/Cryptography), 
G10(Acoustics/Speech), G11(Info Storage), G12(Instrument Details), G16(Specific ICT/Healthcare), 
G21(Nuclear), H01(Basic Electric Elements), H02(Electric Power), H03(Electronic Circuitry), 
H04(Communication), H05(Misc Electric), H10(Solid State Devices)

[EXAMPLE ARGUMENTS - MINIMAL]:
{"primary_cpc": "G06"}

[EXAMPLE ARGUMENTS - MAXIMAL]:
{"primary_cpc": "H02", "cross_domain_cpc": "G06", "keyword": "thermal power generation", "min_score": 80, "limit": 50, "offset": 50}
purchase_single_patent
[COST: 0.0001 USDC (API Fee) + 0.50 USDC (Data Price)]
Verifies on-chain payment and delivers the FULL structured JSON dataset for a single patent.

[AGENTIC WORKFLOW (MPP v1.0 402 Payment Flow)]:
This is a mandatory 2-step process. Do NOT hallucinate a tx_hash.
STEP 1: Call this tool with ONLY 'patent_id' and 'network'. Leave 'tx_hash' EMPTY. The server will return a 402 Payment Required response containing a 'transaction_payload'.
STEP 2: You MUST securely execute/broadcast the exact 'transaction_payload' on the blockchain using your wallet. This payload contains the required cryptographic HMAC memo to bind your payment to the product.
STEP 3: Once the transaction is confirmed on-chain, call this exact tool AGAIN, providing the 'patent_id', 'network', and the resulting 66-character 'tx_hash'.

[SUPPORTED NETWORKS]: 'polygon' (USDC), 'base' (USDC), 'oasis' (ROSE natively via EOA, or WROSE via AA wallets). Default is 'polygon'.

[EXAMPLE ARGUMENTS - MINIMAL (Step 1 - Request Payment Info)]:
{"patent_id": "US12449246B2"}

[EXAMPLE ARGUMENTS - MAXIMAL (Step 3 - Claim Data)]:
{"patent_id": "US12449246B2", "network": "polygon", "tx_hash": "0x123abc456def7890123abc456def7890123abc456def7890123abc456def7890"}
search_packages
[COST: 0.0001 USDC (API Fee)]
Exploration tool for USPTO bulk patent datasets (10, 100, 1000 items per pack). 
Best for large-scale R&D or commercial analysis.
If 'search_query' is empty, returns the full catalog of available packages.
If 'search_query' contains a CPC or keyword, returns specific domain packs.

[AVAILABLE DOMAINS]: 
G01(Measurement), G02(Optics), G03(Photography), G04(Horology), G05(Control), 
G06(Computing), G07(Checking), G08(Signaling), G09(Displays), G10(Acoustics), 
G11(Storage), G12(Instruments), G16(Healthcare ICT), G21(Nuclear), H01(Electric Elements), 
H02(Power), H03(Circuitry), H04(Communication), H05(Misc), H10(Solid State)

[EXAMPLE ARGUMENTS - MINIMAL (List All Catalogs)]:
{}

[EXAMPLE ARGUMENTS - MAXIMAL (Search Specific Domain & Limit)]:
{"search_query": "G06_100", "limit": 10}
verify_crypto_payment_and_deliver
[COST: 0.0001 USDC (API Fee) + Bulk Package Price]
Verifies on-chain payment and delivers the FULL JSON dataset URL for bulk packages.

[AGENTIC WORKFLOW (MPP v1.0 402 Payment Flow)]:
This is a mandatory 2-step process. Do NOT hallucinate a tx_hash.
STEP 1: Call this tool with ONLY 'package_tag' and 'network'. Leave 'tx_hash' EMPTY. You will receive a 402 response with a 'transaction_payload'.
STEP 2: Execute/broadcast the 'transaction_payload' exactly as provided to apply the HMAC cryptographic memo. Do not modify the payload data.
STEP 3: After confirmation, call this tool AGAIN with the exact 'package_tag', 'network', and the resulting 'tx_hash' to receive the dataset.

[EXAMPLE ARGUMENTS - MINIMAL (Step 1 - Request Payment Info)]:
{"package_tag": "G01_10_001"}

[EXAMPLE ARGUMENTS - MAXIMAL (Step 3 - Claim Data)]:
{"package_tag": "G01_10_001", "network": "base", "tx_hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"}

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stagproject/mirelia-structured-data-marketplace'

If you have feedback or need assistance with the MCP directory API, please join our Discord server