Tool tree
webmcp-restaurant
Implementation
gradeNot graded
gradeNot graded
search_restaurantsAnswer
Search available restaurants by cuisine or name, filtered by date and party size. cuisine or restuarant name can be optional. when it is missing assume it as all and search for all available restaurantsReturns a list of matching restaurants with their IDs, available dates, and time slots. Call this first before trying to book — you need the restaurant ID from these results.
View tool JSON
{
"name": "search_restaurants",
"kind": "answer",
"impl": "imperative",
"description": "Search available restaurants by cuisine or name, filtered by date and party size. cuisine or restuarant name can be optional. when it is missing assume it as all and search for all available restaurantsReturns a list of matching restaurants with their IDs, available dates, and time slots. Call this first before trying to book — you need the restaurant ID from these results.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Reservation date. Any common format is accepted (e.g. \"2026-06-13\", \"06/13/2026\", \"June 13, 2026\"); it will be normalized internally. Example: \"2026-06-13\""
},
"party_size": {
"type": "number",
"minimum": 1,
"description": "Number of guests dining. Must be a positive whole number. Example: 2"
},
"query": {
"anyOf": [
{
"type": "string",
"description": "Cuisine type or restaurant name to search for. this can be optional. whenever it is not provided assume it as all. Example: \"French\", \"sushi\", \"Spice Route\""
},
{
"type": "null"
}
]
}
},
"required": [
"date",
"party_size"
]
}
}filter_restaurantsAction
Narrows the visible restaurant list by name or cuisine. Only works after search_restaurants has been called. Example: call with name "Italian" to show only Italian restaurants.
View tool JSON
{
"name": "filter_restaurants",
"kind": "act",
"impl": "imperative",
"description": "Narrows the visible restaurant list by name or cuisine. Only works after search_restaurants has been called. Example: call with name \"Italian\" to show only Italian restaurants.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Partial restaurant name or cuisine to narrow results. Example: \"spice\", \"Italian\""
}
},
"required": [
"name"
]
}
}select_restaurantAction
Navigate to a restaurant detail page. Call this after search_restaurants returns results and you have a restaurant_id.
View tool JSON
{
"name": "select_restaurant",
"kind": "act",
"impl": "imperative",
"description": "Navigate to a restaurant detail page. Call this after search_restaurants returns results and you have a restaurant_id.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"restaurant_id": {
"type": "string",
"description": "Exact restaurant id from search_restaurants results. Example: \"spice-route\""
}
},
"required": [
"restaurant_id"
]
}
}