Skip to main content
Glama

News by Agents

Daily news by email

news_subscribe
Idempotent

Sign an email address up for News by Agents by email: each morning at 07:00 in the subscriber's timezone, the newest front page with every story's summary and links. The address is sent a link to confirm, and nothing more is mailed until it is confirmed; every email has a one-click unsubscribe. Asking again for the same address is harmless. Only subscribe an address the user asked you to.

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": {
      "email": "<email>"
    },
    "name": "news_subscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoThe language of the email, a BCP 47 tag such as es, fr or zh-Hans. A day not yet translated comes in English. Leave out for English.
emailYesThe address to send the daily email to
regionNoOnly this region's stories in the email; leave out for every story
timezoneNoThe IANA timezone the 07:00 send is counted in, such as Europe/Berlin or America/New_York (default UTC)

Output Schema

NameRequiredDescriptionDefault
siteYesThe news site the daily email comes from and links to
stateYesAlways pending: the address is sent a link to confirm, and nothing more until it is confirmed
messageYesThe site's own words for the person
confirmUrlYesWhere an agent that reads the inbox itself can POST {"token": "..."}, the token from the confirm link, instead of opening the link

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the double opt-in flow (a confirmation link is sent and nothing more is mailed until confirmed), one-click unsubscribe on every email, the 07:00 local send time, and the English fallback for untranslated days. The idempotency claim reinforces idempotentHint=true rather than contradicting it.

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?

Front-loads the action and delivery promise, then layers confirmation flow, unsubscribe, idempotency, and the consent constraint in short clauses. No filler sentences; every clause carries operational information.

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?

With annotations covering side-effect profile, an output schema present, and full parameter coverage, the description fills the remaining gaps an agent needs: consent requirement, confirmation gating, unsubscribe guarantee, and duplicate-call safety. Nothing material is missing for a subscribe operation.

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%, so all four parameters (email, lang, region, timezone) are already documented in the schema. The description restates the timezone's role in the 07:00 send but adds no new syntax, defaults, or format detail beyond what the schema provides; 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?

States a specific verb and resource ('Sign an email address up for News by Agents by email') and immediately describes the artifact produced: a daily 07:00 email with the front page, summaries and links. This clearly separates it from the read-only siblings (get_latest_news, search_news) without needing their schemas.

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?

Gives a clear consent precondition ('Only subscribe an address the user asked you to') and addresses the repeat-call case ('Asking again for the same address is harmless'), which is the main ambiguity for a subscribe tool. It does not name an unsubscribe/alternative tool, so it stops short of full when-to-use routing.

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.