Skip to main content
Glama
mcp-server-chile
by crisvd

Get an economic indicator

get_economic_indicator
Read-onlyIdempotent

Retrieve Chilean economic indicators (UF, dólar, euro, UTM, IPC) for a specific date or the latest available to support business calculations; offline mode returns synthetic samples, not for real decisions.

Instructions

Returns UF, dólar, euro, UTM or IPC for a date (YYYY-MM-DD) or the latest available. OFFLINE MODE: returns synthetic sample values (is_sample=true); do not use for real decisions.

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": {
      "code": "<code>"
    },
    "name": "get_economic_indicator"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
dateNoYYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
fechaYes
valorYes
codigoYes
fuenteNo
nombreNo
unidadNo
is_sampleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 behavior, so the description's job is to add beyond that — and it does, disclosing an offline/synthetic mode and the is_sample=true flag that would otherwise silently corrupt downstream decisions. Minor ambiguity remains about whether offline mode is always on or conditional, which keeps it from a 5.

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?

Two tightly packed sentences with the core retrieval behavior front-loaded and the critical offline caveat placed immediately after; no filler or redundancy.

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?

An output schema exists so return values need not be explained, and the description still calls out the important is_sample field. For a two-parameter read tool with annotations covering safety, this is nearly complete; only the precise conditions triggering offline mode are left unspecified.

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?

The schema documents the date format and restricts code to an enum, and the description complements this by spelling out the enum values in natural language and clarifying that omitting the date yields the latest available value. This adds real semantics (optionality meaning) beyond the 50% schema coverage, though no per-code behavior detail is given.

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 ('Returns UF, dólar, euro, UTM or IPC') plus the accepted date scope, so an agent knows exactly what it retrieves. It does not distinguish itself from look-alike siblings such as convert_uf_to_clp, leaving the retrieve-vs-convert boundary implicit.

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 clear usage conditions: supply a date or omit it for the latest value, and explicitly warns not to use the result for real decisions due to synthetic values. It names no alternative tool for real-data needs, so routing guidance stops just short of complete.

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