Skip to main content
Weaviate MCP logo
  • Category: model context protocol
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 2
  • Triggers: 0
  • Slug: WEAVIATE_MCP
  • Version: 00000000_00

Tools

Slug: WEAVIATE_MCP_QUERY_AGENT_ASKAsk Mode transforms your query into actionable searches or aggregations, and then provides a final answer to the question.For example, you could ask:“How many orders related to books were placed last week?”And the agent will filter for orders, perform semantic search for books and sort or filter for timestamps from the last week. Then, the agent will provide a response, answering this question exactly based on the data retrieved.The result always carries final_answer. When result_evaluation is ‘llm’, it additionally carries is_partial_answer (whether information the query asked for is missing from the answer), missing_information (what exactly could not be found in the data), and sources (the retrieved objects the answer actually drew on).Queries the collections named in the request within your connected Weaviate Cloud cluster. Use collection names from your own cluster; access follows the connected API key permissions.

Input Parameters

string
required
Natural-language question to answer from the data.
array
required
Names of the collections to answer from. The collections available in the caller’s cluster are listed at the end of this tool’s description.
string ("llm" | "none")
Set to ‘llm’ to have the agent evaluate its own answer, adding is_partial_answer, missing_information, and sources to the result. With ‘none’ (the default) the result carries only final_answer.

Output

array
string
required
boolean
array
Slug: WEAVIATE_MCP_QUERY_AGENT_SEARCHSearch Mode combines AI-powered semantic search with structured filtering and returns the matching Weaviate objects directly.For example, you could ask:“Find me some vintage shoes under $70”And the agent will perform semantic search for vintage shoes, apply a filter for price < 70, and return the matching objects from your collections, ready for you to render or post-process.You could also ask:“Something comfortable to wear on a long flight”And the agent will use AI-powered search to find relevant objects, even when terms like comfortable or long flight never appear in your data.Under the hood, Search Mode does more than embed your query as-is. The agent writes one or more optimized semantic and structured queries, executes them against your collections, and reranks the retrieved objects by how well each one matches your original request.The result’s results field lists the matching objects in rank order (best match first), each as a dict of property names to values.Queries the collections named in the request within your connected Weaviate Cloud cluster. Use collection names from your own cluster; access follows the connected API key permissions.

Input Parameters

integer
Maximum results to return.
string
required
Natural-language search query.
string ("medium" | "high" | "ultrahigh")
Search effort: ‘medium’, ‘high’, or ‘ultrahigh’. Higher effort reranks more candidates.
integer
Results to skip, for pagination.
string ("precision" | "recall")
‘precision’ applies the filters the agent writes strictly; ‘recall’ (the default) hedges uncertain filters by also searching without them, so plausible matches are not filtered out.
array
required
Names of the collections to search. The collections available in the caller’s cluster are listed at the end of this tool’s description.
string
Trade relevance against result diversity: 0 is pure relevance, 1 is maximum diversity. Requires all queried collections to use a supported vectorizer; leave unset to rank purely by relevance.

Output

array
required