Skip to main content
Glama

Live market prices: currencies, gold, metals, crypto

piyasa_fiyat
Read-onlyIdempotent

Returns live buy, sell, mid, daily high/low and % change for any mix of instruments: currencies, gold types, metals, FX pairs, commodities (Brent, natural gas) and crypto. Use it to fetch several asset classes in one call; doviz and altin give the same data for a single class with extra fields.

Endpoint: GET /v1/piyasa/fiyat. Requires a paid plan (free plan returns 403). Costs 2 request units per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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": "piyasa_fiyat"
  }
}

Input Schema

NameRequiredDescriptionDefault
grupNoPreset group instead of `sembol`: doviz, altin, metal, parite, emtia, kripto.
sembolNoComma-separated codes or symbols, at most 100, e.g. 'USD,GRAM,BTCUSDT'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / grup / description
      Previous value: -"Hazır grup: doviz, altin, metal, parite, emtia, kripto"New value: +"Preset group instead of `sembol`: doviz, altin, metal, parite, emtia, kripto."
    • changedInput schema / properties / sembol / description
      Previous value: -"Virgülle kod ya da sembol (ör. USD,GRAM,BTCUSDT); en çok 100"New value: +"Comma-separated codes or symbols, at most 100, e.g. 'USD,GRAM,BTCUSDT'."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses the concrete endpoint, a paid-plan requirement with the free-plan failure mode (403), a per-call cost of 2 request units, and that responses are JSON in Turkish including `source` and `guncelleme`. These are exactly the operational facts an agent needs and none are derivable from the annotations.

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?

Return payload is front-loaded in the first sentence, the sibling routing hint follows, and operational facts are grouped in a short trailing block. There is no filler; every clause (cost, plan, language, endpoint) carries distinct information.

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?

With only two optional parameters, no output schema and annotations already covering safety, the description supplies the missing pieces: what fields come back, the plan gate, the cost, and the response language/field names. Nothing an agent needs to call this correctly is absent.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by translating the Turkish `grup` presets into asset classes (e.g. emtia maps to Brent and natural gas) and clarifying that a call can mix instruments. It stops short of explaining how `grup` and `sembol` interact when both are supplied.

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 names a specific verb and resource ('Returns live buy, sell, mid, daily high/low and % change') and enumerates the asset classes covered: currencies, gold, metals, FX pairs, commodities and crypto. It explicitly distinguishes itself from siblings doviz and altin, so an agent can choose without inspecting either schema.

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 states the selecting condition directly: 'Use it to fetch several asset classes in one call', and names the alternatives (doviz, altin) with the trade-off that they return a single class with extra fields. That is an explicit when-to-use plus when-to-prefer-a-sibling, with no inference required.

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