Skip to main content
Glama
gsaccardi

Dichiarino

by gsaccardi

calcola_detrazioni_familiari_tool

Calculate Italian tax deductions for dependent family members (spouse, children 21+, others), excluding under-21 children covered by AUU.

Instructions

Calcola le detrazioni per carichi di famiglia (coniuge, figli ≥21, altri).

    ATTENZIONE: Dal 2022 le detrazioni per figli UNDER 21 sono state abolite
    e sostituite dall'Assegno Unico Universale (AUU). Questa funzione le esclude.

    Args:
        reddito_complessivo: Reddito complessivo del dichiarante in euro.
        familiari: Lista di familiari a carico. Ogni elemento è un dict con:
            - tipo: "coniuge" | "figlio" | "altro"
            - mesi_a_carico: mesi di carico nell'anno (1-12, default 12)
            - percentuale_carico: quota di carico (0.5 o 1.0, default 1.0)
            - eta_inferiore_21: true se figlio under 21 (default false)
        anno: Anno di imposta. Default: 2024.

    Esempi familiari:
        [{"tipo": "coniuge"}, {"tipo": "figlio", "eta_inferiore_21": false}]
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
annoNo
familiariYes
reddito_complessivoYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden and does disclose important behavior: it excludes under-21 children and explains parameter roles. However, it does not describe the return format or edge-case behavior, and it contains a notable discrepancy: the description states 'Default: 2024' while the schema specifies default 2025, which undermines trust.

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 well-structured: a clear one-line summary, a prominent warning, and then a detailed Args section with an example. It is a bit long but every part adds value, and the example helps clarify the expected format for familiari.

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?

The tool has moderate complexity with nested familiari objects, and the description covers the critical AUU context and parameter formats. However, it lacks details about the calculation logic, invalid input handling, or what the output structure looks like (though an output schema exists). The default year mismatch is also a gap in completeness.

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?

The schema provides zero parameter descriptions, so the description's Args section is essential. It thoroughly explains reddito_complessivo, familiari (including sub-fields like tipo, mesi_a_carico, percentuale_carico, eta_inferiore_21), and anno. The value is slightly diminished by the default year mismatch and lack of enforcement of the documented sub-field values in 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 description clearly states the tool's purpose with a specific verb ('Calcola le detrazioni per carichi di famiglia') and resource scope ('coniuge, figli ≥21, altri'), immediately distinguishing it from sibling tools like calcola_irpef or calcola_detrazione_lavoro. The additional warning about under-21 exclusions further clarifies what it does and does not cover.

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?

The description provides clear context on when to use the tool (for family dependents excluding under-21 children) and an explicit when-not-to-use condition (under-21 children, which are handled by AUU). However, it does not explicitly name an alternative tool from the sibling list, so it stops short of a full alternative recommendation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gsaccardi/dichiarino-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server