Skip to main content
Glama
jagan-shanmugam

Climatiq MCP Server

Servidor MCP de Climatiq

Licencia: MIT

Un servidor de Protocolo de Contexto de Modelo (MCP) para acceder a la API de Climatiq y calcular las emisiones de carbono. Esto permite a los asistentes de IA realizar cálculos de carbono en tiempo real y proporcionar información sobre el impacto climático.

Manifestación

https://github.com/user-attachments/assets/c253d6d1-ccf6-4c14-965e-6023ba2a0296

https://github.com/user-attachments/assets/d61c1181-acf6-4d9f-9a48-537fc64ac4c3

Related MCP server: RL-MCP

Características

Este servidor MCP se integra con la API de Climatiq para proporcionar cálculos de emisiones de carbono para asistentes de IA:

Herramientas

  • set-api-key : configura la clave API de Climatiq utilizada para la autenticación

  • emisiones de electricidad : Calcular las emisiones de carbono derivadas del consumo de electricidad

  • Emisiones de viajes : Calcule las emisiones de carbono de los viajes en coche, avión o tren.

  • search-emission-factors : Busca factores de emisión específicos en la base de datos Climatiq

  • cálculo-de-emisiones-personalizado : Realiza cálculos personalizados utilizando factores de emisión específicos

  • cloud-computing-emission : Calcular las emisiones derivadas del uso de recursos de computación en la nube

  • freight-emission : Calcular las emisiones del transporte de mercancías

  • emisiones de compras : Calcular las emisiones derivadas del gasto en compras

  • hotel-emission : Calcular las emisiones de las estancias en hoteles

  • gastos de viaje : Calcular las emisiones derivadas de los gastos de viaje

Recursos

  • Los resultados del cálculo de carbono se exponen como recursos con un esquema URI climatiq://calculation/{id}

  • Cada recurso contiene información detallada sobre un factor de emisión y los resultados del cálculo.

Indicaciones

  • explicación del impacto climático : Generar explicaciones en lenguaje natural sobre el impacto climático de cálculos de emisiones específicas.

Instalación

De la fuente

Este proyecto utiliza uv para el entorno virtual y la gestión de dependencias. Asegúrese de instalar uv primero.

# Clone the repository
git clone https://github.com/your-org/climatiq-mcp-server.git
cd climatiq-mcp-server

# Create a virtual environment
uv venv

# Activate the virtual environment
# On macOS/Linux:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate

# Install dependencies with development extras
uv sync --dev --extra all

Usando uv

uv pip install climatiq-mcp-server

Configuración de la clave API

El servidor requiere una clave API de Climatiq para funcionar. Tiene varias opciones para proporcionarla:

  1. Variable de entorno : configure la variable de entorno CLIMATIQ_API_KEY antes de iniciar el servidor

    export CLIMATIQ_API_KEY=your_climatiq_api_key
  2. Configuración durante la instalación :

    CLIMATIQ_API_KEY=your_climatiq_api_key uv pip install climatiq-mcp-server
  3. Herramienta set-api-key : utilice la herramienta set-api-key para configurarla durante el tiempo de ejecución dentro del asistente de IA

  4. Archivo de configuración : Cree un archivo .env en el directorio del proyecto:

    CLIMATIQ_API_KEY=your_climatiq_api_key

Para obtener una clave API de Climatiq:

  1. Regístrate en app.climatiq.io

  2. Siga las instrucciones en Obtener claves API

Ejecución del servidor

El servidor se puede iniciar directamente desde la línea de comandos:

climatiq-mcp-server

Configuración en Asistentes de IA

Escritorio de Claude

En MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json En Windows: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": {
  "climatiq-mcp-server": {
    "command": "climatiq-mcp-server",
    "env": {
      "CLIMATIQ_API_KEY": "your_climatiq_api_key"
    }
  }
}

Ejemplos y utilidades

Directorio de ejemplos

El directorio examples/ contiene:

  • climatiq.ipynb : Un cuaderno Jupyter que demuestra el uso directo de la API con Climatiq

  • simple_test.py : Una utilidad sencilla para probar la integración de API directamente sin el protocolo MCP

