Every tool exposed by TOSTI's MCP server
This page is generated from the live MCP server registry, so it always matches what /mcp actually exposes. For each tool you'll find its name, description, and JSON Schemas for input and output — the same information returned by a tools/list JSON-RPC call.
Auth, registration and the rest of the protocol are documented in the OAuth integration guide. To interactively try the tools rather than just read about them, point MCP Inspector at https://tosti.science.ru.nl/mcp (run it locally with npx @modelcontextprotocol/inspector).
Shift listing and order placement tools.
Thin wrappers around ``orders.services``; business logic lives there so
the API views and the MCP tools share one implementation.
list_active_shifts
read-only
List active shifts
List currently active shifts where you can place an order.
A shift is "active" when the current time is between its start and end
and it has not been finalized.
{
"properties": {},
"title": "list_active_shiftsArguments",
"type": "object"
}
{
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_active_shiftsOutput",
"type": "object"
}
list_available_products
read-only
List available products in a shift
Retrieve the available products in a Shift.
``shift_id`` matches the ID of an active shift returned by ``list_active_shifts`.
The result includes products available for ordering in the shift.
{
"properties": {
"shift_id": {
"title": "Shift Id",
"type": "integer"
}
},
"required": [
"shift_id"
],
"title": "list_available_productsArguments",
"type": "object"
}
place_order
write
Place an order
Place a single-item order on the user's behalf in an active shift.
Resolve ``shift_id`` from ``list_active_shifts`` and ``product_id``
from a product list. Requires the ``orders:order`` OAuth2 scope.
Destructive: the LLM should confirm with the user before calling.
{
"properties": {
"product_id": {
"title": "Product Id",
"type": "integer"
},
"shift_id": {
"title": "Shift Id",
"type": "integer"
}
},
"required": [
"shift_id",
"product_id"
],
"title": "place_orderArguments",
"type": "object"
}
Music-player tools (read state, search, queue requests).
These methods are thin wrappers around ``thaliedje.services``; business
logic lives there so the API views and the MCP tools share one
implementation.
get_player_state
read-only
Get player state
Return what the music player at the given venue is doing right now.
``venue_slug`` matches the slug returned by ``list_venues``. The result
includes the current track (if any), play state, shuffle, and repeat.
{
"properties": {
"venue_slug": {
"title": "Venue Slug",
"type": "string"
}
},
"required": [
"venue_slug"
],
"title": "get_player_stateArguments",
"type": "object"
}
request_song
write
Request a song
Request a song to be added to a venue's player queue.
``track_id`` is the ``id`` returned by ``search_tracks``.
Requires the ``thaliedje:request`` OAuth2 scope.
{
"properties": {
"track_id": {
"title": "Track Id",
"type": "string"
},
"venue_slug": {
"title": "Venue Slug",
"type": "string"
}
},
"required": [
"venue_slug",
"track_id"
],
"title": "request_songArguments",
"type": "object"
}
search_tracks
read-only
Search the music catalog
Search the music catalog for tracks via a venue's player.
``venue_slug`` selects the player (each venue has its own backend —
Spotify or Marietje). ``query`` is a free-text search. ``maximum``
caps the number of results (default 5, hard ceiling 25).
{
"properties": {
"maximum": {
"default": 5,
"title": "Maximum",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
},
"venue_slug": {
"title": "Venue Slug",
"type": "string"
}
},
"required": [
"venue_slug",
"query"
],
"title": "search_tracksArguments",
"type": "object"
}
Venue lookup and reservation tools.
Reservation creation is delegated to ``venues.services.create_reservation``
so the MCP path and any other consumer share the same validation and email
side effect.
create_venue_reservation
write
Create a venue reservation
Request a reservation for a venue.
``start`` and ``end`` are ISO-8601 timestamps (e.g.
``2026-04-25T19:00:00+02:00``). Reservations start unaccepted; a
manager has to approve them. Requires the ``write`` OAuth2 scope.
Destructive: the LLM should confirm with the user before calling.
{
"properties": {
"comments": {
"default": "",
"title": "Comments",
"type": "string"
},
"end": {
"title": "End",
"type": "string"
},
"start": {
"title": "Start",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"venue_slug": {
"title": "Venue Slug",
"type": "string"
}
},
"required": [
"venue_slug",
"title",
"start",
"end"
],
"title": "create_venue_reservationArguments",
"type": "object"
}
list_venues
read-only
List venues
List all venues that can be reserved or where shifts can run.
Returns one entry per venue with its ``id``, human-readable ``name``,
URL ``slug``, and whether it can be reserved.
{
"properties": {},
"title": "list_venuesArguments",
"type": "object"
}
{
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_venuesOutput",
"type": "object"
}
get_server_instructions
Return MCP server instructions (if any). Always call first.
{
"properties": {},
"title": "_get_server_instructionsArguments",
"type": "object"
}