Server definition
- Hash
- sha256:6205fcd67407596577ee19151b4565d0b48f6e880dab7a7fa14d90d21f04c8da
- What it is
- What a remote MCP server returned when asked what it offers: 6 tools
The blob, as servednamed by its sha256
{
"instructions": "Polyglot Publishing publishes public-domain literature as bilingual books, generated on demand: any title in the catalogue can be produced in any ordered pair of 44 languages — the language being learned paired with the language the reader already knows — as an ebook or a print-on-demand paperback.\n\nTypical flow: search_books → list_editions (for the buyer's language pair) → create_checkout_link. Prices are always given in euros; when another currency is asked for, Stripe charges the converted amount in that currency (checkout_currency). create_checkout_link returns a Stripe payment link: hand it to the buyer, who pays on Stripe's page. Never invent an item_id — always reuse one returned by list_editions.",
"tools": [
{
"description": "Open a Stripe checkout session for one edition and return its payment link. Give that link to the buyer: they enter their card on Stripe's own page, and the ebook is emailed to them once the payment clears. The link expires after 24 hours, and nothing is charged until the buyer pays. For a paperback, no direct link is returned — print orders need a shipping address, so the buyer is sent to the product page instead. The returned price is always in euros (currency is EUR); if another currency was requested, Stripe converts it on its payment page and the amount charged there differs from price — checkout_currency names that currency, so do not announce price in it. Pass the item_id returned by list_editions whenever you have one.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"book_uid": {
"description": "Used only when item_id is not given.",
"type": "string"
},
"buyer_country": {
"description": "The buyer's country as an ISO 3166-1 alpha-2 code, e.g. US, GB, JP. Pass it when known: it sets the tax and any current discount, so the buyer pays the same price as on the website. Pass the same buyer_country to both calls. In India the paperback price includes delivery.",
"type": "string"
},
"currency": {
"description": "ISO 4217 code the buyer is charged in, e.g. EUR, USD, GBP, JPY. Defaults to EUR.",
"type": "string"
},
"edition": {
"description": "Defaults to bilingual. Used only when item_id is not given.",
"enum": [
"bilingual",
"monolingual",
"trilingual"
],
"type": "string"
},
"format": {
"description": "Defaults to ebook. Used only when item_id is not given.",
"enum": [
"ebook",
"paperback"
],
"type": "string"
},
"interface_language": {
"description": "Language of the Stripe payment page, of the product page and of the emails sent to the buyer. Defaults to the language the reader already knows.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"item_id": {
"description": "Edition identifier returned by list_editions. Preferred. Never build one yourself.",
"type": "string"
},
"known_language": {
"description": "Language already known. Used only when item_id is not given.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"learning_language": {
"description": "Language being learned. Used only when item_id is not given.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"third_language": {
"description": "Required for a trilingual edition. Used only when item_id is not given.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "create_checkout_link",
"outputSchema": null
},
{
"description": "Full details of a single book: complete summary, page count, genres, reading difficulty, year of first publication, and euro prices.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"book_uid": {
"description": "Identifier returned by search_books.",
"type": "string"
},
"language": {
"description": "Language the text is returned in. Defaults to English.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
}
},
"required": [
"book_uid"
],
"type": "object"
},
"name": "get_book",
"outputSchema": null
},
{
"description": "A real excerpt of a bilingual edition, as text: each segment in the language being learned, with its translation in the reader's language. Use it to show the user what the book and the line-by-line method look like before buying. Only some titles have an excerpt; the answer says so when one is missing.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"book_uid": {
"description": "Identifier returned by search_books.",
"type": "string"
},
"learning_language": {
"description": "The language the reader is LEARNING (the original side of the excerpt).",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"max_segments": {
"description": "How many aligned segments to return. Defaults to 40.",
"maximum": 120,
"minimum": 4,
"type": "integer"
},
"reader_language": {
"description": "The language the reader already KNOWS (the translation side).",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
}
},
"required": [
"book_uid",
"learning_language",
"reader_language"
],
"type": "object"
},
"name": "get_excerpt",
"outputSchema": null
},
{
"description": "The editions of one book that can actually be produced for a given language pair, with their euro prices and their item_id. Call this before create_checkout_link: it is what rules out the combinations that do not exist — a trilingual edition needs three different languages (it reads in triple column and paragraph by paragraph in every script, line by line only in Latin, Cyrillic or Greek), and a paperback is limited by printable thickness. A monolingual edition contains only the learning_language text, with no translation (see text_languages).",
"inputSchema": {
"additionalProperties": false,
"properties": {
"book_uid": {
"description": "Identifier returned by search_books.",
"type": "string"
},
"buyer_country": {
"description": "The buyer's country as an ISO 3166-1 alpha-2 code, e.g. US, GB, JP. Pass it when known: ebook and paperback prices then include that country's tax and any current discount. Pass the same buyer_country to both calls. In India the paperback price includes delivery.",
"type": "string"
},
"known_language": {
"description": "Code of the language the reader ALREADY knows — the language of the translation. Must differ from learning_language.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"language": {
"description": "Language the title and author are returned in. Defaults to English. The product_url opens in this language when given, otherwise in the reader's (known_language).",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"learning_language": {
"description": "Code of the language the reader wants to LEARN — the main text.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"third_language": {
"description": "Optional third language, to see whether a trilingual edition exists.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
}
},
"required": [
"book_uid",
"learning_language",
"known_language"
],
"type": "object"
},
"name": "list_editions",
"outputSchema": null
},
{
"description": "The 44 languages the books can be produced in. Any ordered pair works: the first is the language the reader is learning, the second the one they already know.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"required": [],
"type": "object"
},
"name": "list_languages",
"outputSchema": null
},
{
"description": "Search Polyglot Publishing's catalogue of public-domain literature by title, author, genre or theme. Returns books with their euro prices. Leave the query empty to get the most-read titles. Every book can then be produced in any ordered pair of the 44 languages — call list_editions next.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"language": {
"description": "Language the titles and summaries are returned in. Defaults to English. This is NOT the language of the book being bought.",
"enum": [
"en",
"fr",
"es",
"de",
"it",
"ru",
"ar",
"bg",
"bn",
"ca",
"cs",
"da",
"el",
"eo",
"et",
"fa",
"fi",
"he",
"hi",
"hr",
"hu",
"id",
"ja",
"kk",
"ko",
"lt",
"lv",
"nl",
"no",
"pl",
"pt",
"pt_br",
"ro",
"sr",
"sr_cyrl",
"sk",
"sl",
"sv",
"sw",
"tr",
"uk",
"vi",
"zh",
"zh_tw"
],
"type": "string"
},
"limit": {
"description": "How many books to return. Defaults to 10.",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Title, author, genre or theme. Empty or omitted returns the most popular titles.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "search_books",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:6205fcd67407596577ee19151b4565d0b48f6e880dab7a7fa14d90d21f04c8da | sha256sum