Skip to main content
Glama

Get exchange rate provider

get_exchange_rate_provider
Read-only

Get Exchange Rate Provider

When to use: 해외 판매처 숫자를 원화로 환산할 때 이 프로젝트가 일자별 환율을 어느 소스에서 가져오는지 설명해야 할 때. 고정 환율이 없는 통화에 적용되는 환율 기준을 돌려준다. KMBCO 이면 일자별 KMBCO 환율을 쓰고(그 날 값이 없거나 0 이면 구글 파이낸스 종가로 대체), GOOGLE_SHEET 이면 일자별 구글 파이낸스 종가를 쓴다. 고정 환율(list_fixed_exchange_rates)이 있는 통화는 어느 기준이든 고정 환율이 먼저다.

Limitations: 조회만 한다 — 환율 기준 변경은 MCP 로 할 수 없고 웹 데이터 관리 화면에서 한다. 필드: provider(KMBCO | GOOGLE_SHEET), is_default(저장된 설정이 없어 기본값 KMBCO 로 응답했으면 true — 명시적으로 KMBCO 를 고른 것과 구분), updated_at·updated_by(저장된 설정이 있을 때만, 기본값 응답이면 null). 일자별 환율 값 자체는 돌려주지 않고, 기준을 바꾼 뒤 숫자에 반영되는 시점은 마트 갱신에 따르므로 변경 직후 반영됐다고 단정하지 않는다.

Examples:

  • Q: 이 프로젝트 해외 매출은 어느 환율 기준으로 환산돼? params: {}

Output shape: ExchangeRateProviderResponse — single object: project_id, provider, is_default, updated_at, updated_by.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_exchange_rate_provider"
  }
}

Input Schema

NameRequiredDescriptionDefault
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds substantially more: the is_default flag distinguishes an unstored default response from an explicitly chosen KMBCO, updated_at/updated_by are null in the default case, and the tool does not return the actual rate values. It also discloses that post-change propagation depends on mart refresh.

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

Conciseness4/5

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

The structure is strong — purpose, When to use, Limitations, Examples, Output shape — so it is well front-loaded. It is slightly verbose, repeating field-level details that the output schema already covers, and mixes Korean narrative with English identifiers.

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

Completeness5/5

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

The description includes the output shape and field semantics, so every piece of information needed to call the tool correctly is present. The single parameter is implicitly defined; the read-only constraint and the default-provider caveat are both stated.

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?

There is a single optional project-id parameter with 0% schema description coverage, so the description must carry the burden; it does so indirectly by framing every statement around 'this project' and showing an empty params example. It never explicitly names project-id or explains the null/default behavior, but the meaning is effectively conveyed.

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: it returns which source (KMBCO or GOOGLE_SHEET) the project uses for daily exchange rates, and explains the fallback semantics of each. It explicitly separates itself from fixed-rate handling by naming list_fixed_exchange_rates as the higher-priority mechanism.

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?

It opens with an explicit 'When to use' condition (explaining how overseas-seller figures were converted to KRW) and a Limitation stating that this tool is read-only and the provider cannot be changed through MCP — only via the web data-management screen. It also warns the agent not to claim the change is reflected immediately, which is exactly the kind of misuse guidance that prevents wrong invocation.

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