Skip to main content
Glama

Ajustar un monto por índice

ajustar_monto
Read-onlyIdempotent

Actualiza un monto en pesos entre dos fechas según UVA, CER, ICL o inflación (IPC). Devuelve el monto ajustado, el factor y la variación porcentual. Para IPC compone la inflación mensual de los meses posteriores al mes inicial hasta el mes final inclusive. Para intereses de juicios o deudas en mora usá intereses_judiciales; para un alquiler con cronograma, actualizar_alquiler. Costo: 2 crédito(s).

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": "<monto>",
      "indice": "<indice>",
      "desde": "<desde>"
    },
    "name": "ajustar_monto"
  }
}

Input Schema

NameRequiredDescriptionDefault
desdeYesFecha del monto original, YYYY-MM-DD
hastaNoFecha destino, YYYY-MM-DD. Por defecto hoy.
montoYesMonto original en pesos
indiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. 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 read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful context beyond that: it names the returned values (adjusted amount, factor, percentage variation), explains IPC composition logic, and states the cost of 2 credits. It does not cover error conditions, but this is acceptable given the annotation coverage.

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 front-loaded with the core purpose, followed by return values, IPC detail, alternatives, and cost. Every sentence adds value without redundancy or wasted 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 read-only calculation tool with no output schema, the description covers the essential return values, cost, alternatives, and IPC computation logic. Minor gaps like date defaults and edge-case behavior are adequately handled by the input schema.

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 coverage is 75%, so the schema already documents most parameters. The description adds meaning beyond the schema by explaining how the 'indice' enum behaves for 'ipc' across the date range: it compounds monthly inflation from the month after the initial month through the final month inclusive.

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 verb and resource: 'Actualiza un monto en pesos entre dos fechas según UVA, CER, ICL o inflación (IPC).' It also distinguishes the tool from siblings by naming specific alternatives for judicial interest and rent schedules.

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?

The description explicitly routes users: judicial interest or debts in arrears should use intereses_judiciales, and rent with a schedule should use actualizar_alquiler. It also lists the supported index options, making the intended scope clear.

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