gm-mcp 1.3.8 → 1.3.10

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/index.js CHANGED
@@ -86,6 +86,8 @@ exports.server.registerTool("debt_collection", {
86
86
  - compnany name
87
87
  - year (optional), if it is not provided use default value
88
88
  - product (optional), if it is not provided use default value
89
+ - month (optinal), if it is not provided use default value
90
+ with optional criteria try to use default value, don't ask again
89
91
  `,
90
92
  inputSchema: v4_1.default.object({
91
93
  company_name: v4_1.default.string().describe("Company name to get data"),
@@ -99,6 +101,7 @@ exports.server.registerTool("debt_collection", {
99
101
  .describe("Product type to get data one of follow values EWA 02 - 03 | EWA 04 | Lương X3 | Lương X3 - EVF ")
100
102
  .default(product_type_1.PRODUCT_TYPE.EWA_02_03)
101
103
  .optional(),
104
+ month: v4_1.default.string().describe("Month to get company debt collection").default("").optional(),
102
105
  }),
103
106
  }, (args) => __awaiter(void 0, void 0, void 0, function* () {
104
107
  const { company_name, product_type } = args;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-mcp",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "description": "Mcp server for Gm",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -98,6 +98,8 @@ server.registerTool(
98
98
  - compnany name
99
99
  - year (optional), if it is not provided use default value
100
100
  - product (optional), if it is not provided use default value
101
+ - month (optinal), if it is not provided use default value
102
+ with optional criteria try to use default value, don't ask again
101
103
  `,
102
104
  inputSchema: z.object({
103
105
  company_name: z.string().describe("Company name to get data"),
@@ -111,6 +113,7 @@ server.registerTool(
111
113
  .describe("Product type to get data one of follow values EWA 02 - 03 | EWA 04 | Lương X3 | Lương X3 - EVF ")
112
114
  .default(PRODUCT_TYPE.EWA_02_03)
113
115
  .optional(),
116
+ month: z.string().describe("Month to get company debt collection").default("").optional(),
114
117
  }),
115
118
  },
116
119
  async (args) => {