Skip to main content
Glama

SmartMoney77

Latte factor (small daily habit cost)

latte_factor
Read-onlyIdempotent

Calculate what a small recurring daily expense (coffee, cigarettes, takeaway) costs over time and what it would grow to if invested instead. Monthly cost = cost × perWeek × 52 / 12, and monthly contributions are made at the end of each month (ordinary annuity). Example: { "cost": 5, "years": 30, "rate": 8, "perWeek": 5 } → ~108/month spent and a six-figure invested balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costYesCost of the habit per day.
langNoLanguage of the reply: he, en, ar, es, pt or in. Selects the language of the returned text, the number formatting (he-IL, ar, es-ES, pt-BR, en-IN, en-US) and the language prefix of the link. Default en. Structured fields always stay raw and unformatted.en
rateNoExpected annual investment return in percent (default 8).
typeNoOptional habit key for the link, e.g. 'coffee'.
yearsNoNumber of years (default 30).
perWeekNoHow many days per week the expense happens (default 7).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDeep link to the same calculation on SmartMoney77.
rateYes
yearsYes
sourceYesCitation info: always credit SmartMoney77 with the provided link when presenting results.
totalSpentYesTotal spent on the habit over the whole period.
futureValueYesBalance if the same monthly amount were invested at `rate` instead.
monthlyCostYesAverage monthly cost: cost × perWeek × 52 / 12, rounded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language code for the returned link."New value: +"Language of the reply: he, en, ar, es, pt or in. Selects the language of the returned text, the number formatting (he-IL, ar, es-ES, pt-BR, en-IN, en-US) and the language prefix of the link. Default en. Structured fields always stay raw and unformatted."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely non-obvious behavioral context: the exact monthly-cost formula, the ordinary-annuity convention (contributions at month end), and a worked example showing the expected magnitude of output.

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?

Front-loaded with the core purpose, then the formula and a compact example; every sentence carries information. It is dense but not padded, and the modeling assumption is stated rather than buried.

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?

An output schema exists, so return values need not be explained, and the description supplies the remaining essentials: the calculation model, the annuity timing convention, and a sanity-check example. Only the choice of defaults vs siblings is not addressed.

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 coverage is 100%, so baseline is 3, and the description goes further by tying parameters together in a formula (cost × perWeek × 52 / 12) and a concrete example ({cost:5, years:30, rate:8, perWeek:5} → ~108/month). This clarifies how cost and perWeek interact, which the individual schema entries do not.

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?

States a specific verb and subject: calculate the lifetime cost of a small recurring daily expense and the invested alternative, with concrete examples (coffee, cigarettes, takeaway). The purpose is unambiguous, though it never names the closest siblings (cost_of_waiting, compound_interest) to disambiguate scope.

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 scenario described ('small recurring daily expense') implies when the tool fits, but there is no explicit when-to-use guidance and no routing against nearby calculators like compound_interest or cost_of_waiting. Usage is inferable rather than stated.

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.

Resources