Skip to main content
Glama

Get Building Characteristics (BDNB)

get_building_characteristics
Read-only

Physical building characteristics for a DVF sale, from the BDNB national building database: construction year, units, floors, wall and roof material, primary usage, and median price/m² from BDNB's pre-2022 DVF stats. MCP Apps hosts render a visual identity card of the building.

REQUIRED: transaction_id (the "id" field of a search_property_transactions or lookup_property_history result)

Matched to the nearest BDNB building within 200m; none found → null and credits refunded.

Example: transaction_id: "12345678" → { building: { annee_construction: 1967, nb_logements: 48, mat_mur: "beton", ... } }

Cost: 2 credits

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "transaction_id": "<transaction_id>"
    },
    "name": "get_building_characteristics"
  }
}

Input Schema

NameRequiredDescriptionDefault
transaction_idYesDVF transaction ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/non-destructive/closed-world, and the description adds materially more: a 2-credit cost, nearest-building matching within 200m, and the null-plus-refund fallback when nothing is found. It also discloses that MCP Apps hosts render a visual identity card, which is non-obvious hosting behavior.

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 resource and returned fields, then requirements, matching behavior, example, and cost in a scannable order. Most sentences earn their place, though the BDNB source is restated a couple of times and the formatting is slightly dense.

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 a concrete example object and documents the null fallback, so an agent knows what to expect. For a single-parameter read tool with annotations covering safety, nothing needed to call it correctly is missing.

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% for the single parameter, so the baseline is 3, but the description adds real meaning beyond the schema's bare 'DVF transaction ID': it specifies the exact source field to pull from two named sibling tools and gives a literal example value. This reduces ambiguity in how to populate the parameter.

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?

Names a specific verb and resource ('Physical building characteristics for a DVF sale') and enumerates the exact fields returned (construction year, units, floors, wall/roof material, usage, median price/m²). It also names the source database (BDNB) and the keying entity (a DVF transaction), which cleanly separates it from the aggregate/analytic siblings like analyze_building_stock.

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?

Explicitly states the required input and where it comes from ('the "id" field of a search_property_transactions or lookup_property_history result'), which gives a clear call-order condition. It does not state when to prefer this over analytic siblings or when-not to use it, so the exclusion guidance is incomplete.

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