# Run the simple test
python examples/simple_test.py

Scripts de utilidad

El directorio utils/ contiene varios scripts útiles:

Cliente de prueba

El script test_client.py prueba todas las herramientas, indicaciones y recursos:

python utils/test_client.py

Cliente de ejemplo de LLM

El script llm_example_client.py demuestra cómo un modelo de lenguaje grande (como Claude) podría interactuar con el servidor Climatiq MCP:

python utils/llm_example_client.py

Características principales:

  • Envoltorio de API completo con gestión de errores y gestión de tiempos de espera

  • Almacenamiento en caché de recursos y resultados para preservar el historial de cálculos

  • Ejemplos de indicaciones que muestran cómo generar explicaciones en lenguaje natural

  • Demuestra capacidades de búsqueda de emisiones de electricidad, emisiones de viajes y factores de emisión.

Herramienta CLI

Una herramienta de interfaz de línea de comandos para acceso directo a la API sin la complejidad del servidor MCP:

# For electricity emissions
python utils/climatiq_cli.py electricity --energy 1000 --unit kWh --region US

# For travel emissions
python utils/climatiq_cli.py travel --mode car --distance 100 --unit km --region US

Ejecutar el script del servidor MCP

Utilice el script run_mcp_server.py para ejecutar directamente el servidor sin instalar:

python utils/run_mcp_server.py

Conceptos clave

Identificadores de actividad

Un ID de actividad es un concepto clave en la API de Climatiq que agrupa factores de emisión similares:

  • Cada factor de emisión en la base de datos de Climatiq tiene un ID de actividad

  • Los identificadores de actividad agrupan los factores de emisión que describen la misma actividad en diferentes regiones, años, fuentes, etc.

  • Ejemplos: electricity-supply_grid-source_residual_mix (electricidad), passenger_vehicle-vehicle_type_car (viajes en coche)

Métodos de cálculo

El servidor Climatiq MCP admite múltiples métodos de cálculo:

  1. Método basado en la distancia para las emisiones de viajes

  2. Cálculos de viajes avanzados con pares origen-destino

  3. Método basado en gastos para cuando solo tienes datos de gastos

  4. Cálculos directos utilizando factores de emisión específicos

Solución de problemas

Problemas con la clave API

  1. Asegúrese de que CLIMATIQ_API_KEY esté configurado correctamente en su entorno o archivo .env

  2. Verifique que la clave API esté activa en su panel de Climatiq

  3. Utilice examples/simple_test.py para comprobar si su clave API funciona correctamente

Uso avanzado

Para obtener documentación detallada sobre el uso de herramientas específicas y funciones avanzadas, consulte el archivo docs/README.md .

Acerca de Climatiq

Climatiq ofrece una potente API para la inteligencia de carbono, que permite calcular las emisiones derivadas del consumo de electricidad, el transporte, las compras y más. Este servidor MCP facilita el acceso de estas capacidades a los asistentes de IA mediante el Protocolo de Contexto de Modelo.

Para obtener más información sobre Climatiq, visita climatiq.io .

Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.

Available Tools

10 tools
cloud-computing-emissionC

Calculate emissions from cloud computing services by provider, service type, and region to assess digital carbon footprint.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider (aws, azure, gcp)
serviceYesCloud service (e.g., compute, storage, database)
regionYesCloud region (e.g., us-east-1, europe-west1)
usage_amountYesAmount of cloud resources used
usage_unitYesUnit for cloud resource (e.g., kWh, GB-hours, CPU-hours)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the calculation function but lacks details on permissions, rate limits, error handling, or output format. For a tool with 5 required parameters and no output schema, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary details. Every word contributes to explaining the tool's function, making it appropriately sized and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a 5-parameter tool with no annotations and no output schema, the description is incomplete. It fails to explain return values, error conditions, or behavioral traits, leaving the agent with insufficient information to effectively invoke the tool beyond basic parameter input.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, clearly documenting all 5 parameters. The description adds minimal value beyond the schema by listing provider, service type, and region as key inputs, but it does not provide additional context like valid examples or constraints, so it meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('calculate') and resource ('emissions from cloud computing services'), and it mentions key parameters (provider, service type, region) to assess digital carbon footprint. However, it does not explicitly differentiate from sibling tools like 'custom-emission-calculation' or 'search-emission-factors', which might handle similar emission calculations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions assessing digital carbon footprint but does not specify scenarios, prerequisites, or exclusions compared to sibling tools such as 'electricity-emission' or 'procurement-emission', leaving the agent without clear usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

