Skip to main content
Glama

Score Renovation Potential (BDNB)

score_renovation_potential
Read-only

Identify renovation opportunities: pre-1975 buildings priced below the area median.

Returns a score 0-100 (higher = more potential: bigger discount + older stock), the count of such properties, median price/m² for old buildings vs. area median, average construction year, and dominant wall material.

REQUIRED: at least one location — code_postal, commune, or code_departement OPTIONAL: type_local (Maison|Appartement)

Example output: { score: 72, nb_opportunites: 145, decote_vs_zone_pct: 18, annee_construction_moy: 1958, materiaux_murs_principal: "brique" } → Old buildings trade 18% below market; renovation potential score 72/100

Note: Score is null if fewer than 10 pre-1975 transactions found (statistically unreliable).

Cost: 10 credits

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

Input Schema

NameRequiredDescriptionDefault
communeNoCommune name (e.g., 'LYON')
type_localNoProperty type filter: Maison or Appartement (default: all)
code_postalNoPostal code (e.g., '69001')
code_departementNoDepartment code (e.g., '69')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

With readOnlyHint/openWorldHint/destructiveHint already supplied, the description still contributes real behaviour: the statistical-reliability floor that nullifies the score, the exact output keys with an example, and a 10-credit charge. That is more than the annotations convey, but the credit cost is stated without any warning about when it is consumed (e.g., on a null result).

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 opportunity definition, then output shape, then constraints, then cost — a sensible ordering. The example output block overlaps somewhat with the preceding prose listing of returned fields, so it is slightly longer than strictly necessary, but nothing is filler.

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?

There is no output schema, so the description carries the return contract itself, and it does: named fields, an example payload, an interpretation of the score, and the null case. Combined with the required-location rule and the credit price, an agent has everything needed to call it and read the result correctly.

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 earns an extra point by declaring a constraint the schema omits entirely — 'REQUIRED: at least one location' against a schema with zero required properties — and by restating the Maison/Appartement filter as optional-with-default.

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 states a specific verb and analysis ('Identify renovation opportunities') and then defines the exact population scored: pre-1975 buildings priced below the area median. It goes further by pinning down the sense of the score (0-100, higher = bigger discount + older stock), so an agent can distinguish it from neighbouring analytical tools like analyze_building_age_price_impact without opening a schema.

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 clear operating context: at least one location parameter is mandatory, type_local is an optional narrowing filter, and results below 10 pre-1975 transactions return a null score. It does not, however, name or exclude any alternative tool, so an agent must infer for itself when this beats a general transaction search.

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