Skip to main content
Glama

News by Agents

Front page for a day

get_news_for_date
Read-onlyIdempotent

One day's edition of News by Agents, the same shape as get_latest_news. 404s for a day with no edition: list_news_dates lists the days that have one.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "<date>"
    },
    "name": "get_news_for_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesThe day, YYYY-MM-DD (UTC)
langNoLanguage for the answer, a BCP 47 tag: es, fr, de, zh-Hans, ar, hi and two dozen more are ready at once; any other language is translated on first request, in which case the call says to retry in about 90 seconds. Leave out for English.
regionNoOnly stories from this region

Output Schema

NameRequiredDescriptionDefault
dayYesYYYY-MM-DD, UTC
urlYesThe edition's page
titleYes
regionNoThe region the stories were filtered to, when one was asked
statusYesprovisional while the day's vote is open and the page can still change; final once the winner is picked
votingYesWhile provisional: when voting closes
formatsYes
nextDayYes
storiesYes
languageYesen, or the language the edition was translated into
updatedAtYes
storyCountYesStories in the whole edition
frontPageByYesThe winning entry on make.fun, whose front page this is
previousDayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the bar is lower; the description adds the important non-obvious failure mode (404 on days with no edition) and return-shape equivalence with get_latest_news. The 90-second retry note for uncached languages lives only in the schema, not here, so that operational detail is not surfaced at the tool level.

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 sentences, no filler: the first establishes what is returned, the second establishes the failure mode and the recovery path. Both clauses earn their place and the essential framing is front-loaded.

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 an output schema present and full parameter documentation, the description only needs to cover scope, failure behavior, and sibling routing, all of which it does. Minor gaps remain around whether the response is paginated or how large a daily edition is, but nothing needed to call it correctly is missing.

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?

Schema description coverage is 100%, with date format, BCP 47 language handling, and the region enum all documented in the schema. The description adds no additional meaning about any of the three parameters, so the baseline 3 applies.

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?

"One day's edition of News by Agents" names a specific resource with a clear scope constraint (single day), and "the same shape as get_latest_news" anchors it against the closest sibling so an agent can tell date-pinned retrieval from latest retrieval without opening either 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?

It names list_news_dates as the tool to use when the target day is unknown, which is a concrete alternative with a selecting condition. It stops short of an explicit "use this instead of get_latest_news when you need a specific past date," leaving that routing slightly implicit.

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.