Skip to main content
Glama

Carbon Interface

Estimate Vehicle

estimate_vehicle
Read-onlyIdempotent

Estimate CO2 emissions from driving a vehicle. Provide distance and a vehicle model ID (from Carbon Interface). Returns carbon emissions in grams, kg, and metric tons. Example: estimate_vehicle(100, "7268a9b7-17e8-4c8d-acca-57059252afe9", "mi").

Input Schema

NameRequiredDescriptionDefault
unitNoDistance unit: "mi" or "km" (default: "mi")
_apiKeyYesCarbon Interface API key
distanceYesDistance traveled (e.g., 100)
vehicle_model_idYesCarbon Interface vehicle model UUID

Output Schema

NameRequiredDescriptionDefault
carbon_gYesCarbon emissions in grams
carbon_kgYesCarbon emissions in kilograms
carbon_lbYesCarbon emissions in pounds
carbon_mtYesCarbon emissions in metric tons
estimated_atYesISO timestamp of estimate
vehicle_makeYesVehicle manufacturer
vehicle_yearYesVehicle year of manufacture
distance_unitYesDistance unit (mi or km)
vehicle_modelYesVehicle model name
distance_valueYesDistance traveled

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful context—that it relies on the Carbon Interface API and returns emissions in grams, kg, and metric tons—but does not disclose potential errors, rate limits, or authorization requirements beyond the schema's _apiKey parameter. This is comparable to the calibration example where annotations cover safety and description adds moderate 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 three sentences: purpose, required inputs, and output units, followed by an example. Every sentence contributes valuable information, and the most critical details are front-loaded. It is appropriately concise without unnecessary elaboration.

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

Completeness4/5

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

With a full output schema, 100% parameter coverage, and strong annotations, the description does not need to explain return structures or safety. It adds the external dependency (Carbon Interface) and output units, making it complete for an estimation tool. The absence of explicit sibling alternatives is a minor gap, but the description adequately contextualizes the tool's role.

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 coverage is 100% with descriptions for all four parameters, so the baseline is 3. The description adds an example call that clarifies positional ordering and unit semantics, but it does not provide additional meaning beyond what the schema already conveys. The example array in the schema further reduces the need for extra parameter explanation.

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 tool's function: "Estimate CO2 emissions from driving a vehicle." It uses a specific verb and resource, and the phrase "driving a vehicle" distinguishes it from sibling tools like estimate_electricity and estimate_flight. The example call further reinforces the purpose.

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

Usage Guidelines4/5

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

The description provides a concrete example with arguments, implying how to use the tool. It mentions the prerequisite of a Carbon Interface vehicle model ID and shows the expected unit parameter. However, it does not explicitly exclude alternative tools or state when to prefer this over estimate_flight or estimate_electricity, though the scope is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.