Skip to main content
Glama

Get Property Tax Context (DGFiP)

get_property_tax_context
Read-only

Property-tax rates voted in a French commune for one fiscal year, from DGFiP: taxe foncière sur les propriétés bâties (TFPB) global rate and household-waste tax (TEOM) rate.

REQUIRED: code_insee (INSEE commune code, e.g. "33063"; get it from resolve_location) Optional: exercice (fiscal year, default: latest ingested), include_components (constituent rates by authority)

Commune rate only, never a property's tax amount: a bill also depends on its taxable base, exemptions and TEOM zoning. Say "taux de taxe foncière dans la commune", never "votre taxe foncière". teom.status is "not_available_or_not_representative" when the rate is null (no TEOM, REOM, or zoned). Always show source.publisher, source.dataset and source.source_updated_at.

Cost: 5 credits per call (refunded when no rate is found)

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": {
      "code_insee": "<code_insee>"
    },
    "name": "get_property_tax_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
exerciceNoFiscal year (default: latest ingested year)
code_inseeYesINSEE commune code ('33063', '2A004', '97209')
include_componentsNoInclude the published constituent rates (commune, intercommunality, syndicates, special taxes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the read-only and non-destructive annotations, it discloses the five-credit cost, refunds when no rate is found, latest-ingested-year behavior, and the meaning of a null TEOM rate and its status. It also specifies mandatory provenance display and wording safeguards against presenting a communal rate as a user's actual tax bill.

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?

The description is front-loaded with purpose, followed by compact parameter guidance, interpretation limits, missing-data and provenance rules, and cost. Although dense, the status handling and exact wording instructions are operational details rather than 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?

For a three-parameter read tool, it covers prerequisites, defaults, scope limitations, absent-data behavior, provenance requirements, and billing. Despite the absence of an output schema, it supplies the key output semantics needed to interpret teom.status and avoid misleading claims about property tax amounts.

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 REQUIRED/Optional block largely repeats information already available structurally. Its meaningful addition is the workflow guidance to obtain code_insee through resolve_location, while exercice and include_components receive little semantic detail beyond the schema.

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 opening sentence identifies the exact resources (TFPB global and TEOM rates), geography (a French commune), time scope (one fiscal year), and source (DGFiP). The later "Commune rate only" boundary clearly distinguishes it from property-specific valuation or tax-estimation tasks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes agents to resolve_location when they need a code_insee and states the fiscal-year default. "Commune rate only, never a property's tax amount" supplies a clear when-not boundary and explains why a property bill requires additional inputs.

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