Skip to main content
Glama

Estimar neto anual de autónomo

kuotia_estimate_net_income
Read-onlyIdempotent

Use this when an autónomo in mainland Spain or Baleares asks roughly how much IRPF and cuota de autónomos they would pay in a year and how much they would keep, from yearly income, expenses and comunidad autónoma. Income and expenses are yearly amounts without recoverable VAT and without their own cuota de autónomos (the tool adds the cuota). Assumes a full year in estimación directa simplificada, individual filing, no other income, and the minimum cuota of their tramo unless they give theirs. An annual estimate, not a quarterly modelo 130 or 303 amount, and without regional deductions. tipo_medio_irpf is the IRPF over gross income. Do not use for employees, companies, Canarias, País Vasco, Navarra, Ceuta or Melilla, or a connected client's real returns.

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": {
      "year": "<year>",
      "annual_income": "<annual_income>",
      "annual_expenses": "<annual_expenses>",
      "region": "<region>"
    },
    "name": "kuotia_estimate_net_income"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNo
yearYes
regionYes
childrenNo
annual_incomeYes
monthly_cuotaNoTheir real monthly cuota de autónomos, if they know it.
annual_expensesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile needs no restating. The description earns credit above that baseline by disclosing modelling assumptions (full year, estimación directa simplificada, individual filing, no other income, minimum cuota of the tramo unless supplied) and by defining tipo_medio_irpf as IRPF over gross income.

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 trigger and the outcome, and every sentence adds routing or modelling information rather than filler. The middle sentences are long comma-chained run-ons (assumptions, exclusions) that would scan faster as a short bulleted list, but there is no genuinely wasted text.

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 7-parameter estimator with an output schema already covering return values, the definition supplies the trigger, the input semantics, the modelling assumptions, and the jurisdiction exclusions. Nothing material needed to invoke it correctly or to refuse misuse 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 description coverage is only 14%, so the description must carry the load; it does for the important inputs — annual_income/annual_expenses are yearly, VAT-exclusive and exclude the cuota (which the tool adds), and monthly_cuota is the user's real cuota. It does not explain year (2025/2026), age or children, and it says not to use Canarias/País Vasco/Navarra/Ceuta/Melilla even though the region enum accepts them, leaving a schema-vs-prose mismatch an agent must resolve.

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?

States a specific verb and resource: estimate annual IRPF plus cuota de autónomos and net take-home for an autónomo, computed from yearly income, expenses and comunidad autónoma. It explicitly carves out what it is NOT (quarterly modelo 130/303, regional deductions), so an agent can distinguish it from a tax-filing tool without opening a schema.

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?

Opens with an explicit 'Use this when…' trigger tied to a concrete user question (roughly how much IRPF/cuota and how much they keep). Closes with an explicit negative list — employees, companies, Canarias, País Vasco, Navarra, Ceuta, Melilla, and real connected-client returns — which is exactly the routing information an agent needs.

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