Skip to main content
Glama

get_commodity_price

Read-only

Retrieves current prices for commodities such as gold, silver, oil, natural gas, copper, platinum, and palladium using Turkish names or Yahoo symbols.

Instructions

Emtia fiyatlarını döndürür: altın, gümüş, petrol (WTI/Brent), doğalgaz, bakır, platin, paladyum gibi. Türkçe adlarla veya doğrudan sembolle sorgulanabilir.

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": {
      "commodity": "<commodity>"
    },
    "name": "get_commodity_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
commodityYesEmtia adı (altin, gumus, brent, petrol, dogalgaz, bakir, platin, paladyum...) veya doğrudan Yahoo sembolü (GC=F, SI=F, CL=F, BZ=F, NG=F, HG=F)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds the dependency scope (live external commodity quotes) implied by openWorld, but says nothing about data source, currency of returned prices, or freshness, which matter for a price tool.

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?

Two short sentences, front-loaded with the resource and followed by the query forms. No filler, though the commodity list is somewhat long relative to the information it conveys.

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?

The tool is simple (one required parameter) but has no output schema, so the description should say what comes back — price fields, currency, timestamp. Without that, an agent cannot anticipate the response shape for a multi-commodity quote tool.

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 100%, so the single parameter's accepted forms (Turkish names and Yahoo symbols) are already documented in the schema. The description merely echoes the same two input styles without adding format rules or fallback behavior, so baseline 3 applies.

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 ('Emtia fiyatlarını döndürür') and enumerates the covered commodities, so an agent immediately knows the scope. It does not explicitly separate itself from sibling get_altin_gram_price, which overlaps on gold, leaving a small ambiguity.

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

Usage Guidelines3/5

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

The second sentence implies how to query (Turkish names or raw symbols), which is implicit usage guidance, but there is no statement of when to prefer this tool over get_altin_gram_price or other price tools, and no exclusions.

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