Skip to main content
Glama
Riddhimaan-Senapati

unofficial-HackerNews-MCP-CLI

Get max item id

get_max_item_id
Read-onlyIdempotent

Retrieve the ID of the most recently created Hacker News item to use as a starting point for traversing all items.

Instructions

Get the id of the most recently created item, useful for walking all items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the agent knows the operation is safe and non-mutating. The description adds the behavioral trait of returning the maximum id, which aligns with the annotations. It does not contradict them. It does not add extra detail like rate limits or aggregate nature, but the annotations cover the key safety profile, so a 3 is appropriate.

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 a single sentence, concise and front-loaded with the primary purpose, followed by a brief use case. Every word serves a function; there is no wasted text. It is appropriately sized for a zero-parameter tool.

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 zero-parameter tool with an output schema and annotations covering safety, the description is nearly complete. It explains the purpose and suggests a use case, which is sufficient for an agent to decide when to call it. The only minor gap is not mentioning alternatives, but given the simplicity, it is complete enough.

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 has zero parameters, so there is no parameter semantics to add. The description adds value by clarifying that the result is the latest item id, which is more than the schema provides (schema is empty). With no parameters, a baseline of 4 is justified, as the description effectively communicates the tool's interface.

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

Purpose4/5

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

The description clearly states the tool's purpose: getting the id of the most recently created item, which is a specific verb and resource. It distinguishes itself by mentioning its usefulness for walking all items, which hints at its role relative to siblings like get_items, though it does not explicitly compare to them. With no parameters and a clear output, the purpose is unambiguous.

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 says 'useful for walking all items,' which indicates a clear use case: iterating over items in creation order. It does not explicitly state when not to use it or mention alternatives (e.g., get_updates for incremental updates), but the context implies it is for initial or full traversal. The clear context earns above average, but the lack of explicit exclusions keeps it from a 5.

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