{"openapi":"3.0.3","info":{"title":"Gnist Context — Famous Quotes","description":"Famous quotes collection — search by author, keyword, or category, get random quotes.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/famous-quotes/`\n- **Toolkit page:** `/toolkits/famous-quotes`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/famous-quotes/get_random_quote":{"post":{"tags":["Reference"],"summary":"get_random_quote","description":"Get a random famous quote.\n\nReturns a quote with author name and category. Optionally filter by category.","operationId":"famous_quotes_get_random_quote","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by category (e.g. wisdom, science, humor). Omit for any category."}},"type":"object"}}}}}},"/rest/famous-quotes/search_quotes":{"post":{"tags":["Reference"],"summary":"search_quotes","description":"Search for famous quotes by keyword.\n\nSearches across quote text, author names, and categories. Case-insensitive.","operationId":"famous_quotes_search_quotes","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search keyword — matches quote text, author name, or category.","type":"string"},"max_results":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of results (default: 10, max: 100)."}},"required":["query"],"type":"object"}}}}}},"/rest/famous-quotes/get_quotes_by_author":{"post":{"tags":["Reference"],"summary":"get_quotes_by_author","description":"Get all quotes by a specific author.\n\nPartial name matching — e.g. \"einstein\" matches \"Albert Einstein\".","operationId":"famous_quotes_get_quotes_by_author","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"author":{"description":"Author name (case-insensitive, partial match).","type":"string"},"max_results":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of results (default: 10, max: 100)."}},"required":["author"],"type":"object"}}}}}},"/rest/famous-quotes/list_categories":{"post":{"tags":["Reference"],"summary":"list_categories","description":"List all available quote categories.\n\nReturns the category names that can be used to filter random quotes.","operationId":"famous_quotes_list_categories","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}]}},"/rest/famous-quotes/list_authors":{"post":{"tags":["Reference"],"summary":"list_authors","description":"List all authors in the quotes database.\n\nReturns author names that can be used to look up quotes by author.","operationId":"famous_quotes_list_authors","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}]}},"/rest/famous-quotes/report_feedback":{"post":{"tags":["Reference"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"famous_quotes_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Reference","description":"Data sources: Reference"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}