Skip to main content
Glama

check fr residency

check_fr_residency
Read-onlyIdempotent

France domicile fiscal criteria (no day count): any one of foyer or main place of stay in France, main professional activity in France, or centre of economic interests in France. Treaties prevail. France (impots.gouv.fr, art. 4 B CGI), as of 2026-11-22. General information only: not tax advice; tax treaties can override the result. Verdict is resident, nonresident or depends.

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

Input Schema

NameRequiredDescriptionDefault
foyerInFranceNoFoyer or main place of stay in France
mainActivityInFranceNoMain professional activity in France
economicCentreInFranceNoCentre of economic interests in France

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the description is not obligated to restate them. It adds genuinely new context: the legal authority (art. 4 B CGI, impots.gouv.fr), a version date (2026-11-22), the fact that treaties can override the verdict, and the three possible verdict values even though no output schema exists. It does not explain the 'depends' outcome semantics, which is the main remaining behavioral gap.

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?

The definition is compact and front-loads the substantive rule before the citation and disclaimer. There is minor redundancy: the treaty override point appears twice ('Treaties prevail' and 'tax treaties can override the result'), and the non-tax-advice warning is restated, but neither bloats it meaningfully.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-boolean tool with no output schema, the description does tell the agent what verdicts to expect, which is the most important missing piece otherwise. The significant gap is that there are zero required parameters: the description says nothing about whether all three criteria must be supplied, or what 'depends' means when only some booleans are provided. That ambiguity affects correct invocation.

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 percent, so each boolean is already self-documented. The description still adds meaning beyond the schema by stating the combination logic — 'any one of' the three criteria suffices — and by anchoring each criterion in the statutory wording. That OR-semantics is not derivable from three independent booleans in the schema, so this exceeds the baseline 3.

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 specific resource and rule set: French domicile fiscal criteria (foyer / main place of stay, main professional activity, centre of economic interests), and explicitly notes 'no day count', which separates it from day-count residency siblings. It also names the output space (resident, nonresident, depends). It does not explicitly contrast itself with the other check_*_residency siblings, which keeps it from 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?

Usage is implied by the domain: apply the three criteria to obtain a French residency verdict, and treaties may override the result. However, there is no explicit statement of when to call this versus other residency or French-calendar tools, and no guidance on prerequisites such as which inputs an agent should gather first. The treaty caveat functions more as a disclaimer than routing 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.