Skip to main content
Glama

fa_jalaliToGregorian

Convert a Jalali (Solar Hijri, Persian, Shamsi) calendar date to the Gregorian calendar. Use it to turn a date written in the Iranian calendar back into an ISO 8601 date, to check whether a Jalali date is today, or to compare an Iranian deadline with a Western one. Returns the Gregorian year, month, day and weekday. ($0.005 per call, USDC on Base)

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": {
      "year": "<year>",
      "month": "<month>",
      "day": "<day>"
    },
    "name": "fa_jalaliToGregorian"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes
yearYes
monthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses the returned fields (year, month, day, weekday) and the cost ($0.005 per call, USDC on Base), which an agent needs for budgeting. However, it says nothing about invalid/out-of-range date handling, supported year ranges, or error behavior, leaving real gaps for a conversion 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?

Three sentences, front-loaded with the core conversion before use cases and the return/cost note; every sentence carries information. The pricing clause is slightly tangential to the operation but is legitimately useful for an agent deciding whether to call.

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 simple three-number conversion with no output schema and no annotations, the description covers the return shape and cost but omits parameter formatting and validation behavior, which is the main thing an agent still needs. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the three numeric parameters (year, month, day) are entirely undocumented in both schema and description. The description never says the year is a 4-digit Jalali year (e.g., 1403), the month range 1-12, or the day range, so an agent must guess the expected encoding.

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?

States a specific verb (Convert) and resource (Jalali/Solar Hijri/Persian/Shamsi date to Gregorian), and the direction is unambiguous next to the sibling fa_gregorianToJalali. An agent can pick the right tool without opening the schema.

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

Usage Guidelines4/5

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

Gives three concrete use cases (turn an Iranian date into ISO 8601, check whether a Jalali date is today, compare an Iranian deadline with a Western one), which sets clear context. It does not name the inverse tool as an alternative or state when not to use this one, so it falls short of a 5.

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