@carbonstopper/agent-mcp 0.1.8 → 0.1.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/README.md +111 -11
- package/dist/tools.js +32 -44
- package/dist/tools.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -151,9 +151,9 @@ Only product carbon modeling and report tools are exposed to the Agent in this r
|
|
|
151
151
|
| --- | --- |
|
|
152
152
|
| `modeling_execute` | Create a new product carbon AI model. Requires `idempotencyKey` and `input.content`. |
|
|
153
153
|
| `modeling_re_modeling` | Re-run product carbon AI modeling for an existing account. Requires `accountId` and `idempotencyKey`. |
|
|
154
|
-
| `modeling_update` | Supplement or update emission sources for an existing model. Requires `accountId` and `
|
|
154
|
+
| `modeling_update` | Supplement or update emission sources for an existing model. Requires `accountId`, `idempotencyKey`, and `input.content`. |
|
|
155
155
|
| `modeling_detail` | Get product carbon model details. |
|
|
156
|
-
| `report_generate` | Generate a product carbon report. Requires `idempotencyKey`. |
|
|
156
|
+
| `report_generate` | Generate a product carbon report. Requires `accountId` and `idempotencyKey`. |
|
|
157
157
|
| `report_regenerate` | Regenerate an existing product carbon report. Requires `reportId` and `idempotencyKey`. |
|
|
158
158
|
| `report_detail` | Get product carbon report detail and latest report URL. |
|
|
159
159
|
|
|
@@ -167,23 +167,123 @@ Use the product carbon modeling tools as follows:
|
|
|
167
167
|
|
|
168
168
|
## Tool Request Shape
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
The MCP schema only exposes fields the Agent should fill. Do not pass platform, confirmation, or unrelated id fields unless they are listed for the selected tool.
|
|
171
|
+
|
|
172
|
+
Write tools accept optional trace fields:
|
|
173
|
+
|
|
174
|
+
- `messageId`: current Agent message id, used to associate business records with the current conversation message.
|
|
175
|
+
- `traceId`: Agent run trace id.
|
|
176
|
+
- `taskId`: Agent task or graph node id.
|
|
177
|
+
|
|
178
|
+
### `modeling_execute`
|
|
171
179
|
|
|
172
180
|
```json
|
|
173
181
|
{
|
|
174
182
|
"sessionId": "agent_xxx",
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"reportId": null,
|
|
183
|
+
"messageId": "msg_xxx",
|
|
184
|
+
"traceId": "langgraph_run_xxx",
|
|
185
|
+
"taskId": "modeling_execute_node",
|
|
179
186
|
"idempotencyKey": "agent_xxx_modeling_execute_v1",
|
|
180
|
-
"
|
|
181
|
-
|
|
182
|
-
|
|
187
|
+
"input": {
|
|
188
|
+
"content": "500ml bottled mineral water",
|
|
189
|
+
"message": "Supplemental modeling context",
|
|
190
|
+
"scope": 1,
|
|
191
|
+
"scopeValue": "0,1,2",
|
|
192
|
+
"factorScope": 3
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### `modeling_re_modeling`
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
{
|
|
201
|
+
"sessionId": "agent_xxx",
|
|
202
|
+
"messageId": "msg_xxx",
|
|
203
|
+
"traceId": "langgraph_run_xxx",
|
|
204
|
+
"taskId": "modeling_re_modeling_node",
|
|
205
|
+
"accountId": 2001,
|
|
206
|
+
"idempotencyKey": "agent_xxx_modeling_re_modeling_v1",
|
|
207
|
+
"input": {
|
|
208
|
+
"content": "Updated product description",
|
|
209
|
+
"message": "Recalculate with updated packaging",
|
|
210
|
+
"scope": 1,
|
|
211
|
+
"scopeValue": "0,1,2",
|
|
212
|
+
"factorScope": 3
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### `modeling_update`
|
|
218
|
+
|
|
219
|
+
```json
|
|
220
|
+
{
|
|
221
|
+
"sessionId": "agent_xxx",
|
|
222
|
+
"messageId": "msg_xxx",
|
|
223
|
+
"traceId": "langgraph_run_xxx",
|
|
224
|
+
"taskId": "modeling_update_node",
|
|
225
|
+
"accountId": 2001,
|
|
226
|
+
"idempotencyKey": "agent_xxx_modeling_update_v1",
|
|
227
|
+
"input": {
|
|
228
|
+
"content": "Add corrugated box packaging",
|
|
229
|
+
"message": "Supplemental emission source details"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### `modeling_detail`
|
|
235
|
+
|
|
236
|
+
```json
|
|
237
|
+
{
|
|
238
|
+
"sessionId": "agent_xxx",
|
|
239
|
+
"accountId": 2001
|
|
240
|
+
}
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### `report_generate`
|
|
244
|
+
|
|
245
|
+
```json
|
|
246
|
+
{
|
|
247
|
+
"sessionId": "agent_xxx",
|
|
248
|
+
"messageId": "msg_xxx",
|
|
249
|
+
"traceId": "langgraph_run_xxx",
|
|
250
|
+
"taskId": "report_generate_node",
|
|
251
|
+
"accountId": 2001,
|
|
252
|
+
"idempotencyKey": "agent_xxx_report_generate_v1",
|
|
253
|
+
"input": {
|
|
254
|
+
"reportName": "Product carbon footprint report",
|
|
255
|
+
"standard": "ISO 14067",
|
|
256
|
+
"message": "Generate report for customer review"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### `report_regenerate`
|
|
262
|
+
|
|
263
|
+
```json
|
|
264
|
+
{
|
|
265
|
+
"sessionId": "agent_xxx",
|
|
266
|
+
"messageId": "msg_xxx",
|
|
267
|
+
"traceId": "langgraph_run_xxx",
|
|
268
|
+
"taskId": "report_regenerate_node",
|
|
269
|
+
"reportId": 3001,
|
|
270
|
+
"idempotencyKey": "agent_xxx_report_regenerate_v1",
|
|
271
|
+
"input": {
|
|
272
|
+
"message": "Regenerate after model update"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
### `report_detail`
|
|
278
|
+
|
|
279
|
+
```json
|
|
280
|
+
{
|
|
281
|
+
"sessionId": "agent_xxx",
|
|
282
|
+
"reportId": 3001
|
|
183
283
|
}
|
|
184
284
|
```
|
|
185
285
|
|
|
186
|
-
ID fields such as `
|
|
286
|
+
ID fields such as `accountId` and `reportId` accept either numbers or numeric strings. Safe numeric strings are normalized before forwarding to the Agent internal API; very large numeric strings are preserved to avoid JavaScript precision loss.
|
|
187
287
|
|
|
188
288
|
Write or high-risk tools require `idempotencyKey`, especially:
|
|
189
289
|
|
package/dist/tools.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as apipath from "./apipath.js";
|
|
3
|
-
const jsonObject = z.record(z.string(), z.unknown());
|
|
4
3
|
const sessionId = z
|
|
5
4
|
.string()
|
|
6
5
|
.min(1)
|
|
@@ -15,100 +14,86 @@ const longId = z
|
|
|
15
14
|
z.string().regex(/^\d+$/, "Expected a numeric id string"),
|
|
16
15
|
])
|
|
17
16
|
.describe("Numeric id. Accepts either a number or a numeric string.");
|
|
18
|
-
const
|
|
19
|
-
messageId: z.string().optional().describe("Agent message id for
|
|
20
|
-
traceId: z.string().optional().describe("Agent trace id
|
|
21
|
-
taskId: z.string().optional().describe("Agent task
|
|
17
|
+
const skillTraceFields = {
|
|
18
|
+
messageId: z.string().optional().describe("Current Agent message id for business record association."),
|
|
19
|
+
traceId: z.string().optional().describe("Agent run trace id."),
|
|
20
|
+
taskId: z.string().optional().describe("Agent task or graph node id."),
|
|
22
21
|
};
|
|
23
|
-
const
|
|
24
|
-
sessionId,
|
|
25
|
-
projectId: longId.optional().describe("Agent project id"),
|
|
26
|
-
...traceFields,
|
|
27
|
-
accountId: longId.optional().describe("Product carbon account id"),
|
|
28
|
-
modelId: longId.optional().describe("Reserved model id"),
|
|
29
|
-
reportId: longId.optional().describe("Report id"),
|
|
30
|
-
idempotencyKey: z.string().optional().describe("Required for write or high-risk skills"),
|
|
31
|
-
confirmed: z.boolean().optional().describe("Whether the user has confirmed a high-risk or high-cost action"),
|
|
32
|
-
pendingActionId: z.string().optional().describe("Pending action id returned by a confirmation response"),
|
|
33
|
-
};
|
|
34
|
-
const modelingInput = z.object({
|
|
35
|
-
content: z.string().optional().describe("Product description used for AI modeling. Required when creating a new model."),
|
|
36
|
-
message: z.string().optional().describe("Supplemental modeling information from the user or Agent."),
|
|
37
|
-
productName: z.string().optional().describe("Product name or short title."),
|
|
22
|
+
const modelingOptions = {
|
|
38
23
|
scope: z.union([z.number(), z.string()]).optional().describe("Lifecycle scope. Common values: 0 for partial lifecycle, 1 for full lifecycle."),
|
|
39
24
|
scopeValue: z.string().optional().describe("Lifecycle stage selection for partial lifecycle, for example 0,1,2."),
|
|
40
|
-
factorScope: z.number().optional().describe("Factor preference. Common values: 1 Ecoinvent, 2 domestic factors, 3 any source."),
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}).catchall(z.unknown());
|
|
44
|
-
const modelingExecuteInput = modelingInput.extend({
|
|
25
|
+
factorScope: z.union([z.number(), z.string().regex(/^\d+$/, "Expected a numeric factorScope string")]).optional().describe("Factor preference. Common values: 1 Ecoinvent, 2 domestic factors, 3 any source."),
|
|
26
|
+
};
|
|
27
|
+
const modelingExecuteInput = z.object({
|
|
45
28
|
content: z.string().min(1).describe("Required product description for creating a new product carbon model."),
|
|
46
29
|
message: z.string().optional().describe("Supplemental information for new modeling, such as user preferences or Agent-collected context."),
|
|
30
|
+
...modelingOptions,
|
|
47
31
|
});
|
|
48
|
-
const reModelingInput =
|
|
32
|
+
const reModelingInput = z.object({
|
|
49
33
|
content: z.string().optional().describe("Optional replacement or updated product description for re-modeling an existing account."),
|
|
50
34
|
message: z.string().optional().describe("Supplemental re-modeling instruction, such as why the existing account should be recalculated."),
|
|
35
|
+
...modelingOptions,
|
|
51
36
|
});
|
|
52
37
|
const modelUpdateInput = z.object({
|
|
53
|
-
|
|
54
|
-
content: z.string().optional().describe("Natural language instruction for supplementing emission sources, for example adding a material, energy, packaging, or transport source."),
|
|
38
|
+
content: z.string().min(1).describe("Required natural language instruction for supplementing emission sources, for example adding a material, energy, packaging, or transport source."),
|
|
55
39
|
message: z.string().optional().describe("Supplemental emission source information from the user or Agent."),
|
|
56
|
-
})
|
|
40
|
+
});
|
|
57
41
|
const reportGenerateInput = z.object({
|
|
58
|
-
accountId: longId.optional().describe("Product carbon account id. Top-level accountId is preferred."),
|
|
59
42
|
reportName: z.string().optional().describe("Report name to generate."),
|
|
60
43
|
standard: z.string().optional().describe("Report standard, for example ISO 14067."),
|
|
61
44
|
message: z.string().optional().describe("Supplemental report generation instruction from the user or Agent."),
|
|
62
|
-
})
|
|
45
|
+
});
|
|
46
|
+
const reportRegenerateInput = z.object({
|
|
47
|
+
message: z.string().optional().describe("Supplemental report regeneration instruction from the user or Agent."),
|
|
48
|
+
});
|
|
63
49
|
export const schemas = {
|
|
64
50
|
modeling_execute: z.object({
|
|
65
|
-
|
|
51
|
+
sessionId,
|
|
52
|
+
...skillTraceFields,
|
|
66
53
|
idempotencyKey,
|
|
67
54
|
input: modelingExecuteInput.describe("Required new-model input. input.content is required; input.message can carry user or Agent supplemental information."),
|
|
68
55
|
}),
|
|
69
56
|
modeling_re_modeling: z.object({
|
|
70
|
-
|
|
57
|
+
sessionId,
|
|
58
|
+
...skillTraceFields,
|
|
71
59
|
accountId: longId.describe("Product carbon account id"),
|
|
72
60
|
idempotencyKey,
|
|
73
61
|
input: reModelingInput.describe("Optional re-modeling input. Use input.content for updated product description and input.message for recalculation instructions.").optional(),
|
|
74
62
|
}),
|
|
75
63
|
modeling_update: z.object({
|
|
76
|
-
|
|
64
|
+
sessionId,
|
|
65
|
+
...skillTraceFields,
|
|
77
66
|
accountId: longId.describe("Product carbon account id"),
|
|
78
67
|
idempotencyKey,
|
|
79
68
|
input: modelUpdateInput.describe("Emission source update input. Use input.content for the source change instruction and input.message for supplemental context."),
|
|
80
69
|
}),
|
|
81
70
|
modeling_detail: z.object({
|
|
82
71
|
sessionId,
|
|
83
|
-
projectId: longId.optional(),
|
|
84
|
-
...traceFields,
|
|
85
72
|
accountId: longId.describe("Product carbon account id"),
|
|
86
|
-
input: jsonObject.describe("Optional detail query context.").optional(),
|
|
87
73
|
}),
|
|
88
74
|
report_generate: z.object({
|
|
89
|
-
|
|
75
|
+
sessionId,
|
|
76
|
+
...skillTraceFields,
|
|
90
77
|
accountId: longId.describe("Product carbon account id"),
|
|
91
78
|
idempotencyKey,
|
|
92
79
|
input: reportGenerateInput.describe("Optional report generation input, such as reportName, standard, or message.").optional(),
|
|
93
80
|
}),
|
|
94
81
|
report_regenerate: z.object({
|
|
95
|
-
|
|
82
|
+
sessionId,
|
|
83
|
+
...skillTraceFields,
|
|
96
84
|
reportId: longId.describe("Existing report id to regenerate"),
|
|
97
85
|
idempotencyKey,
|
|
98
|
-
input:
|
|
86
|
+
input: reportRegenerateInput.describe("Optional report regeneration input, such as message.").optional(),
|
|
99
87
|
}),
|
|
100
88
|
report_detail: z.object({
|
|
101
89
|
sessionId,
|
|
102
|
-
projectId: longId.optional(),
|
|
103
|
-
...traceFields,
|
|
104
90
|
reportId: longId.describe("Report id"),
|
|
105
|
-
input: jsonObject.describe("Optional report detail query context.").optional(),
|
|
106
91
|
}),
|
|
107
92
|
};
|
|
108
93
|
export const descriptions = {
|
|
109
94
|
modeling_execute: "Create a new product carbon model from input.content. Use this only when the user wants a new model and no existing account should be reused. Calls /modeling/execute. Requires idempotencyKey and input.content.",
|
|
110
95
|
modeling_re_modeling: "Re-model an existing product carbon account from updated context. Use this when the user wants to redo or recalculate the whole model for an existing account. Calls /modeling/reModeling. Requires accountId and idempotencyKey.",
|
|
111
|
-
modeling_update: "Supplement emission sources on an existing product carbon account. Use this when the user wants to add or adjust materials, energy, packaging, transport, or other emission sources without recreating the whole model. Calls /modeling/update. Requires accountId and
|
|
96
|
+
modeling_update: "Supplement emission sources on an existing product carbon account. Use this when the user wants to add or adjust materials, energy, packaging, transport, or other emission sources without recreating the whole model. Calls /modeling/update. Requires accountId, idempotencyKey, and input.content.",
|
|
112
97
|
modeling_detail: "Get product carbon model details for an account.",
|
|
113
98
|
report_generate: "Create a new product carbon report from an account. Requires accountId and idempotencyKey.",
|
|
114
99
|
report_regenerate: "Regenerate an existing product carbon report. Requires reportId and idempotencyKey.",
|
|
@@ -169,6 +154,9 @@ function normalizeIds(value) {
|
|
|
169
154
|
if (isIdField(key) && typeof childValue === "string" && /^\d+$/.test(childValue)) {
|
|
170
155
|
normalized[key] = normalizeNumericId(childValue);
|
|
171
156
|
}
|
|
157
|
+
else if (key === "factorScope" && typeof childValue === "string" && /^\d+$/.test(childValue)) {
|
|
158
|
+
normalized[key] = Number(childValue);
|
|
159
|
+
}
|
|
172
160
|
else {
|
|
173
161
|
normalized[key] = normalizeIds(childValue);
|
|
174
162
|
}
|
package/dist/tools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,MAAM,
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,MAAM,SAAS,GAAG,CAAC;KAChB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,sGAAsG,CAAC,CAAC;AAEpH,MAAM,cAAc,GAAG,CAAC;KACrB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,sGAAsG,CAAC,CAAC;AAEpH,MAAM,MAAM,GAAG,CAAC;KACb,KAAK,CAAC;IACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC3B,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,8BAA8B,CAAC;C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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAA6B;IACxD,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;IAC7B,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3D,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAC/B,qEAAqE;IACrE,IAAI,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,cAAc,CAAC;IAC1D,4DAA4D;IAC5D,IAAI,CAAC;QACH,OAAO,MAAM,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAC/B,qEAAqE;IACrE,IAAI,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,cAAc,CAAC;IAC1D,4DAA4D;IAC5D,IAAI,CAAC;QACH,OAAO,MAAM,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC;AAC7B,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC"}
|