custom-emission-calculationB

Calculate emissions using any specific emission factor identified by its activity_id, allowing for precise and flexible carbon calculations.

ParametersJSON Schema
NameRequiredDescriptionDefault
activity_idYesEmission factor activity ID (found via search-emission-factors)
valueYesActivity value (amount of the activity)
unitYesActivity unit (e.g., kWh, km, kg, etc.)

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it states the tool calculates emissions, it doesn't describe what the calculation returns (units, format), whether it requires authentication (though set-api-key is a sibling), rate limits, error conditions, or how it handles invalid inputs. For a calculation tool with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that conveys the core purpose without unnecessary words. It's front-loaded with the main action ('Calculate emissions') and includes a qualifying phrase about flexibility. However, it could be slightly more structured by explicitly separating purpose from context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a calculation tool with potential complexity, the description is incomplete. It doesn't explain what the tool returns (e.g., emissions in CO2e, units), prerequisites (e.g., needing an API key via set-api-key), or error handling. The schema covers inputs well, but the overall context for agent usage is lacking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with all three parameters well-documented in the schema. The description adds minimal value beyond the schema, mentioning 'activity_id' and 'carbon calculations' but not explaining parameter relationships or providing additional context like example values or constraints. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate emissions using any specific emission factor identified by its activity_id'. It specifies the verb ('calculate'), resource ('emissions'), and mechanism ('using emission factor identified by activity_id'). However, it doesn't explicitly distinguish this general-purpose calculation tool from its more specific sibling tools like 'electricity-emission' or 'travel-emission'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through 'allowing for precise and flexible carbon calculations' and references 'activity_id (found via search-emission-factors)' in the schema. This suggests this tool is for custom calculations after finding factors via search-emission-factors, but it doesn't explicitly state when to use this vs. the specialized sibling tools (e.g., electricity-emission for electricity-specific calculations).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

electricity-emissionC

Calculate carbon emissions from electricity consumption based on energy amount and regional grid mix.

ParametersJSON Schema
NameRequiredDescriptionDefault
energyYesAmount of energy consumed
energy_unitYesEnergy unit (kWh, MWh, etc.)
regionNoRegion code (e.g., US, GB, FR) representing the electricity grid locationUS

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the calculation action but lacks details on permissions, rate limits, error handling, or output format. For a tool with no annotation coverage, this leaves significant gaps in understanding its operational traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. Every part of the sentence contributes directly to explaining what the tool does, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of an emission calculation tool with no annotations and no output schema, the description is incomplete. It doesn't explain the return values, error conditions, or behavioral aspects like data sources or accuracy, which are crucial for proper usage in this context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters (energy, energy_unit, region) with descriptions. The description adds marginal value by mentioning 'energy amount and regional grid mix', which aligns with the parameters but doesn't provide additional syntax or format details beyond what the schema offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('calculate') and resource ('carbon emissions from electricity consumption'), and it mentions the key inputs ('energy amount and regional grid mix'). However, it doesn't explicitly differentiate from sibling tools like 'custom-emission-calculation' or 'search-emission-factors', which might handle similar calculations differently.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose it over sibling tools such as 'custom-emission-calculation' for broader scenarios or 'search-emission-factors' for looking up data, nor does it specify prerequisites or exclusions for usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

freight-emissionC

