Skip to main content
Glama
nadavgb-atom

ib-async-mcp

by nadavgb-atom

get_news_article

Retrieve specific news articles from financial providers to support market analysis and trading decisions within the Interactive Brokers ecosystem.

Instructions

Get a news article.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
provider_codeYes
article_idYes

Implementation Reference

  • The handler logic for the 'get_news_article' tool, which uses ib.reqNewsArticleAsync to fetch the article.
    if name == "get_news_article":
        article = await ib.reqNewsArticleAsync(args["provider_code"], args["article_id"])
        return {"article_type": article.articleType, "text": article.articleText}
  • The definition and registration of the 'get_news_article' tool with its input schema.
    Tool(
        name="get_news_article",
        description="Get a news article.",
        inputSchema={
            "type": "object",
            "properties": {
                "provider_code": {"type": "string"},
                "article_id": {"type": "string"},
            },
            "required": ["provider_code", "article_id"],
        },
    ),

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/nadavgb-atom/ib-async-mcp'

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