Skip to main content
Glama
linancn

TianGong-LCA-MCP Server

by linancn

LCA_Calculation_Guidance_Tool

Provides step-by-step workflows for conducting Life Cycle Assessment calculations to obtain Life Cycle Impact Assessment results.

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool handler function that asynchronously returns a structured text content block containing the LCA calculation guidance text generated by the helper function.
    async () => { return { content: [ { type: 'text', text: await getLcaCalculationGuidance(), }, ], }; },
  • The registration function that defines and registers the LCA_Calculation_Guidance_Tool on the MCP server, including its 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(), }, ], }; }, ); }
  • Helper function that provides the static multi-line prompt text outlining the step-by-step workflow for performing LCA calculations.
    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; }
  • Invocation of the tool's registration function during the MCP server initialization process.
    regLcaCalculationGuidanceTool(server);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/linancn/tiangong-lca-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server