Skip to main content
Glama

Get a news article by ID

get_news_by_id
Read-onlyIdempotent

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoThe calling user's language. Ignored for administrator tokens, which always receive both languages.en
news_idYesThe exact NewTqnia article ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlNo
slugYes
tagsYes
titleNo
sourceNo
statusNo
url_arNo
url_enNo
body_arNo
body_enNo
summaryNo
categoryYesFull taxonomy record for administrator tokens; {slug, name} for other accounts.
editableNo
title_arNo
title_enNo
citationsYes
read_timeYes
created_atYes
image_pathYes
summary_arNo
summary_enNo
updated_atYes
view_countNo

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly and idempotent, but the description adds significant behavioral detail: administrators receive the complete bilingual record including drafts, while other accounts receive only a single locale with a title, summary, and URL, never the body. This is not inferable from annotations and clarifies response variance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the primary action ('Returns one published article'), then efficiently explains the two account categories. No filler or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description does not need to detail return fields. It fully covers access control, locale behavior, and draft availability for admins. For a simple read-by-ID tool, this is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds value by explaining that 'locale' is the caller's language and is ignored for administrators, and it reiterates that the response excludes the body for non-admins—context beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Returns' with a clear resource: 'one published article.' It distinguishes this tool from siblings like get_recent_news by focusing on fetching a single article by ID, and it differentiates admin vs. non-admin behavior.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool (fetching an article by ID) and explains role-based usage (administrators vs. other accounts). It does not explicitly name alternatives, but the sibling tool names and the scoped wording imply the appropriate use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: news by ID, recent news, timeline by ID, explainer search, terminology search, and server status. There is no overlap in their purposes, and the descriptions make the boundaries clear.

Naming Consistency4/5

Five of six tools follow a clear verb_noun pattern (get_*, search_*), with consistent snake_case formatting. The only deviation is 'server_status', which uses noun_noun style, but this is minor and the name is still intuitive.

Tool Count5/5

With six tools, the set is well-scoped for a content retrieval/search server covering news, timelines, explainers, terminology, and health status. Each tool serves a distinct purpose, and the count feels neither sparse nor bloated.

Completeness3/5

The core retrieval operations exist for news and timelines, but there are notable gaps: no get-by-id for explainers or terminology, no search for news or timelines, and no write operations (create/update/delete) despite admin hints in descriptions. These gaps force agents to rely on search results and limit full lifecycle coverage.

Resources