Skip to main content
Glama

Analyze Building Age Price Impact (BDNB)

analyze_building_age_price_impact
Read-only

Median prix/m² by construction decade for a location: the premium or discount of each era vs the area median.

Buckets: avant_1919, 1919_1945, 1946_1970, 1971_1990, 1991_2005, 2006_plus

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

Example row: { tranche: "1946_1970", nb: 312, prix_m2_median: 3800, vs_zone_pct: -12 } → 12% below the area median

Window: sales of the latest 3 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": "analyze_building_age_price_impact"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only/non-destructive safety profile, and the description adds genuinely new behavior: the data window is limited to the latest 3 years of sales, the response carries a top-level window {requested, applied, reason} that may differ from what was asked, and each call costs 10 credits. The example row shows how to read vs_zone_pct. It does not describe pagination or what happens when no sales match the filter, keeping it from a 5.

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 one-line purpose, then buckets, required/optional parameters, a worked example row, the window caveat, and cost. Every block maps to a question an agent would otherwise have to guess at, and there is no 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?

With no output schema, the description still conveys the return shape via an annotated example row and explains the top-level window object. Combined with 100% schema coverage for the four parameters and annotations covering safety, an agent has enough to invoke and interpret this tool without further guesswork.

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 a constraint the schema does not encode: the schema lists zero required parameters, while the description mandates at least one of code_postal, commune, or code_departement. That is meaningful semantics not recoverable from the schema alone, plus it clarifies type_local is a filter defaulting to 'all'.

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 states a concrete verb and resource — median prix/m² by construction decade for a location, expressed as a premium/discount versus the area median. The bucket list and example row make the output shape unmistakable. It never names a sibling tool (e.g., analyze_building_stock or analyze_price_trends) to explicitly draw the boundary, so it falls short of a 5.

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?

It gives invocation preconditions ('REQUIRED: at least one location') and marks type_local as optional, which helps an agent call it correctly. However, there is no guidance on when to prefer this tool over its siblings, nor any stated exclusions or preconditions such as resolving a location first.

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