Skip to main content
Glama

Variación real descontando la inflación

variacion_real
Read-onlyIdempotent

Calculate the nominal, inflation, and real variation of an amount between two months using UI, IPC_AR, or IPCA_BR, plus its value in final-month currency.

Instructions

Cuánto cambió un monto entre dos meses (AAAA-MM) en términos nominales y reales: ventas, precios, sueldos o alquileres. indice: UI para pesos uruguayos (Unidad Indexada del BCU), IPC_AR para pesos argentinos (INDEC), IPCA_BR para reales (IBGE). Devuelve la variación nominal, la inflación del período, la variación real y cuánto valdría el monto inicial en moneda del mes final.

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": {
      "monto_inicial": "<monto_inicial>",
      "mes_inicial": "<mes_inicial>",
      "monto_final": "<monto_final>",
      "mes_final": "<mes_final>"
    },
    "name": "variacion_real"
  }
}

Input Schema

NameRequiredDescriptionDefault
indiceNoUI
mes_finalYes
mes_inicialYes
monto_finalYes
monto_inicialYes

Output Schema

NameRequiredDescriptionDefault
notaYes
avisoNo
bajadoYes
fuenteYes
indiceYes
monedaYes
copia_vencidaNo
variacion_real_pctYes
variacion_nominal_pctYes
inflacion_del_periodo_pctYes
monto_inicial_en_moneda_finalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds real value by naming the underlying data providers (BCU, INDEC, IBGE), which explains the openWorld behavior, and by describing the shape of the result, but it discloses nothing about data availability limits, missing months, or failure modes.

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?

Three dense sentences ordered purpose → index selection → return values, with no filler. The final sentence partly restates what the output schema already declares, which is the only marginal waste.

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

Completeness4/5

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

For a five-parameter computation tool with an output schema present, the description covers what is computed, how to pick the index, the month format, and what comes back. Only minor gaps remain, such as how the pair monto_inicial/monto_final is interpreted and what happens when a month is out of the series' range.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden. It fully explains the `indice` enum and fixes the month format as AAAA-MM, which is genuinely useful absent from the schema; the two monetary parameters are left to their self-evident titles. Two of five parameters therefore remain without any added semantic detail.

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?

States a specific computation: how much an amount changed between two months (YYYY-MM) expressed both nominally and in real terms, with concrete use cases (sales, prices, salaries, rents). The verb+resource and output are unmistakable, though it does not explicitly differentiate itself from a related-looking sibling such as pesos_constantes.

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?

Provides clear application context ('ventas, precios, sueldos o alquileres') and, importantly, tells the agent which index to pick per currency: UI for Uruguayan pesos, IPC_AR for Argentine pesos, IPCA_BR for Brazilian reais. It stops short of explicit exclusions or of naming an alternative tool for deflation-only or single-currency conversions.

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