newtqnia
Read-only access to NewTqnia news, terminology, and explainers in English and Arabic.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 server_status 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"newtqnia": {
"url": "https://newtqnia.com/mcp"
}
}
}遠端端點
https://newtqnia.com/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢server_status
Returns the current health and timestamp of the NewTqnia server.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok"
]
},
"application": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
},
"required": [
"status",
"application",
"timestamp"
],
"additionalProperties": false
}🟢get_recent_news(days, limit, locale)
Returns published news from the past X days (90 by default). Administrators get bilingual titles, summaries, and URLs; other accounts get a single locale (pass the caller's language in locale) with a title, summary, and canonical URL to read the full article.
輸入結構描述
{
"type": "object",
"properties": {
"days": {
"type": "integer",
"minimum": 1,
"maximum": 3650,
"default": 90
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 100
},
"locale": {
"type": [
"string",
"null"
],
"enum": [
"en",
"ar",
null
],
"default": "en",
"description": "The calling user's language. Ignored for administrator tokens, which always receive both languages."
}
},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"days": {
"type": "integer"
},
"count": {
"type": "integer",
"minimum": 0
},
"news": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"slug",
"category",
"image_path",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "integer"
},
"slug": {
"type": "string"
},
"title_en": {
"type": "string"
},
"title_ar": {
"type": "string"
},
"summary_en": {
"type": "string"
},
"summary_ar": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"category_id": {
"type": "integer"
},
"category": {
"type": "object",
"description": "Full taxonomy record for administrator tokens; {slug, name} for other accounts."
},
"image_path": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url_en": {
"type": "string",
"format": "uri"
},
"url_ar": {
"type": "string",
"format": "uri"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
}
},
"required": [
"days",
"count",
"news"
],
"additionalProperties": false
}🟢get_news_by_id(news_id, locale)
Returns one published article. Administrators get the complete bilingual record, including bodies, tags, citations, and access to unpublished drafts. Other accounts get a single locale (pass the caller's language in locale) with a title, summary, and canonical URL to read the full article - never the article body.
輸入結構描述
{
"type": "object",
"properties": {
"news_id": {
"type": "integer",
"minimum": 1,
"description": "The exact NewTqnia article ID."
},
"locale": {
"type": [
"string",
"null"
],
"enum": [
"en",
"ar",
null
],
"default": "en",
"description": "The calling user's language. Ignored for administrator tokens, which always receive both languages."
}
},
"required": [
"news_id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"source": {
"type": "string",
"enum": [
"fresh",
"archived"
]
},
"editable": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft",
"published"
]
},
"slug": {
"type": "string"
},
"title_en": {
"type": "string"
},
"title_ar": {
"type": "string"
},
"summary_en": {
"type": "string"
},
"summary_ar": {
"type": "string"
},
"body_en": {
"type": "string"
},
"body_ar": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"category": {
"type": "object",
"description": "Full taxonomy record for administrator tokens; {slug, name} for other accounts."
},
"tags": {
"type": "array",
"items": {
"type": "object"
}
},
"citations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"url"
],
"properties": {
"id": {
"type": "integer"
},
"title": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
},
"image_path": {
"type": "string"
},
"read_time": {
"type": "integer",
"minimum": 1
},
"view_count": {
"type": "integer",
"minimum": 0
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url_en": {
"type": "string",
"format": "uri"
},
"url_ar": {
"type": "string",
"format": "uri"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"slug",
"category",
"tags",
"citations",
"image_path",
"read_time",
"created_at",
"updated_at"
],
"additionalProperties": false
}🟢get_timeline_by_id(timeline_id, locale)
Returns one published timeline. Administrators get the complete bilingual record with every event, source, and related link, plus access to draft content. Other accounts get a single locale (pass the caller's language in locale): each event's title, summary, media, sources, and related links, plus a canonical URL to the full timeline - never event bodies or the timeline introduction/conclusion.
輸入結構描述
{
"type": "object",
"properties": {
"timeline_id": {
"type": "integer",
"minimum": 1,
"description": "The exact NewTqnia timeline ID."
},
"locale": {
"type": [
"string",
"null"
],
"enum": [
"en",
"ar",
null
],
"default": "en",
"description": "The calling user's language. Ignored for administrator tokens, which always receive both languages."
}
},
"required": [
"timeline_id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"uuid": {
"type": "string"
},
"slug": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"draft",
"published"
]
},
"title_en": {
"type": "string"
},
"title_ar": {
"type": "string"
},
"summary_en": {
"type": "string"
},
"summary_ar": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"introduction_en": {
"type": [
"string",
"null"
]
},
"introduction_ar": {
"type": [
"string",
"null"
]
},
"conclusion_en": {
"type": [
"string",
"null"
]
},
"conclusion_ar": {
"type": [
"string",
"null"
]
},
"timeline_type": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"is_ongoing": {
"type": "boolean"
},
"start_date": {
"type": [
"string",
"null"
],
"format": "date"
},
"end_date": {
"type": [
"string",
"null"
],
"format": "date"
},
"event_count": {
"type": "integer"
},
"cover_media": {
"type": [
"object",
"null"
]
},
"events": {
"type": "array",
"items": {
"type": "object"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url_en": {
"type": "string",
"format": "uri"
},
"url_ar": {
"type": "string",
"format": "uri"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"slug",
"timeline_type",
"is_ongoing",
"start_date",
"end_date",
"event_count",
"events",
"created_at",
"updated_at"
],
"additionalProperties": false
}🟢search_terminology(query, limit, locale)
Searches terminology by English term, Arabic term, abbreviation, or slug using normalized, case-insensitive matching. Administrators see draft and published terms with both languages, and should call this before creating a new term to avoid duplicates. Other accounts see published terms only, in a single locale (pass the caller's language in locale), each with a canonical URL to the full definition.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 255
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
},
"locale": {
"type": [
"string",
"null"
],
"enum": [
"en",
"ar",
null
],
"default": "en",
"description": "The calling user's language. Ignored for administrator tokens, which always receive both languages."
}
},
"required": [
"query"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"slug"
],
"properties": {
"id": {
"type": "integer"
},
"english_term": {
"type": "string"
},
"arabic_term": {
"type": "string"
},
"term": {
"type": "string"
},
"abbreviation": {
"type": [
"string",
"null"
]
},
"slug": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"draft",
"published"
]
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
}
},
"required": [
"success",
"results"
],
"additionalProperties": false
}🟢search_explainers(query, limit, locale)
Searches explainers by English/Arabic title, slug, summary, or content. Administrators see draft and published explainers with both languages, and should call this before creating a new explainer to avoid duplicates. Other accounts see published explainers only, in a single locale (pass the caller's language in locale), each with a canonical URL to the full explainer.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 255
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
},
"locale": {
"type": [
"string",
"null"
],
"enum": [
"en",
"ar",
null
],
"default": "en",
"description": "The calling user's language. Ignored for administrator tokens, which always receive both languages."
}
},
"required": [
"query"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"slug"
],
"properties": {
"id": {
"type": "integer"
},
"title_en": {
"type": "string"
},
"title_ar": {
"type": "string"
},
"title": {
"type": "string"
},
"slug": {
"type": "string"
},
"summary_en": {
"type": [
"string",
"null"
]
},
"summary_ar": {
"type": [
"string",
"null"
]
},
"summary": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"published"
]
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
}
},
"required": [
"success",
"results"
],
"additionalProperties": false
}社群
證據