Skip to main content
Glama
shared.schema.tsโ€ข1.91 kB
import z from "zod" export const chapterSchema = z .enum(["a", "aa", "b", "ba", "bb", "c", "ca", "d", "e", "f", "fa"]) .describe( "Index category filter. Options: a=Consumer Price Index (groceries, retail) | aa=Housing Market Index | b=Producer Price Index Industrial | ba=Producer Price Index Exports | bb=Producer Price Index Services | c=Residential Building Input | ca=Commercial Building Input | d=Road Construction Input | e=Agriculture Input | f=Bus Input | fa=Public Minibus Input. Leave empty for all." ) export const languageSchema = z .enum(["he", "en"]) .describe( "Language for response. Options: he=Hebrew (default) | en=English. Use 'en' for English responses." ) export const periodSchema = z .enum(["M", "Q", "MQ", "QM"]) .describe( "Filter indices by update frequency. Options: M=monthly data only | Q=quarterly data only | MQ=both monthly and quarterly (most comprehensive) | QM=quarterly and monthly. Default shows all." ) export const searchTypeSchema = z .enum(["begins_with", "contains", "equals"]) .describe( "Search matching method. Options: contains=finds text anywhere in name (recommended) | begins_with=name starts with your text | equals=exact name match. Default: contains." ) export const currencySchema = z .enum(["new_sheqel", "old_sheqel", "lira"]) .describe( "Currency type. Options: new_sheqel=current Israeli Shekel (default, most common) | old_sheqel=pre-1980s Israeli Shekel | lira=historical Israeli Lira." ) export const formatSchema = z .enum(["json", "xml"]) .describe( "Response format. Options: json=JSON format (recommended, default) | xml=XML format. Use json unless you specifically need XML." ) export const oldFormatSchema = z .boolean() .describe( "Set to true if you need Hebrew text and the legacy display format. Use false (default) for English text and modern formatting." )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/reuvenaor/israel-statistics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server