fa_jalaliToGregorian
Convert a Jalali (Solar Hijri) date to the Gregorian calendar ($0.005 per call, USDC on Base)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| year | Yes | ||
| month | Yes |
Convert a Jalali (Solar Hijri) date to the Gregorian calendar ($0.005 per call, USDC on Base)
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| year | Yes | ||
| month | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It discloses the billing model ($0.005 per call, USDC on Base), which is genuinely useful context, but says nothing about how invalid dates are handled, whether the call is read-only/idempotent, or what form the result takes. Return format is left entirely unknown since there is no output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single compact sentence with the core purpose front-loaded. The pricing parenthetical is ancillary to selection but is functional information rather than filler, so the sentence still earns its length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a three-parameter conversion tool with no output schema and no annotations, the definition should state the returned format (e.g., ISO date string vs. component object) and input validation behavior. It omits both, leaving the agent unable to interpret the result or predict failure modes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All three parameters (year, month, day) have 0% schema description coverage, so the description must compensate. It only weakly implies the values are Jalali-calendar components via 'Jalali (Solar Hijri) date' — useful to prevent passing a Gregorian year — but gives no ranges, numbering conventions, or field-to-value mapping.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Convert) plus resource (Jalali/Solar Hijri date to Gregorian calendar), naming both the source and target calendar explicitly. This direction specification is exactly what distinguishes it from the sibling fa_gregorianToJalali, so an agent can pick the right one without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no mention of the reverse sibling fa_gregorianToJalali, and no statement of prerequisites or constraints (e.g., valid Jalali ranges). The conversion direction is the only implicit routing signal.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.