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

# Get Spend Limits

> Use the get_spend_limits MCP tool on the DialNexa remote MCP server.

Read only

Returns the organization's monthly spend cap and how much of it is used, how much has been spent so far this month, when the month resets, and its two low-balance email alerts — all in INR. Months are calendar months in IST. Pair this with get\_wallet\_balance for any "how much can I still spend" question: once this month's spend reaches monthly\_spend\_cap\_inr, new calls, phone number renewals and purchases are refused until reset\_date, however large the wallet. A null cap means no cap is set. The two alert fields only send emails and never block spending.

## Parameters

This tool takes no parameters.

## Complete input schema

```json theme={null}
{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

## Registered output schema

```json theme={null}
{
  "type": "object",
  "properties": {
    "monthly_spend_limit_inr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Low-balance alert in INR: an email is sent when the wallet balance falls below this. It does not block spending, despite the name; null means no alert is set"
    },
    "spend_alert_threshold_inr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Early-warning low-balance alert in INR, above monthly_spend_limit_inr; null means no early warning is set"
    },
    "spent_this_month_inr": {
      "type": "number",
      "description": "Amount spent so far this calendar month (IST) in INR"
    },
    "reset_date": {
      "type": "string",
      "description": "Date (YYYY-MM-DD) when the monthly spend counter resets: the 1st of next month, IST"
    },
    "monthly_spend_cap_inr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Most that may be deducted from the wallet this calendar month (IST). Once reached, new calls, phone number renewals and purchases are refused until reset_date. Null means no cap is set"
    },
    "cap_used_percent": {
      "type": [
        "number",
        "null"
      ],
      "description": "Share of the monthly spend cap used so far, as a percentage; null when no cap is set"
    }
  },
  "required": [
    "monthly_spend_limit_inr",
    "spend_alert_threshold_inr",
    "spent_this_month_inr",
    "reset_date",
    "monthly_spend_cap_inr",
    "cap_used_percent"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

## Before you call

* Connect and initialize the MCP client with OAuth or an API key for the intended workspace.
* This tool has no required arguments.
* If your OAuth grant covers several workspaces, also pass `organization_id` with the workspace to act in, from [List My Organizations](https://dialnexa.com/docs/mcp-tools/organization/list-my-organizations.md).

## Example MCP request

Send `tools/call` after your client completes MCP initialization. Replace placeholder values with IDs and inputs from your workspace. For object and array parameters, follow the nested requirements in the parameter description instead of treating an empty value as complete.

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_spend_limits",
    "arguments": {}
  }
}
```

Successful results include `structuredContent` and a text content block containing the same JSON. Check `isError` first, then read `structuredContent` or parse `content[0].text`. See [MCP responses and errors](https://dialnexa.com/docs/mcp-tools/errors.md) for the full envelope and failure behavior.

## Verify the result

Confirm the response is not marked `isError`, parse `content[0].text` as JSON, and verify that returned IDs and workspace data match the request.

## Retry safety

This tool does not change workspace data. Retrying after a transient transport failure is safe.

## Related MCP tools

* [Get Wallet Balance](https://dialnexa.com/docs/mcp-tools/billing/get-wallet-balance.md): `get_wallet_balance`

## Related guides

* [Connect to the DialNexa MCP server](https://dialnexa.com/docs/mcp-tools/overview.md)
* [Billing MCP tools](https://dialnexa.com/docs/mcp-tools/billing/overview.md)
* [MCP responses and errors](https://dialnexa.com/docs/mcp-tools/errors.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.