Skip to main content
Glama
AxemaVaka-MCP

AxemaVaka-MCP

by draca-glitch

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VAKA_TZNoTime zone, e.g. Europe/Stockholm.
VAKA_URLYesThe address or local name of the Vaka controller, e.g. https://vaka.example.com/admin. Plain http:// is refused unless VAKA_ALLOW_HTTP=1 is set.
VAKA_LANGNoLanguage, e.g. sv.
VAKA_PASSYesThe operator account's password.
VAKA_USERYesThe operator account (email) the agent logs in with.
VAKA_CA_FILENoPath to a saved certificate to trust when the controller has its own certificate rather than one from a public authority; the certificate must name the address in VAKA_URL.
VAKA_SECRETSNoPath to the secrets.env file (default ~/.config/axema-vaka/secrets.env), which must be mode 600.
VAKA_SETTINGSNoPath to the settings.env file (default ~/.config/axema-vaka/settings.env).
VAKA_AUDIT_DIRNoDirectory for the audit log (audit.jsonl) and saved copies of records/files; keep it private.
VAKA_ALLOW_HTTPNoSet to 1 to allow plain http:// (only a controller on 127.0.0.1 or localhost is exempt).
VAKA_CONNECT_IPNoTunnel or VPN address to connect to while still checking the certificate against the name in VAKA_URL.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Axema Vaka door and access control system. Reads are free. Every write changes a system that controls physical doors: call the write tool first WITHOUT confirm_token to get the preview, show it to the user, and call again with the confirm_token only after they approved that specific change in the conversation. Do not store PINs or door codes anywhere; pass reveal_codes only when the user asks to see a code.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
vaka_whoamiA

Check the connection: log in as the configured operator and return the session record.

vaka_find_personB

Find persons (residents, apartments, contractors, operators) by name, email or id. No codes returned.

vaka_getB

Get one record by id from a table. Persons include their identities (tags) and access group names; access groups include door names. Codes redacted.

vaka_listA

List the rows of a table, optionally with Vaka filters such as {"filterexact_organisationgroup_id": 10} (also filteroutexact_, filtergreaterthan_, filterlessthan_). List rows are often shorter than the full record; use vaka_get for one record. Codes redacted.

vaka_doorsC

All doors with id, name and time schedule.

vaka_accessgroupsC

All access groups with door code status, time schedule and doors.

vaka_eventsB

Access/event log as CSV rows (Time;Source;Event;User;Event Id;Operation). Default last 24 h. contains = "text|other" filter. lang "sv" gives Swedish event names, anything else English.

vaka_bookingsA

Bookings (reservations of bookable objects such as a laundry room) with local times and the booking person. Future only unless include_past.

vaka_filesC

Files of the info centre (PDFs, web links, clock, tenant list) with the playlist slots that show each.

vaka_download_fileC

Save the stored content of an info centre file (a PDF) to a local path.

vaka_updateA

WRITE. Change fields on one record of any table (partial record, snake_case field names as vaka_get returns them). Two-step.

vaka_set_door_codeB

WRITE. Set the door code of an access group. Two-step.

vaka_set_person_pinB

WRITE. Set a person's PIN. Two-step.

vaka_set_operator_passwordB

WRITE. Set a web-admin operator's password (forces a change at next login unless no_forced_change). Two-step.

vaka_door_in_accessgroupB

WRITE. Add (member=true) or remove a door from an access group. timegroups defaults to ["door_bitmap_timegroup_0"]. Two-step.

vaka_createB

WRITE. Create a record in any table. Person: password_plain gives an operator login. Reservation fields: booking_time, start_minute, stop_minute, start_time, stop_time (Vaka seconds), identity_type (0 group, 1 person, 2 service), identity, person, reservation_object, reservation_node, reservation_status; the domain is worked out from reservation_object. Two-step.

vaka_deleteA

WRITE. Delete one record (the record is saved first). Deletes that row only: references to it from other records are not cleaned up. Info centre files go through vaka_delete_file. Two-step.

vaka_upload_pdfA

WRITE. Upload a PDF from a local path to the info centre. A PDF with the same display name is replaced: the playlist slots that showed the old one show the new one, then the old one is removed. Two-step.

vaka_delete_fileA

WRITE. Remove a file (PDF, web link) from the info centre and empty the playlist slots that show it. Two-step.

vaka_rawB

Escape hatch: any call under /web_client/. GET on database/ and the name lookups runs directly; everything else is two-step, GET included, because action paths (door_control, command, backup, set_time ...) change things or open doors.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 20 tools

Disambiguation4/5

The specialized readers (vaka_doors, vaka_accessgroups, vaka_files, vaka_bookings, vaka_events) overlap in practice with generic vaka_list, and vaka_set_door_code/vaka_set_person_pin partly duplicate vaka_update. However, descriptions make the intended split clear (generic table access vs. curated joined views, redacted search vs. full record) and vaka_raw is explicitly framed as a last-resort escape hatch.

Naming Consistency3/5

All names share the vaka_ prefix, but the convention is mixed: verb_noun (vaka_get, vaka_list, vaka_create, vaka_update, vaka_delete, vaka_set_door_code) alongside bare-noun readers (vaka_doors, vaka_accessgroups, vaka_events, vaka_bookings, vaka_files). It stays readable, but an agent has to learn that noun-only names are implicit 'list all' aliases alongside vaka_list.

Tool Count4/5

Twenty tools is toward the heavy end, but the domain genuinely spans persons, doors, access groups, events, bookings and info-centre files, and each tool maps to a distinct operation. The count is defensible, though a couple of the read aliases could be folded into vaka_list.

Completeness4/5

Coverage is strong: generic CRUD across any table plus targeted writes (door code, PIN, operator password, access-group membership), full info-centre lifecycle (list, download, upload, delete) and read views for events/bookings. Remaining gaps are around time schedules/timegroups and playlist management, which are only reachable via defaults or the vaka_raw escape hatch.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues