Skip to main content
Glama

cola_calculator_by_postcode

DSSR COLA calculator by postcode

Returns the rate in percentage, the annual and the biweekly amounts of cost of living allowance (COLA) for a given DSSR postcode. Use this endpoint to automate your COLA calculations and replace the official excel file.

Input Schema

NameRequiredDescriptionDefault
dateNoSpecific date in YYYY-MM-DD format
postcodeYes5-digit DSSR post code (no zero-padding)
base_salaryYesBasic annual salary, excluding U.S. locality pay; including Overseas Comparability Pay.
family_sizeYesThe number of family members, including the FS/DoS employee/contractor

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose the return shape (rate percentage plus annual and biweekly amounts), which is genuinely useful, but says nothing about the effect of omitting the optional date, what happens with an invalid/non-DSSR postcode, or any auth/rate constraints. Read-only calculation is the obvious behavior, so the risk is low.

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 short sentences, front-loaded with the resource and followed by return values. Minor redundancy between 'COLA calculator' and 'COLA calculations', but nothing wasteful.

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 four-parameter tool with no annotations and no output schema, describing the three return values is a real contribution. However, the semantics of the optional date (default, as-of behavior) and postcode validity handling are left entirely to the caller's assumptions.

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 postcode, family_size, base_salary and date, including format and units. The description adds no parameter-level meaning beyond that, so the baseline 3 applies; notably it never mentions the optional date parameter or its default.

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 resource (COLA calculation for a DSSR postcode) and names the concrete outputs (percentage rate, annual and biweekly amounts), which clearly separates it from the mileage and per-diem calculators in the sibling list. It doesn't explicitly name an alternative, but the resource is distinct enough to route on.

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 line about automating COLA calculations and replacing the official excel file implies the intended usage context, but there is no when-to-use vs when-not guidance and no mention of the other calculation tools (mileage, per diem) or of prerequisites such as having a valid DSSR postcode.

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