Semantic Search
Catalog + Curated
This page is generated from the full broker catalog and enhanced with curated examples.
Run similarity search with optional metadata filters.
Request Body
{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-find-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-find",
"arguments": {
"collection_name": "school",
"query": "conflict resolution styles",
"limit": 5,
"filter": {
"class": "COM120",
"material_type": "textbook"
}
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"collection_name",
"query"
],
"properties": {
"collection_name": {
"type": "string"
},
"query": {
"type": "string"
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100
},
"filter": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-find-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-find",
"arguments": {
"collection_name": "school",
"query": "conflict resolution styles",
"limit": 5,
"filter": {
"class": "COM120",
"material_type": "textbook"
}
}
}
}'
const response = await fetch('https://madpanda3d.com/lab/mad-mcps/portal/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "qdrant-qdrant-find-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-find",
"arguments": {
"collection_name": "school",
"query": "conflict resolution styles",
"limit": 5,
"filter": {
"class": "COM120",
"material_type": "textbook"
}
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "qdrant-qdrant-find-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-find",
"arguments": {
"collection_name": "school",
"query": "conflict resolution styles",
"limit": 5,
"filter": {
"class": "COM120",
"material_type": "textbook"
}
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 404 Collection Missing
{
"ok": true,
"matches": [
{
"score": 0.91,
"payload": {
"class": "COM120",
"chapter": 6,
"text": "..."
}
}
]
}
{
"ok": false,
"error": "not_found",
"message": "Collection school not found"
}