Calculate emissions from freight transportation across different modes (truck, rail, ship, air) based on weight and distance.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeYesFreight mode (truck, rail, ship, air)
weightYesWeight of goods transported
weight_unitNoWeight unit (t, kg)t
distanceYesDistance transported
distance_unitNoDistance unit (km, mi)km

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does (calculates emissions) but doesn't describe behavioral traits like whether it's a read-only calculation, what units the output uses, error conditions, or any rate limits. For a calculation tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose upfront. There's no wasted language or unnecessary elaboration. However, it could be slightly more structured by separating purpose from scope or adding a brief note about output.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a calculation tool with 5 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what the output represents (e.g., CO2 equivalent, units), whether it uses specific emission factors, or how the calculation is performed. The lack of output schema means the description should ideally cover return values, which it doesn't.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description mentions 'based on weight and distance' which aligns with the schema but adds no additional semantic meaning beyond what's in the parameter descriptions. It doesn't explain relationships between parameters or calculation methodology.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate emissions from freight transportation' with specific resources (freight transportation) and modes (truck, rail, ship, air). It distinguishes from some siblings like 'electricity-emission' or 'hotel-emission' by focusing on freight, but doesn't explicitly differentiate from 'travel-emission' which might also involve transportation. The verb 'calculate' is specific and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'custom-emission-calculation' or 'search-emission-factors' that might be relevant for emission calculations. There's no context about prerequisites, limitations, or scenarios where this tool is preferred over others in the server.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

hotel-emissionB

Calculate carbon emissions from hotel stays based on the number of nights stayed and the location of the hotel.

ParametersJSON Schema
NameRequiredDescriptionDefault
hotel_nightsYesNumber of nights stayed
locationYesLocation of the hotel
yearNoYear of the hotel stay

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the calculation purpose but lacks details on what the calculation returns (units, format), whether it's an estimate or exact, data sources, accuracy limitations, or error handling. For a calculation tool with zero annotation coverage, this is a significant gap in behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose and key parameters without any wasted words. Every element earns its place, making it appropriately sized and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of an emission calculation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., CO2 equivalent in kg), how results are derived, or any assumptions/limitations. For a tool that likely involves environmental data and calculations, this leaves significant gaps for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters thoroughly. The description adds minimal value by mentioning nights and location as key inputs, but doesn't provide additional syntax, format details, or constraints beyond what the schema provides. The baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('calculate carbon emissions') and resource ('from hotel stays'), with explicit parameters ('based on the number of nights stayed and the location of the hotel'). It distinguishes from sibling tools like 'travel-emission' or 'electricity-emission' by focusing specifically on hotel stays.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through its parameter focus (nights and location), but does not explicitly state when to use this tool versus alternatives like 'travel-emission' or 'custom-emission-calculation'. No exclusions or prerequisites are mentioned, leaving usage guidance at an implied level.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

procurement-emissionB

Calculate Scope 3.1 emissions from procurement spending using economic input-output life cycle assessment methods.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYesAmount of money spent
currencyNoCurrency code (e.g., USD, EUR, GBP)USD
countryNoCountry code where purchases were madeUS
categoryYesProcurement category (e.g., electronics, food, construction)

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. While it explains the calculation method, it doesn't describe what the tool returns (emissions in what units?), whether it makes external API calls, error handling, or performance characteristics. For an emission calculation tool with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for the tool's complexity and gets straight to the point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a calculation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what the tool returns (emissions values, units, confidence intervals), how results should be interpreted, or any limitations of the economic input-output method. Given the complexity of emission calculations, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% description coverage, so all parameters are documented in the schema itself. The description adds no additional parameter information beyond what's already in the schema descriptions. This meets the baseline of 3 when schema coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Calculate'), the target ('Scope 3.1 emissions from procurement spending'), and the method ('using economic input-output life cycle assessment methods'). It distinguishes this tool from siblings like 'electricity-emission' or 'freight-emission' by focusing specifically on procurement emissions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'custom-emission-calculation' or 'search-emission-factors'. It doesn't mention prerequisites, limitations, or typical use cases beyond the basic purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search-emission-factorsB

