> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thena.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get team configurations

> MCP tool to retrieve configurations for a team in the Thena platform.

import Admonition from '@theme/Admonition';

### MCP tool: `get_team_configurations`

Retrieves detailed configuration settings for a specific team, including timezone settings, business hours, routing preferences, and holidays. This tool is essential for understanding how a team operates and how tickets are routed.

<Admonition type="note">
  You must provide the team ID to retrieve its configuration settings.
</Admonition>

### Example prompt

```prompt theme={null}
Get team configurations for team T88WCYYHPS
```

<Admonition type="info">
  When you use this prompt in a chat with the model (with the MCP tool registered), the model will automatically call the <code>get\_team\_configurations</code> tool with the correct arguments.
</Admonition>

### Input parameters

| Name   | Type   | Required | Description                                       |
| ------ | ------ | -------- | ------------------------------------------------- |
| teamId | string | Yes      | The ID of the team to retrieve configurations for |

### Response fields

Below are the fields you may see in the response:

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr><td>timezone</td><td>string</td><td>Team timezone (e.g., "America/New\_York")</td></tr>
    <tr><td>teamId</td><td>string</td><td>Team unique identifier</td></tr>
    <tr><td>fallbackSubTeam</td><td>string</td><td>Fallback sub team ID for routing</td></tr>
    <tr><td>holidays</td><td>string\[]</td><td>Array of holiday dates</td></tr>
    <tr><td>routingRespectsTimezone</td><td>boolean</td><td>Whether routing respects team timezone</td></tr>
    <tr><td>routingRespectsUserTimezone</td><td>boolean</td><td>Whether routing respects user timezone</td></tr>
    <tr><td>routingRespectsUserAvailability</td><td>boolean</td><td>Whether routing respects user availability</td></tr>
    <tr><td>routingRespectsUserBusinessHours</td><td>boolean</td><td>Whether routing respects user business hours</td></tr>
    <tr><td>userRoutingStrategy</td><td>string</td><td>User routing strategy (e.g., "ROUND\_ROBIN", "LEAST\_BUSY")</td></tr>
    <tr><td>commonDailyConfig</td><td>boolean</td><td>Whether common daily business hours config is enabled</td></tr>
    <tr><td>dailyConfig</td><td>object</td><td>Business hours configuration for each day</td></tr>
    <tr><td>createdAt</td><td>string (ISO8601)</td><td>Creation timestamp</td></tr>
    <tr><td>updatedAt</td><td>string (ISO8601)</td><td>Last update timestamp</td></tr>
  </tbody>
</table>

#### Daily config fields

The `dailyConfig` object contains business hours for each day:

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr><td>monday</td><td>object</td><td>Monday business hours</td></tr>
    <tr><td>tuesday</td><td>object</td><td>Tuesday business hours</td></tr>
    <tr><td>wednesday</td><td>object</td><td>Wednesday business hours</td></tr>
    <tr><td>thursday</td><td>object</td><td>Thursday business hours</td></tr>
    <tr><td>friday</td><td>object</td><td>Friday business hours</td></tr>
    <tr><td>saturday</td><td>object</td><td>Saturday business hours</td></tr>
    <tr><td>sunday</td><td>object</td><td>Sunday business hours</td></tr>
  </tbody>
</table>

### Sample response

```json theme={null}
{
  "data": {
    "timezone": "America/New_York",
    "teamId": "T88WCYYHPS",
    "fallbackSubTeam": "T99WCYYHPS",
    "holidays": ["2025-12-25", "2025-01-01"],
    "routingRespectsTimezone": true,
    "routingRespectsUserTimezone": true,
    "routingRespectsUserAvailability": true,
    "routingRespectsUserBusinessHours": true,
    "userRoutingStrategy": "ROUND_ROBIN",
    "commonDailyConfig": true,
    "dailyConfig": {
      "monday": {
        "isOpen": true,
        "startTime": "09:00",
        "endTime": "17:00"
      },
      "tuesday": {
        "isOpen": true,
        "startTime": "09:00",
        "endTime": "17:00"
      },
      "wednesday": {
        "isOpen": true,
        "startTime": "09:00",
        "endTime": "17:00"
      },
      "thursday": {
        "isOpen": true,
        "startTime": "09:00",
        "endTime": "17:00"
      },
      "friday": {
        "isOpen": true,
        "startTime": "09:00",
        "endTime": "17:00"
      },
      "saturday": {
        "isOpen": false,
        "startTime": null,
        "endTime": null
      },
      "sunday": {
        "isOpen": false,
        "startTime": null,
        "endTime": null
      }
    },
    "createdAt": "2025-07-24T07:19:10.258Z",
    "updatedAt": "2025-07-24T07:19:10.258Z"
  },
  "status": true,
  "message": "Team configurations retrieved successfully!",
  "timestamp": "2025-07-25T12:50:38.937Z"
}
```

<Admonition type="tip">
  Always pass an object as input, even if empty, to avoid errors when calling the tool directly.
</Admonition>

***
