Skip to main content
Glama

Strumenti di calcolo dello Studio Notarile Chianese

Chi eredita, e in che quote

quote_ereditarie
Read-onlyIdempotent

Dalla composizione della famiglia calcola, secondo la legge italiana, due cose: chi eredita e in che quote se non c'è testamento, e la quota che la legge riserva a coniuge, figli e genitori anche contro un testamento, con quello che resta libero. Si usa quando qualcuno chiede a chi va un'eredità, quanto spetta a ciascuno, o di quanta parte si può disporre con un testamento. Servono: se c'è un coniuge e quanti figli; genitori e fratelli in vita contano solo se non ci sono figli né loro discendenti. Restituisce le quote in frazioni e, se si indica il valore dell'eredità, anche in euro. Non calcola le imposte di successione, che calcola imposte_successione_donazione; per nonni, altri parenti, rinunce e indegnità rimanda allo studio. In English: who inherits under Italian law when there is no will, each heir's share, and the share reserved to spouse, children and parents (forced heirship).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
figliYesQuanti figli in vita, adottivi e nati fuori dal matrimonio compresi.
coniugeYes«si» = c'è un coniuge, o un unito civilmente, anche separato senza addebito; «addebito» = coniuge separato con addebito; «no» = nessun coniuge (il divorziato e il convivente non ereditano).
nonniInVitaNoSe, senza genitori, ci sono nonni in vita. Conta solo se non ci sono discendenti.
valoreEreditaNoIl valore dell'eredità in euro, facoltativo: se c'è, le quote si danno anche in euro.
genitoriInVitaNoQuanti genitori in vita. Conta solo se non ci sono figli né loro discendenti.
figliDiFigliCheNonCiSonoPiuNoPer ogni figlio che non c'è più e ha lasciato figli: quanti ne ha lasciati. Esempio: [2] = un figlio premorto con due figli.
fratelliConUnGenitoreInComuneNoFratelli e sorelle in vita con un solo genitore in comune. Contano solo se non ci sono discendenti.
figliDiFratelliCheNonCiSonoPiuNoPer ogni fratello o sorella che non c'è più e ha lasciato figli: quanti ne ha lasciati, e se aveva un solo genitore in comune.
fratelliConDueGenitoriInComuneNoFratelli e sorelle in vita con tutti e due i genitori in comune. Contano solo se non ci sono discendenti.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
paginaYesL'indirizzo della pagina dello Studio dove rifare lo stesso calcolo.
avvertenzeYesChe cosa il calcolo non comprende e che cosa ha dato per scontato: va riferito insieme ai numeri.
casaDonataYesLa regola in vigore sulle case che arrivano da una donazione, dopo la Legge 2 dicembre 2025, n. 182: accompagna ogni risposta, e serve se si parla di rivendere, comprare o ipotecare una casa donata.
quotaRiservataYesLa parte che la legge riserva ai familiari stretti anche contro un testamento, e quella che resta libera.
senzaTestamentoYesChi eredita e in che quote se non c'è testamento.
valoriAggiornatiAlYesLa data a cui sono aggiornati aliquote, coefficienti e franchigie usati nel calcolo, per esempio «18 settembre 2026».

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context: it returns shares as fractions and optionally in euros, and it explicitly excludes inheritance tax calculations. It does not, however, need to restate the read-only nature already covered by annotations.

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 description is front-loaded with the core purpose and usage, followed by required inputs, return format and exclusions. It is somewhat dense and includes a full English translation that repeats the Italian content, but for a complex legal calculation tool this redundancy is minor and the structure remains clear.

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?

Given nine parameters, two enums, an output schema, and read-only annotations, the description is complete enough for an agent to select and invoke the tool correctly. It covers purpose, usage, required inputs, conditional parameter relevance, return format, and scope limitations including the relevant sibling tool.

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 description coverage is 100%, so all parameters are already documented in the input schema. The description adds conditional relevance by noting that spouse and number of children are needed, while parents and siblings matter only when there are no children or descendants. This goes beyond the schema by clarifying which inputs drive the calculation in different scenarios.

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 calculation task: under Italian law, it determines who inherits, each heir's share when there is no will, and the forced share reserved to spouse, children and parents. It clearly distinguishes itself from imposte_successione_donazione by explicitly excluding inheritance taxes.

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 states when to use the tool (when asked who inherits, how much each receives, or how much can be disposed of by will) and names the alternative for tax calculations. It also sets scope boundaries by referring grandparents, other relatives, renunciations and indignity cases to a separate study.

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