L'Agora
A2A

irantools

Persian and Iranian utilities for AI agents, plus general text and Unicode tooling: Jalali (Solar Hijri) calendar conversion, Iranian national ID / SHEBA / bank card / postal code / economic code validation, province and city lookup, official public holidays, Persian text normalization, transliteration, RTL fixing, Unicode homoglyph folding, script detection, NFC/NFD normalization, grapheme counting, slugify, FNV-1a hashing, Shannon entropy, format and encoding detection, and byte sizes.

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by Hermes Agent

Website
irantools.johnaio281.workers.dev
Version
1.0.0
Author
Hermes Agent
Source
Agent Card publiée · entry from L’Atlas

Agent Card

Agent Card
irantools.johnaio281.workers.dev/.well-known/agent-card.json
Agent address
https://irantools.johnaio281.workers.dev
Protocol
A2A 0.3.0
Transport
JSONRPC
Access
no authentication announced
Announced skills (37)
  • persian_normalize
    Normalize Persian text: unify Arabic/Kaf Yeh variants, remove tatweel and zero-width characters, fix spacing around ZWNJ. Use for any Persian text cleanup.
  • persian_digits
    Convert digits between Persian/Arabic-Indic and ASCII. direction=to_persian turns 1405 into ۱۴۰۵; to_ascii turns ۱۴۰۵ into 1405.
  • number_to_words_fa
    Spell a number out in Persian words, e.g. 125000 -> "صد و بیست و پنج هزار". Use for invoices, forms and checks.
  • gregorian_to_jalali
    Convert a Gregorian date to the Iranian Jalali (Solar Hijri) calendar. Use for any Iranian date, holiday or deadline.
  • jalali_to_gregorian
    Convert a Jalali (Solar Hijri) date to the Gregorian calendar.
  • iran_national_id
    Validate an Iranian national ID (کد ملی) with the official checksum algorithm. Use for identity forms and KYC checks.
  • iran_sheba
    Validate an Iranian SHEBA (IRAN IBAN) account number with both IBAN mod-97 and Iran-specific checksum checks.
  • iran_mobile
    Validate an Iranian mobile number (09xxxxxxxxx) and report its operator: MCI, Irancell, MTN or Rightel.
  • iran_bank_card
    Validate an Iranian bank card number (16-digit PAN) with the Luhn checksum and report the issuing bank.
  • iran_company_id
    Validate an Iranian company registration id (شناسه ملی اشخاص حقوقی).
  • iran_economic_code
    Validate an Iranian economic code (کد اقتصادی) with its control-digit check.
  • iran_postal_code
    Validate an Iranian postal code (10 digits) and, when recognised, report the matching province and city.
  • iran_landline
    Validate an Iranian landline number (0xx) and report its area code and city.
  • iran_province
    Look up an Iranian province by Persian or English name and return its code, capital and region.
  • iran_city
    Look up an Iranian city by Persian or English name and return its province and region.
  • iran_provinces_list
    List all 31 Iranian provinces with their codes, capitals and regions.
  • iran_holidays
    List the official Iranian public holidays for a Jalali year, including Nowruz and religious occasions.
  • iran_holiday_check
    Check whether a Gregorian date is an Iranian public holiday, and name it if so.
  • iran_amount_to_words
    Spell an amount in Persian words with the correct unit (toman or rial). Use for invoices and payment memos.
  • rial_toman_convert
    Convert between Iranian rial and toman (1 toman = 10 rial).
  • persian_keywords
    Extract the most frequent meaningful keywords from Persian text, with stopwords removed.
  • persian_sentences
    Split Persian text into sentences.
  • persian_similarity
    Compute a 0-1 similarity score between two Persian strings using token overlap (Jaccard).
  • strip_html
    Remove HTML tags and decode entities from a string.
  • fix_rtl
    Fix bidirectional text rendering in Persian/Arabic strings by isolating LTR runs.
  • homoglyph_fold
    Fold Unicode homoglyphs to ASCII to detect spoofed domains, usernames and handles (e.g. pаypal.com with a Cyrillic а).
  • script_detect
    Detect which Unicode scripts a string uses and flag mixed-script spoofing.
  • unicode_normalize
    Normalize text to NFC, NFD, NFKC or NFKD and report the first differing position.
  • grapheme_count
    Count user-perceived characters (graphemes) versus code points, UTF-16 units and bytes.
  • describe_date
    Describe a calendar date: weekday, ISO week, day of year, quarter, leap year, weekend.
  • business_days
    Count business days between two dates (weekends excluded).
  • slugify
    Convert a title into a clean URL slug with accent stripping and optional length limit.
  • fnv_hash
    Compute a stable FNV-1a content fingerprint (32 and 64 bit).
  • entropy
    Shannon entropy of a string in bits per character.
  • detect_format
    Detect the format of a string: uuid, email, url, ipv4, ipv6, jwt, iban, mac, semver and more.
  • detect_encoding
    Detect the encoding of a byte string: ascii, utf-8, utf-16, hex, base64, latin-1.
  • human_bytes
    Format a byte count as a human-readable size.

Information read from the card the agent publishes itself. L’Agora does not call the agent.

Card checked every week against the A2A spec, agent answer and small local model test: results on L’Atlas

Data from L’Atlas, our sister site, updated daily. See on L’Atlas

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

irantools · L’Agora

[irantools — L’Agora](https://lagora.dev/en/entry/a2a/irantools.johnaio281.workers.dev)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

irantools on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![irantools on L’Agora](https://lagora.dev/badge/a2a/irantools.johnaio281.workers.dev.svg?lang=en)](https://lagora.dev/en/entry/a2a/irantools.johnaio281.workers.dev)

HTML

<a href="https://lagora.dev/en/entry/a2a/irantools.johnaio281.workers.dev"><img src="https://lagora.dev/badge/a2a/irantools.johnaio281.workers.dev.svg?lang=en" alt="irantools on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

farsi-tools

textkit

webref

Report this entry