Skip to main content
Glama

Valor de un índice (UVA, CER, ICL, inflación)

indice_valor
Read-onlyIdempotent

Devuelve el valor de un índice económico argentino en una fecha (o el último publicado): UVA, CER, ICL (Índice para Contratos de Locación), inflación mensual o interanual (IPC). Fuente: BCRA. Para actualizar un monto entre dos fechas usá ajustar_monto. Costo: gratis.

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": {
      "indice": "<indice>"
    },
    "name": "indice_valor"
  }
}

Input Schema

NameRequiredDescriptionDefault
fechaNoYYYY-MM-DD. Si se omite, el último valor publicado.
indiceYesuva | cer | icl | ipc_mensual | ipc_interanual

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.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by naming the data source (BCRA) and that the call is free of cost, both of which matter for trusting and budgeting the lookup. It does not say what happens when a requested date has no published value.

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?

Three short sentences, zero filler, with the core purpose, the enumerated indices, and the sibling redirect ordered by importance. Even the brief 'Costo: gratis' carries decision-relevant information rather than padding.

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?

The tool is simple (two params, one required, no nesting, no output schema), and the description covers what it returns conceptually plus the source and index set. The one remaining gap is the return shape and what an agent gets for a date with no published value, which is not stated anywhere since there is no output schema.

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 coverage is 100%, so the baseline is 3, but the description earns more: it expands the bare enum tokens (uva|cer|icl|ipc_mensual|ipc_interanual) into plain-language meanings, spelling out ICL as 'Índice para Contratos de Locación' and clarifying that IPC is monthly or interannual inflation. That lets an agent pick the right enum value without guessing from abbreviations.

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 verb and resource ('Devuelve el valor de un índice económico argentino en una fecha (o el último publicado)') and enumerates the five accepted indices with ICL and IPC spelled out. It routes one adjacent task to a sibling ('Para actualizar un monto entre dos fechas usá ajustar_monto'), so an agent can separate it from that neighbor, though no other related sibling is addressed.

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?

Gives an explicit when-to-use-elsewhere rule: point-in-time index lookup here, monto updating in ajustar_monto. It also clarifies the omitted-date behavior (latest published value), which is the main ambiguity in how the tool is called. It stops short of exclusions such as what to do for a non-published date (weekend/holiday).

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