Skip to main content
Glama

Europe/Gibraltar clock

hn-front-count

Count current Hacker News front-page stories. Titles discarded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoGit ref name; discarded after the shape check
urlNoHTTPS URL to normalize or cite
cityNoCity name for a public weather hint; discarded after the call
feedNoPublic RSS or Atom URL; titles discarded
hostNoPublic hostname
jsonNoJSON text to validate; discarded after the check
pathNoFile path to check; no disk access
zoneNoIANA timezone name
queryNoSearch text; discarded after the length check

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses one important behavior—story titles are discarded, so the output is count-only—and implies live data via 'current.' It does not mention network dependencies, caching, or response format, but for a read-only count tool this is a minimal viable disclosure.

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 short sentences communicate the action, resource, and output limitation with no filler. The key behavior is front-loaded and every word earns its place.

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?

For a simple no-required-parameter count tool, the description is nearly sufficient: it names the input domain and clarifies that titles are not returned. It would be slightly stronger if it explicitly stated the return format, but 'Count' plus 'Titles discarded' makes an integer count obvious enough.

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?

The input schema provides 100% description coverage for all nine optional parameters, so the schema handles the parameter documentation. The tool description adds no meaning about which parameters actually affect the HN count or whether all of them are ignored, which is a gap given the unrelated-looking schema fields.

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 names a specific action ('Count') and a specific resource ('current Hacker News front-page stories'), making the tool's job unambiguous. 'Titles discarded' further clarifies that the result is only a count, distinguishing it from fetching or reading the stories.

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

Usage Guidelines3/5

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

Usage is implied by the verb: use this tool when a caller needs the current Hacker News front-page story count. However, it does not explicitly state when to avoid it or name an alternative sibling, such as web-fetch, for retrieving actual story data.

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.