Skip to main content
Glama

Get Company News

get_company_news
Read-onlyIdempotent

Get recent news articles about a company within a date range. Returns headline, summary, source, and URL. Example: get_company_news({ symbol: "AAPL", from: "2024-01-01", to: "2024-01-31", _apiKey: "your-key" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnd date in YYYY-MM-DD format, e.g. "2024-01-31"
fromYesStart date in YYYY-MM-DD format, e.g. "2024-01-01"
symbolYesStock ticker symbol, e.g. "AAPL"
_apiKeyYesFinnhub API key

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesTotal number of articles found
articlesYesList of news articles (max 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-finnhub-api-key",
      -    "from": "2024-01-01",
      -    "symbol": "AAPL",
      -    "to": "2024-01-31"
      -  },
      -  {
      -    "_apiKey": "your-finnhub-api-key",
      -    "from": "2024-06-01",
      -    "symbol": "MSFT",
      -    "to": "2024-06-30"
      -  }
      -]New value: +[
      +  {
      +    "from": "2024-01-01",
      +    "symbol": "AAPL",
      +    "to": "2024-01-31"
      +  },
      +  {
      +    "from": "2024-06-01",
      +    "symbol": "MSFT",
      +    "to": "2024-06-30"
      +  }
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/destructive behaviorcherschlagen, lowering the burden. The description adds useful behavioral information about return payload (headline, summary, source, URL) and 'recent' temporal scope, which aids output handling.

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?

The description is two sentences with the core purpose front-loaded)Skip fluff. The example is compact and directly illustrates the call signature, earning its place.

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?

All required parameters are documented, an output schema exists, and annotations cover safety traits. For a simple read-only news retrieval tool, the description—including the example—provides everything an agent needs to call it correctly.

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 covers all four parameters with descriptions (100% coverage), so the baseline is 3. The inline example adds concrete values and illustrates the _apiKey requirement, making parameter usage more tangible.

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?

States a clear verb ('Get') and resource ('news articles') with explicit scoping ('about a company within a date range'), which distinguishes it from siblings like get_quote or company_facts. The example invocation reinforces the purpose concretely.

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 makes the usage context obvious: retrieving news for a company within a range. However, it does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

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.