Search Climatiq's database for emission factors by keyword, category, region, year, source, and other metadata to find appropriate factors for calculations.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query for emission factors (e.g., 'electricity', 'flight', 'truck')
categoryNoCategory of emission factors (e.g., 'Energy', 'Transport')
regionNoRegion code to filter results (e.g., 'US', 'EU')
yearNoYear of emission factors
sourceNoSource organization of emission factors (e.g., 'IPCC', 'EPA', 'BEIS')
data_versionNoData version of emission factors
unit_typeNoUnit type of emission factors (e.g., 'energy', 'distance', 'weight')

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It describes the search functionality but lacks behavioral details: it doesn't mention whether this is a read-only operation, how results are returned (e.g., pagination, format), rate limits, authentication requirements, or error handling. For a search tool with 7 parameters and no annotation coverage, this leaves significant gaps in understanding how the tool behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose. It avoids redundancy by not repeating schema details. However, it could be slightly more structured by separating the action from the goal (e.g., 'Search for emission factors... Use this to...'), but overall it's concise and well-focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (7 parameters, no annotations, no output schema), the description is adequate but incomplete. It covers the basic purpose and parameters but lacks behavioral transparency and clear usage differentiation from siblings. Without an output schema, it doesn't describe return values, which is a gap for a search tool. It meets minimum viability but has clear room for improvement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with all 7 parameters well-documented in the schema. The description adds minimal value beyond the schema by listing the same parameters (keyword, category, region, year, source, other metadata) without providing additional context like examples beyond 'query' or explaining interactions between parameters. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Search Climatiq's database for emission factors by keyword, category, region, year, source, and other metadata to find appropriate factors for calculations.' It specifies the action (search), resource (emission factors database), and scope (by various metadata). However, it doesn't explicitly distinguish this general search tool from the more specific sibling tools like 'electricity-emission' or 'travel-emission' that appear to target specific domains.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through 'to find appropriate factors for calculations,' suggesting this is for discovery before calculation. However, it provides no explicit guidance on when to use this tool versus the more specific sibling tools (e.g., 'electricity-emission' for electricity-related factors), nor does it mention prerequisites like API key setup (though 'set-api-key' exists as a sibling). The guidance is present but incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

set-api-keyA

Set the Climatiq API key for authentication. This allows the server to make authorized requests to the Climatiq API.

ParametersJSON Schema
NameRequiredDescriptionDefault
api_keyYesYour Climatiq API key obtained from app.climatiq.io

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly indicates this is a configuration/mutation tool (setting an API key) and explains the authentication purpose. However, it doesn't address important behavioral aspects like whether this persists across sessions, if it overwrites existing keys, what happens on failure, or any rate limits/security implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description consists of two focused sentences that directly address the tool's purpose and usage. Every word earns its place with zero redundancy or fluff. The information is front-loaded and efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter authentication tool with no annotations and no output schema, the description provides adequate basic context about what the tool does and why. However, it lacks details about behavioral consequences (persistence, error handling) and doesn't explain what 'success' looks like since there's no output schema to document return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the single parameter 'api_key' well-documented in the schema itself. The description doesn't add any additional parameter semantics beyond what the schema already provides (it mentions 'API key' but doesn't elaborate on format, validation, or source requirements). This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Set') and resource ('Climatiq API key for authentication'), with the explicit purpose of enabling authorized API requests. It distinguishes this from sibling tools that perform emission calculations or searches, making it immediately clear this is an authentication configuration tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: 'for authentication' and 'to make authorized requests to the Climatiq API.' It implies this should be used before calling other emission calculation tools that require authentication, providing clear contextual guidance without needing to list specific alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

travel-emissionC

