Skip to main content
Glama
tgju-mcp

tgju-mcp

by sepehr071

Price history

tj_price_history
Read-onlyIdempotent

Retrieve daily open, low, high, close, and change history for a TGJU symbol to build charts and answer trend questions, with Jalali date filtering and Rial or Toman values.

Instructions

Daily history (open, low, high, close, change) of a TGJU symbol, for charts and trend questions.

Rows carry Gregorian date and Jalali jalali; Rial symbols also carry *_toman. total = rows in range.

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": {
      "symbol": "<symbol>"
    },
    "name": "tj_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax daily rows.
offsetNoRows to skip.
symbolYesSymbol slug, e.g. 'price_dollar_rl', 'geram18', 'ons'.
to_dateNoJalali end date, e.g. '1405/07/10'.
from_dateNoJalali start date, e.g. '1405/07/01'.
oldest_firstNoSort ascending by date (default newest first).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max daily rows (50 keeps the reply under 15 KB)."New value: +"Max daily rows."
    • changedInput schema / properties / offset / description
      Previous value: -"Rows to skip (for older pages)."New value: +"Rows to skip."
    • changedInput schema / properties / symbol / description
      Previous value: -"Symbol slug, e.g. 'price_dollar_rl', 'geram18', 'sekee', 'ons', 'crypto-bitcoin'."New value: +"Symbol slug, e.g. 'price_dollar_rl', 'geram18', 'ons'."
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description adds real behavioral context about the payload: rows carry both Gregorian `date` and `jalali`, Rial symbols also carry `*_toman`, and `total` is the row count in range – useful, but it stops short of stating rate limits, defaults, or ordering behavior beyond the schema.

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 its returned fields, with zero redundant restatement of the name. The second sentence drifts into return-value documentation, but it is compact and each clause carries information.

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 correctly compensates by describing row shape, dual date fields, Toman companions, and `total`. For a 6-parameter read-only history tool that is close to complete; only sibling disambiguation is missing.

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 every parameter is already documented in the schema, making 3 the baseline. The description reinforces the date semantics (Jalali rows plus Gregorian `date`) but adds no syntax, format constraints, or interaction rules beyond what the schema states.

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?

The description uses a specific verb+resource ("daily history ... of a TGJU symbol") and enumerates the returned series fields (open, low, high, close, change), which clearly distinguishes it as a time-series tool. It does not explicitly contrast itself with the sibling tj_get_prices, so an agent must infer the difference between historical and current pricing.

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?

"for charts and trend questions" gives implied usage context, which is a genuine hint about when to reach for this tool. However, there are no explicit exclusions, prerequisites, or named alternatives (e.g. "use tj_get_prices for the latest quote"), leaving selection against five siblings to inference.

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