Skip to main content
Glama

Convertir pesos a UVA o UVA a pesos

convertir_uva
Read-onlyIdempotent

Convierte un monto entre pesos y UVA usando el valor de la UVA en una fecha (por defecto hoy). Útil para créditos hipotecarios, plazos fijos UVA y contratos. Para un crédito o plazo fijo UVA, el banco puede usar otra fecha de corte del valor. 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": {
      "monto": "<monto>",
      "direccion": "<direccion>"
    },
    "name": "convertir_uva"
  }
}

Input Schema

NameRequiredDescriptionDefault
fechaNo
montoYes
direccionYes

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

A3.9/5.0
Behavior4/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 safety is covered. The description adds value beyond them: the date defaults to today, the bank may use a different cut-off value, and the call is free of cost. It does not describe the return payload, which matters since there is no output schema.

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, front-loaded with the core action, then applicability, then the bank cut-off caveat, then cost. No filler and every sentence adds information an agent would not get from the schema.

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

Completeness3/5

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

For a simple three-parameter read tool with annotations and no output schema, the core call semantics are covered. The notable gap is what comes back: the description does not say whether the response includes the UVA value used, both amounts, or the effective date, which an agent may need to report results.

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 carries the load for three parameters. It supplies the missing default for 'fecha' ('por defecto hoy'), which the schema does not encode, and 'direccion' is implied by 'entre pesos y UVA'. However, 'monto' and the two enum values are left entirely to the schema's own naming, so compensation is partial.

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: 'Convierte un monto entre pesos y UVA usando el valor de la UVA en una fecha'. An agent immediately understands the operation and its domain (UVA index), which is distinct from siblings like dolar_historico. It does not explicitly name or contrast a sibling tool, so it stops short of a 5.

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 concrete usage contexts ('créditos hipotecarios, plazos fijos UVA y contratos') and a real caveat that the bank may apply a different cut-off date for the UVA value. It does not state when NOT to use it or point to an alternative tool, so it lacks exclusions.

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