Calculate emissions from passenger travel via car, plane, or train, with options for vehicle types and passenger count.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeYesTravel mode (car, plane, train)
distanceNoDistance traveled (optional if origin and destination are provided)
distance_unitNoDistance unit (km, mi)km
passengersNoNumber of passengers (for car travel)
vehicle_typeNoFor car: small/medium/large; For plane: short/medium/long-haul/domestic/international; For train: electric/dieselmedium
fuel_typeNoFor car: regular/electric/hybridregular
originNoOrigin location for travel API (allows automatic distance calculation)
destinationNoDestination location for travel API (allows automatic distance calculation)
yearNoYear of travel for more accurate emission factors
car_detailsNoDetailed car specifications for more accurate calculations
air_detailsNoDetailed flight specifications for more accurate calculations

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does (calculates emissions) but doesn't describe important behavioral aspects: whether this is a read-only calculation or has side effects, what the output format looks like, whether it requires authentication (like 'set-api-key' sibling suggests), or any rate limits. The description is minimal and lacks operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose and key features without waste. It's appropriately sized for a calculation tool and front-loads the essential information. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 11 parameters, nested objects, no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns, how results are formatted, whether calculations are real-time or cached, or how it integrates with sibling tools like 'set-api-key'. The description leaves too many operational questions unanswered given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 11 parameters thoroughly. The description adds minimal value beyond the schema - it mentions 'options for vehicle types and passenger count' which are covered in the schema, but doesn't provide additional context about parameter interactions or usage patterns. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate emissions from passenger travel via car, plane, or train' - a specific verb (calculate) with resource (emissions) and scope (passenger travel). It distinguishes from siblings like 'freight-emission' and 'hotel-emission' by focusing on passenger travel, though it doesn't explicitly differentiate from 'travel-spend' which might be related.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions 'options for vehicle types and passenger count' but doesn't specify when to choose this over sibling tools like 'custom-emission-calculation' or 'search-emission-factors', nor does it mention prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

travel-spendC

Calculate carbon emissions from travel-related spending based on spend type, amount, currency, location, and year.

ParametersJSON Schema
NameRequiredDescriptionDefault
spend_typeYesType of travel spending (air, road, rail, sea, hotel)
moneyYesAmount of money spent
money_unitYesCurrency unit for the spent money
spend_locationYesLocation of the travel spending
spend_yearNoYear of the travel spending

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It describes what the tool does (calculation) but doesn't mention important behavioral aspects: whether it's a read-only operation, what format the output takes, whether it requires authentication (like 'set-api-key'), accuracy limitations, or rate limits. For a calculation tool with zero annotation coverage, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose. It lists all parameters without unnecessary elaboration. While it could potentially be more structured, every word serves a purpose and there's no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a calculation tool with 5 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (emissions in what units?), how accurate the calculation is, what data sources are used, or whether authentication is required despite 'set-api-key' being a sibling tool. The agent lacks crucial context for proper tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description lists the same parameters ('spend type, amount, currency, location, and year') but doesn't add meaningful semantic context beyond what's in the schema descriptions. It doesn't explain how these parameters interact or affect the calculation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate carbon emissions from travel-related spending' with specific parameters listed. It uses a clear verb ('calculate') and identifies the resource ('carbon emissions'), but doesn't explicitly differentiate from sibling tools like 'travel-emission' or 'hotel-emission' which might have overlapping functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives. The description lists parameters but doesn't indicate prerequisites, appropriate contexts, or when to choose this over sibling tools like 'travel-emission' or 'custom-emission-calculation'. The agent must infer usage from the parameter list alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updates
    • First observedcloud-computing-emission
    • First observedcustom-emission-calculation
    • First observedelectricity-emission
    • First observedfreight-emission
    • First observedhotel-emission
    • First observedprocurement-emission
    • First observedsearch-emission-factors
    • First observedset-api-key
    • First observedtravel-emission
    • First observedtravel-spend

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct purpose targeting specific domains like cloud computing, electricity, freight, hotel stays, procurement, travel, and emission factor search. There is no overlap in functionality, and the descriptions precisely differentiate each tool's scope, making misselection unlikely.

Naming Consistency5/5

All tool names follow a consistent hyphenated pattern with a clear noun-emission or action-emission structure (e.g., cloud-computing-emission, search-emission-factors, set-api-key). This uniformity enhances readability and predictability across the tool set.

Tool Count5/5

With 10 tools, the server is well-scoped for carbon emission calculations across various domains. Each tool earns its place by covering distinct aspects like transportation, energy, procurement, and authentication, providing a comprehensive yet manageable surface for the Climatiq API.

Completeness5/5

The tool set offers complete coverage for carbon emission calculations, including key domains (electricity, travel, freight, procurement), a search tool for emission factors, a custom calculation option, and authentication via set-api-key. There are no obvious gaps, enabling agents to handle full workflows from data lookup to emission assessment.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers