Skip to main content
Glama
BACH-AI-Tools

News Api14 MCP Server

get_random_article

Randomly select a news article, optionally filtered by language, topic, and output type, to find new content.

Instructions

This endpoint gives you the ability to find new and engaging content by randomly selecting an article, with the option to filter by country or language.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoexample: en, fr, de, zh-Hant. Check out the Supported Languages endpoint to see a list of all the languages you can search for.
topicNoThe topic of interest, example: General, Politics, Sports, or a subtopic Soccer. Check out the Supported Topics endpoint to see a list of all the topics you can search for.
typeNoThe article content output type can be specified as eitherhtml or plaintext. The default output type is plaintext. Note: The content is accessible only to users who have a valid subscription plan.
Behavior2/5

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

With no annotations, the description bears the full burden of behavioral disclosure. It mentions random selection and optional filtering but omits critical details: authentication requirements for content, the fact that 'type' controls output format and content availability, and what the return value (article metadata vs. full content) contains.

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

Conciseness3/5

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

The description is a single sentence, which is concise but lacks structure. It could be improved by separating purpose, parameters, and behavior into a more organized format. It is not overly verbose, but too brief for the tool's complexity.

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

Completeness2/5

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

Given three parameters, no output schema, and no annotations, the description is incomplete. It omits authentication prerequisites, output details, and the filter mismatch reduces completeness. A more thorough description is needed for an agent to use the tool effectively.

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

Parameters3/5

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

Schema coverage is 100% with adequate descriptions for each parameter. The description adds no extra meaning, and it misidentifies one filter ('country' instead of 'topic'). Baseline score of 3 is appropriate since the schema already documents parameters sufficiently.

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

Purpose3/5

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

The description states that it randomly selects an article with optional filters, which differentiates it from sibling tools like search_articles. However, it inaccurately mentions filtering by 'country' when the schema contains language, topic, and type, causing confusion about what filters are available.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as search_articles or get_article_content. The description does not specify the ideal use case (e.g., discovery) or exclude scenarios where other tools are more appropriate.

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

Install Server

Other Tools

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/BACH-AI-Tools/bachai-news-api14'

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