Skip to main content
Glama
T-Bank Invest MCP Server (read-only)

T-Bank Invest MCP Server (read-only)

by Sicness

get_currency_by

Read-only

Retrieve detailed currency instrument info by ticker, FIGI, ISIN, or UID, with an optional board class code to disambiguate listings.

Instructions

Get detailed currency instrument info.

Args: id: Currency ticker, FIGI, ISIN or UID — which one it is gets recognised automatically id_type: Only needed with class_code: INSTRUMENT_ID_TYPE_TICKER. Otherwise leave the default. class_code: Board of a ticker (e.g. "TQBR"), to pick one listing out of several

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": {
      "id": "<id>"
    },
    "name": "get_currency_by"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
id_typeNoINSTRUMENT_ID_TYPE_FIGI
class_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful fact that the id format is auto-detected, but says nothing about return shape, partial results, or edge cases (unknown ticker, ambiguous listings). With annotations present the bar is lower, but this adds little behavioral context.

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

Conciseness3/5

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

The prose is terse and front-loaded, but it is formatted as a Python docstring with an Args block that duplicates the schema structure. No wasted filler, though the structure is not optimized for an LLM reader.

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 read-only lookup with 3 parameters and no output schema, the description covers identifier formats and the disambiguation hole adequately. It is missing any hint about the response content or behavior on multiple matching listings, which an agent would want.

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 burden for all three parameters. It documents id (multi-format, auto-detected), id_type (conditional on class_code/ticker), and class_code (board like "TQBR"). This is helpful, but the id_type enum values themselves are only in the schema, and the conditional relationship between id_type and class_code is stated imprecisely.

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+resource: retrieve detailed currency instrument info by an identifier. It's distinguishable from list_currencies (list all) and from get_instrument_by (generic instrument), so the agent can route correctly. Not a full 5 because it doesn't explicitly name how it differs from its nearest sibling get_instrument_by.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Some implied guidance is embedded in the parameter notes (id_type only needed with ticker, class_code to disambiguate multiple listings), but there is no explicit when-to-use-this-vs-alternatives statement. No routing away from get_instrument_by, find_instrument, or list_currencies.

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