Skip to main content
Glama

Astra MCP Server

by smatiolids
tools_config_example.json4.34 kB
[ { "tags": ["astradb"], "type": "tool", "name": "collections", "description": "List all collections in the Astra DB database", "parameters": [], "method": "list_collections" }, { "tags": ["airline"], "type": "tool", "name": "search_airline_tickets", "description": "Search for airline tickets", "projection" : {"flight_number": 1, "departure_time": 1, "departure_airport": 1, "arrival_airport": 1, "category": 1, "sub_category": 1, "description": 1}, "parameters": [ { "param": "customer_id", "description": "Customer ID (UUID)", "required": 1 }, { "param": "arrival_airport", "description": "Arrival airport CODE (e.g. MIA, LAX, etc.)" }, { "param": "departure_airport", "description": "Departure airport CODE (e.g. MIA, LAX, etc.)" }, { "param": "departure_time", "description": "Departure time (ISO 8601 format)", "type": "string", "format": "date-time", "operator": "$gte" } ], "method": "find", "table_name": "airline_tickets_by_customer", "limit": 10 }, { "tags": ["products"], "type": "tool", "name": "search_products", "description": "Search for products", "projection" : {"product_name": 1, "brand": 1, "price": 1, "color": 1, "category": 1, "sub_category": 1, "description": 1, "out_of_stock": 1}, "parameters": [ { "param": "search_query", "description": "Query to search for products", "attribute": "$vector", "type": "string", "required": 1, "embedding_model": "text-embedding-3-small" }, { "param": "min_price", "description": "Minimum price of the products", "attribute": "price", "type": "number", "operator": "$gte" }, { "param": "max_price", "description": "Maximum price of the products", "attribute": "price", "type": "number", "operator": "$lte" }, { "param": "out_of_stock", "value": false, "attribute": "out_of_stock", "type": "boolean", "operator": "$eq" } ], "method": "find", "collection_name": "products", "limit": 10 }, { "tags": ["latam", "faq"], "type": "tool", "name": "rag_latam_airlines", "method": "find_documents", "collection_name": "latam_faq", "description": "Search the LATAM FAQ for a question and return relevant context", "limit": 10, "projection" : {"$vectorize": 1, "metadata": 0}, "parameters": [ { "param": "search_query", "description": "Query to search for products", "attribute": "$vectorize", "type": "string" }, { "param": "topic", "description": "Topic of the question", "attribute": "metadata.topic", "type": "string", "enum": ["baggage", "boarding", "check-in", "flight-status", "other"], "operator": "$eq" } ] }, { "tags": ["united", "faq"], "name": "rag_united", "type": "tool", "method": "find_documents", "collection_name": "united_faq", "description": "Search the UNITED Airlines FAQ for a question and return relevant context", "limit": 10, "projection" : {"$vectorize": 1, "metadata": 0}, "parameters": [ { "param": "search_query", "description": "Query to search for products", "attribute": "$vectorize", "type": "string" } ] } ]

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/smatiolids/astra-mcp-server'

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