Skip to main content
Glama
chrisbusbin-pixel

FreshTrack MCP Server

calculate_food_waste_cost

Read-onlyIdempotent

Calculate the annual and lifetime cost of household food waste. Uses the USDA average when no personal estimate is given to help assess savings from reducing waste.

Instructions

Calculate the annual and lifetime cost of household food waste. Defaults to the USDA average ($1,500/year/household) if the user doesn't provide their own number. Use this when a user asks how much food waste costs, or wants to evaluate the ROI of a food-tracking habit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
years_projectedNoYears to project (default: 10).
weekly_waste_usdNoEstimated weekly food waste in USD. If unknown, omit and the tool uses the USDA average.
Behavior4/5

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

Annotations indicate readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds that the tool defaults to the USDA average ($1,500/year/household) if no user input is provided, which is valuable behavioral context beyond the annotations. No contradictions.

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 two sentences: first sentence clearly states purpose and default behavior, second provides usage guidance. No redundant phrases, front-loaded with key information.

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

Completeness5/5

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

Given the tool has only two optional parameters, no output schema, and no nested objects, the description covers all necessary aspects: purpose, default behavior, and recommended use cases. It is complete for this level of complexity.

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

Parameters4/5

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

Schema description coverage is 100%, with both parameters described. The description adds context that weekly_waste_usd defaults to USDA average if omitted, and mentions annual and lifetime cost. This provides additional meaning beyond the schema's individual parameter descriptions.

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 calculates annual and lifetime cost of household food waste. It specifies the verb 'calculate' and the resource 'cost of household food waste', differentiating it from sibling tools like get_food_shelf_life or is_food_safe_to_eat.

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 explicitly says 'Use this when a user asks how much food waste costs, or wants to evaluate the ROI of a food-tracking habit.' This provides clear context for when to invoke the tool, though it doesn't explicitly state when not to use it. Given the siblings are unrelated, this is sufficient.

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

Install Server

Other Tools

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/chrisbusbin-pixel/freshtrack-mcp-server'

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