Skip to main content
Glama

CasaLog calculators

A Swedish housing cooperative's key figures

brf_key_figures
Read-onlyIdempotent

Reads the key figures of a Swedish housing cooperative (bostadsrättsförening, brf) from its annual report, as required since 2023, and says for each whether it is low, ordinary or high and whether that is good or a warning, by SEB's reading. Give at least one of fee, debt, saving, rate and energy. With the flat's area (and price): the fee a month, its share of the cooperative's loans, what 1 and 2 percentage points' higher interest would add to the fee a month, and the price with the share of the loans. The interest sensitivity, if not given, is worked out from the debt and the fee; if given, computed_rate has the worked-out one to compare. hints say what is missing or looks mistyped. In kronor.

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": "brf_key_figures"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeNoÅrsavgift per kvm: the yearly fees per square metre of the flats, kr/m².
areaNoThe flat's living area, m².
debtNoSkuldsättning per kvm: the cooperative's loans per square metre, kr/m².
rateNoRäntekänslighet: how much the fees would rise, in %, if the interest rose 1 percentage point.
priceNoThe flat's price, kr.
energyNoEnergikostnad per kvm: the yearly energy cost per square metre, kr/m².
savingNoSparande per kvm: what the cooperative saves a year per square metre, kr/m².

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With annotations covering the safety profile (readOnly, idempotent, closed-world), the description still adds substantial behavior: the data source (annual report, mandatory since 2023), the SEB-specific interpretation of each figure, the derived outputs, and a 'hints' channel that reports missing or mistyped inputs. It stops short of describing how figures are derived or what the result object looks like, and 'computed_rate' is introduced without explaining its role in the output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the middle is a dense, comma-chained sentence covering inputs, outputs, derivation logic and hints all at once, which forces re-reading. Splitting the input requirement and the derived-output block would cost nothing and gain a lot; no words are strictly wasted, but the structure is flat.

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?

There is no output schema, so the description must carry return semantics, and it largely does: per-figure ratings, the good/warning verdict, the computed monthly fee and interest-sensitivity figures, and a hints field. Fields such as computed_rate and the shape of hints remain loosely specified, which is the main residual gap for a tool whose value lies in its derived numbers.

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 the baseline is 3, but the description adds meaning the schema cannot: the at-least-one-of constraint (schema marks nothing required), the interaction between area and price to unlock per-flat calculations, and the rule that rate is derived from debt and fee when omitted while computed_rate supplies the worked-out value for comparison. It does not clarify rounding, units beyond 'in kronor', or acceptable ranges.

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?

Opens with a specific verb and resource: reads the key figures of a Swedish housing cooperative from its annual report and classifies each as low/ordinary/high with a good-or-warning verdict. It also states the derived computations (monthly fee, loan share, interest sensitivity, price). It never names or contrasts the sibling tools maintenance_plan or renovation_cost, so differentiation is left to inference.

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?

Gives one real usage constraint — at least one of fee, debt, saving, rate or energy must be supplied — and implicitly describes two modes (figures only vs. figures plus area/price for per-flat calculations). It offers no explicit when-to-use-this-vs-alternatives guidance and no statement of when the tool is a poor fit.

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