Skip to main content
Glama

hub_news

Read-only

Read five current Hacker News front-page headlines from the official Firebase API. The five story reads are cached together, and the hub store allows one fresh bundle every five minutes. The hub does not fetch the linked articles. Does not spend points and does not accept a URL.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hub_news"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data posture are covered. The description still earns credit for disclosure the annotations cannot carry: the five story reads are cached as one bundle, a fresh bundle is permitted only every five minutes, and the call costs no points. It adds nothing about failure modes when the cache is stale or the upstream API errors.

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?

Three short sentences, front-loaded with the action and resource, then the caching/quota rule, then the exclusions. No sentence is redundant and nothing buries the key constraint.

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

Completeness4/5

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

With no output schema and no parameters, the description supplies the operational facts an agent needs: count of results, source, freshness limit, and cost. It stops short of indicating the return shape (e.g., titles only vs. titles plus URLs or scores), which would remove the last ambiguity.

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?

The tool takes zero parameters, which is the baseline-4 case. The description usefully reinforces that the tool takes no input by stating it does not accept a URL, preventing an agent from hallucinating an argument.

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 states a specific verb and resource: 'Read five current Hacker News front-page headlines from the official Firebase API.' It also pins down scope (exactly five stories, front page only, official API), so an agent can immediately tell this apart from data siblings such as hub_space-news or hub_arxiv without opening any schema.

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?

Usage boundaries are given in negative form: no URL argument, no article fetching, no point expenditure. That tells the agent when not to reach for this tool, but there is no explicit positive 'use this when you need current tech-news headlines' framing or named alternative for full-article retrieval.

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.