@carrierllc/mcp 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-CQ6EOLA7.js → chunk-JROD4YAU.js} +3 -3
- package/dist/chunk-JROD4YAU.js.map +1 -0
- package/dist/cli.js +395 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-CQ6EOLA7.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
subscriberIdParams,
|
|
38
38
|
usageOverPeriodParams,
|
|
39
39
|
verifyStorefront
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JROD4YAU.js";
|
|
41
41
|
import "./chunk-SHKKVIIA.js";
|
|
42
42
|
|
|
43
43
|
// src/index.ts
|
|
@@ -622,7 +622,7 @@ function registerAllTools(server2, ctx) {
|
|
|
622
622
|
"list_reseller_accounts",
|
|
623
623
|
{
|
|
624
624
|
title: "List Reseller Accounts",
|
|
625
|
-
description: "Use this to enumerate
|
|
625
|
+
description: "Use this to enumerate the accounts (sub-resellers or customer accounts) BELOW a reseller. Params: `resellerId` (integer, optional \u2014 omit to list accounts under the token owner's reseller). Returns: `{ reseller: [ { id, name, account: [ { id, name, balance, packageOnly } ] } ] }` \u2014 the accounts are NESTED under each reseller, not a flat top-level array. Do NOT use this to fetch a single subscriber's details \u2014 use `get_subscriber` instead. Do NOT use this to check eSIM activation counts \u2014 use `esim_status_per_account` for that. Do NOT use this to find a reseller's PARENT, balance or charging plans \u2014 those are above or on the reseller itself, not in this list; use `get_reseller_info`.",
|
|
626
626
|
inputSchema: {
|
|
627
627
|
resellerId: z.number().optional().describe("Filter to a specific reseller by ID (omit for token owner's reseller)")
|
|
628
628
|
},
|
|
@@ -668,7 +668,7 @@ function registerAllTools(server2, ctx) {
|
|
|
668
668
|
"get_reseller_info",
|
|
669
669
|
{
|
|
670
670
|
title: "Get Reseller Info",
|
|
671
|
-
description: "Use this to retrieve full details for a reseller:
|
|
671
|
+
description: "Use this to retrieve full details for a reseller: identity and PARENT in the reseller hierarchy, balance, traffic configuration, charging plans, and contact info. This is the tool that answers who sits ABOVE a reseller, and which mobile or VoIP charging plan it is on. Params: `resellerId` (integer, optional \u2014 omit to return the token owner's reseller). Returns: `id`, `name`, `parentId` and `parentName` (the reseller directly above this one), `balance` (a decimal STRING, e.g. \"46.31\"), `cdrFolder`, `trafficInfo` (relayGy / relayCallSms / relayLU / relayVoIP booleans), `chargingInfo.mobilePlan` and `chargingInfo.voipPlan` (each `{id, name}`), and `contactInfo`. Do NOT use this to list all accounts under a reseller \u2014 use `list_reseller_accounts` for that. Do NOT use `list_reseller_accounts` to find a reseller's parent or charging plans: it returns the accounts BELOW a reseller and carries neither.",
|
|
672
672
|
inputSchema: {
|
|
673
673
|
resellerId: z.number().optional().describe("Reseller ID (omit for token owner)")
|
|
674
674
|
},
|