list_locations
Retrieve all configured work locations, such as countries or regions, for your remote teams.
Instructions
List all configured work locations (typically countries/regions for remote teams).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- humaans_mcp/server.py:275-278 (handler)The `list_locations` tool handler: calls the Humaans API client to list all configured work locations (countries/regions) with a limit of 250.
@mcp.tool() async def list_locations() -> Any: """List all configured work locations (typically countries/regions for remote teams).""" return await client().list_page("/locations", limit=250) - humaans_mcp/client.py:45-55 (helper)The `list_page` helper method on HumaansClient that list_locations delegates to. It calls the API with pagination parameters ($limit, $skip).
async def list_page( self, path: str, filters: dict[str, Any] | None = None, limit: int = 100, skip: int = 0, ) -> Any: params = dict(filters or {}) params["$limit"] = limit params["$skip"] = skip return await self.get(path, params) - humaans_mcp/server.py:275-276 (registration)The `@mcp.tool()` decorator registers `list_locations` as an MCP tool on the FastMCP 'humaans' server.
@mcp.tool() async def list_locations() -> Any: