Skip to main content
Glama

Pesos constantes con la Unidad Indexada

pesos_constantes
Read-onlyIdempotent

Converts peso amounts from different months into a base month’s constant pesos using BCU’s average indexed unit, so you can compare values in real terms.

Instructions

Lleva montos en pesos corrientes de distintos meses a pesos de un mes base, deflactando con la Unidad Indexada promedio del BCU. montos es {"AAAA-MM": monto}; base es "AAAA-MM". Sirve para comparar en términos reales pesos de fechas distintas.

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": {
      "montos": "<montos>",
      "base": "<base>"
    },
    "name": "pesos_constantes"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseYes
montosYes

Output Schema

NameRequiredDescriptionDefault
baseYes
avisoNo
bajadoYes
fuenteYes
metodoYes
copia_vencidaNo
ui_promedio_usadaYes
montos_en_pesos_de_la_baseYes

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

A4.3/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive operation. The description adds meaningful behavioral context by disclosing the deflation method and data source (BCU average Indexed Unit), which goes beyond what the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences plus compact parameter notation. It is front-loaded with the core operation and uses no unnecessary wording.

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 computational tool with an output schema and annotations covering safety, the description is largely complete. It explains purpose, method, and parameter formats, though it does not mention edge cases such as unavailable Indexed Unit data for a requested month.

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

Parameters5/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 full burden. It does so effectively: `montos` is documented as an object mapping 'AAAA-MM' to an amount, and `base` is documented as an 'AAAA-MM' string, fully compensating for the missing schema descriptions.

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 verb and resource: converting amounts in current pesos from various months into pesos of a base month using the BCU's average Indexed Unit. It also gives a clear use case, though it does not explicitly distinguish this tool from similarly related siblings such as variacion_real.

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 sentence 'Sirve para comparar en términos reales pesos de fechas distintas' gives clear context for when to use the tool. It does not provide exclusions or name alternative tools, but the intended usage is evident.

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