Skip to main content
Glama

college cost total

college_cost_total
Read-onlyIdempotent

The full cost of a degree: net tuition after grants, housing and food, books, transport, loan interest (10-year repayment) and the pay given up while studying. US defaults are College Board 2026-27 public four-year figures; other countries use the calculator page's defaults. Use this when someone asks what college or university really costs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "college_cost_total"
  }
}

Input Schema

NameRequiredDescriptionDefault
booksNoBooks and supplies a year
yearsNoYears of study (default 4; 3 in GB, AU, CH)
grantsNoGrants a year
countryNoCountry (default us)
housingNoHousing and food a year (0 if living at home)
tuitionNoTuition and fees a year
loanRateNoLoan rate, %
transportNoTransport a year
forgoneWageNoPay given up a year while studying
loansPerYearNoBorrowed each year

Output Schema

NameRequiredDescriptionDefault
nextNoOptional paid follow-on (name, url, what) where it genuinely helps
noteNoWhen the figures were read, and that this is general information, not advice
pageYesThe calculator page to cite or link, https://decisionscalc.com/...
resultYesThe calculation (usually an object), same engine and figures as the calculator page
sourcesYesOfficial source URLs for the figures used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "next": {
      +      "description": "Optional paid follow-on (name, url, what) where it genuinely helps",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "what": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "When the figures were read, and that this is general information, not advice",
      +      "type": "string"
      +    },
      +    "page": {
      +      "description": "The calculator page to cite or link, https://decisionscalc.com/...",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The calculation (usually an object), same engine and figures as the calculator page"
      +    },
      +    "sources": {
      +      "description": "Official source URLs for the figures used",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result",
      +    "page",
      +    "sources"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish the safe-read profile (readOnlyHint, idempotentHint, non-destructive, closed-world), so the description's job is to add modeling context — and it does: it discloses the 10-year repayment horizon for loan interest, that forgone wage is counted as a cost, and that US figures default to College Board 2026-27 public four-year data while other countries fall back to the calculator page's defaults. That is genuine assumption disclosure an agent could not get from the annotations. It does not state currency handling or whether results are annualized or lifetime totals.

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?

Two sentences, front-loaded with the component breakdown before the usage trigger, with no filler text. The component list is long but each item carries information; minor overlap with the title phrase 'college cost total' is the only redundancy.

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 ten optional parameters, full schema coverage, rich annotations and an output schema (so return values need not be described), the description supplies what is missing: the components included, the default data sources, and the repayment horizon. Remaining gaps are modest — currency of results, and whether the figure is a per-year average or a whole-degree total.

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 all ten parameters are already documented and the baseline is 3. The description adds only marginal semantics beyond that — the 10-year loan repayment assumption behind loanRate/loansPerYear and the sourcing of the per-country defaults. It does not explain how loansPerYear and loanRate combine, or how grants interact with tuition to produce 'net' tuition.

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 names the resource precisely — the full cost of a degree — and enumerates the six cost components it aggregates (net tuition after grants, housing/food, books, transport, 10-year loan interest, forgone wage), which tells an agent exactly what this tool computes rather than just restating its name. It also scopes the domain to 'college or university,' which implicitly separates it from the other life-event cost calculators. It stops short of naming any specific sibling to contrast with.

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?

It gives an explicit trigger: 'Use this when someone asks what college or university really costs,' which is a clear selection condition. There are no exclusions or named alternatives, so an agent isn't told what this tool is *not* for (e.g. a single-year tuition lookup vs a full multi-year cost projection).

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.