Skip to main content
Glama
milligold-mcp

milligold-mcp

by sepehr071

Milli.gold price history

mg_price_history
Read-onlyIdempotent

Retrieve daily, weekly, or monthly 18k gold price history with high, low, and change values in Rial per milligram.

Instructions

Get the Milli.gold 18k gold price series for a day, week or month, with high, low and change.

Rial per milligram: multiply by 100 for Toman per gram. time is Tehran time.

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

Input Schema

NameRequiredDescriptionDefault
periodNoDAILY = last ~24 h, WEEKLY, MONTHLY = last ~month.DAILY
pointsNoMax points, evenly spaced.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / period / description
      Previous value: -"Window: DAILY = last ~24 h (15-min points), WEEKLY = last week, MONTHLY = last ~month."New value: +"DAILY = last ~24 h, WEEKLY, MONTHLY = last ~month."
    • changedInput schema / properties / points / description
      Previous value: -"Max points to return, evenly spaced (2-50)."New value: +"Max points, evenly spaced."
  2. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety behavior is fully covered upstream. The description adds two genuinely useful behavioral facts not in annotations: the output unit convention (Rial per milligram, ×100 for Toman per gram) and that timestamps are Tehran time. It says nothing about rate limits, freshness/lag, or whether the series can be empty for a given period.

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 short sentences, front-loaded with what the tool returns, followed by the two conversion facts an agent needs. No filler, no restatement of the tool name or schema defaults.

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?

With no output schema, the description does carry the burden of describing the return values and does so concisely (high, low, change, series over the period) and supplies units and timezone. It stops short of describing the shape of the series entries (timestamps versus values) or ordering, which is the main remaining gap for a data-retrieval 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%, with both 'period' and 'points' fully documented including the enum meanings and the 2–50 bound, so the baseline is 3. The description contributes only the Tehran-time note, which does clarify how period boundaries are computed, but adds no detail on how 'points' are downsampled or how evenly spaced points relate to the requested period.

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 concrete verb and resource ('Get the Milli.gold 18k gold price series') plus the returned metrics (high, low, change) and the period granularity. The word 'series' implicitly separates it from the spot-price sibling mg_get_price, but that sibling is never named, so the differentiation requires inference.

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?

Usage is only implied: an agent can infer this is for historical/series data rather than a single current quote, and the period enum in the schema reinforces that. There is no explicit statement of when to prefer this over mg_get_price or mg_trade_quote, and no exclusions or prerequisites.

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