# Licensing Tools

Tools for organization licenses: what a customer organization is licensed for, when, and for which workspaces.

## Available Tools

| Tool | Description |
| ---- | ----------- |
| [`list_licenses`](/mcp/tools/licensing/list_licenses/) | List an organization's licenses with type, status, workspaces and dates |
| [`create_license`](/mcp/tools/licensing/create_license/) | Create a license for an organization |
| [`update_license`](/mcp/tools/licensing/update_license/) | Change a license's workspaces or dates, or end it |
| [`list_organizations`](/mcp/tools/licensing/list_organizations/) | List organizations by name, with ids to use in the license tools |
| [`find_organization`](/mcp/tools/licensing/find_organization/) | Find an organization by id, or by the slug of one of its workspaces |

## Overview

A license is for one product (`PMS`, `FM` or `OS`) and covers either every workspace in the organization
(`ALL_WORKSPACES`) or only the workspaces listed on it (`SELECTED_WORKSPACES`). It is in force from `effectiveFrom`
to `effectiveTo`; with no `effectiveTo` it has no end date. The product decides which product group types it covers:
`PMS` covers residential and student, `FM` and `OS` cover short-term stay.

To end a license, call `update_license` with `effectiveTo` set to its last day. Sending `effectiveTo: null` does the
opposite and removes the end date; leaving `effectiveTo` out changes nothing.

To find the organization to pass to the license tools, use `list_organizations` (optionally filtered by name) or
`find_organization` (by id, or by the slug of one of its workspaces). Both only return organizations the caller may
read.

Access is checked by the API against the caller's own login, not by the tool. Anyone without license access gets an
error from the API.

## Related Documentation

- [Tools Overview](/mcp/tools/) - Complete list of all available MCP tools
- [Setup](/mcp/setup/) - Configure the MCP server
