Skip to main content
Glama

Score Renovation Potential (BDNB)

score_renovation_potential
Read-only

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

Returns a 0-100 score (higher = bigger discount + older stock), the count of such properties, median price/m² for old buildings vs the area median, average construction year and dominant wall material. score is null under 10 pre-1975 sales.

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

Window: sales of the latest 2 years of data (BDNB join timeout), given in the top-level window {requested, applied, reason}.

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.7/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses the minimum-sample guard (score is null under 10 pre-1975 sales), the window truncation and its reason ('BDNB join timeout'), the top-level window object shape, and a per-call cost of 10 credits. These are exactly the operational traits an agent cannot learn from the annotations.

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

Conciseness5/5

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

Front-loaded with the purpose and return shape, then labeled REQUIRED/OPTIONAL, an example payload, the window caveat, and cost — each line carries distinct information. Minor overlap between the field list and the example output is tolerable and helps scanning.

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?

With no output schema, the description compensates fully by listing the returned fields, an example response, the null-score edge case, the data window, and the credit cost. An agent has everything needed to call it and interpret the result without additional lookup.

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 would be 3, but the description adds a constraint the schema does not enforce: the schema sets required to zero, while the description states at least one of code_postal, commune, or code_departement is required. The type_local enum restatement is redundant, keeping it from a 5.

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 (score) on a precisely defined resource: pre-1975 buildings priced below the area median, with a 0-100 output. The opening clause 'Renovation opportunities' plus the explicit scoring formula ('higher = bigger discount + older stock') lets an agent distinguish it from siblings like score_market_health or analyze_building_age_price_impact without opening another 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 invocation context: at least one location parameter is required, type_local is optional, and the data window is limited to the latest 2 years. It does not name a sibling alternative or say when another tool would be a better fit, so it stops short of full when/when-not guidance.

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