LCA_Calculation_Guidance_Tool
Streamline Life Cycle Assessment (LCA) calculations by following a structured workflow to generate accurate Life Cycle Impact Assessment (LCIA) results for environmental analysis.
Instructions
Get the workflow, which should be followed for Life Cycle Assessment (LCA) Calculations to Obtain Life Cycle Impact Assessment (LCIA) Results
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The inline asynchronous handler function for the LCA_Calculation_Guidance_Tool. It calls the helper function to get guidance text and returns it formatted as MCP content.async () => { return { content: [ { type: 'text', text: await getLcaCalculationGuidance(), }, ], }; },
- src/tools/lca_calculation_guidance.ts:11-26 (registration)The registration function regLcaCalculationGuidanceTool that defines and registers the tool with the MCP server using server.tool(), including name, description, and handler.export function regLcaCalculationGuidanceTool(server: McpServer) { server.tool( 'LCA_Calculation_Guidance_Tool', 'Get the workflow, which should be followed for Life Cycle Assessment (LCA) Calculations to Obtain Life Cycle Impact Assessment (LCIA) Results', async () => { return { content: [ { type: 'text', text: await getLcaCalculationGuidance(), }, ], }; }, ); }
- src/_shared/init_server.ts:29-29 (registration)Invocation of the tool registration function during MCP server initialization.regLcaCalculationGuidanceTool(server);
- Helper function that provides the static prompt text outlining the workflow for LCA calculations using other MCP tools.async function getLcaCalculationGuidance() { const prompt = `The workflow to perform LCA calculations using the MCP tool is as follows: 1. Use the OpenLCA_Impact_Assessment_Tool to list all LCIA (Life Cycle Impact Assessment) method UUIDs and their corresponding names. 2. Use the OpenLCA_List_System_Processes_Tool to list all system process UUIDs and their corresponding names. 3. Use the OpenLCA_Impact_Assessment_Tool to perform LCA calculations.`; return prompt; }