Skip to main content
Glama

add_news_source

Idempotent

Add an RSS or Atom news feed to the investment crawler's source list. Validates the URL as a real feed before saving. Idempotent and capped.

Instructions

Add an RSS/Atom feed to the crawler's source list. The URL is live-probed before saving — a URL that doesn't parse as a feed is rejected. Idempotent: re-adding an existing URL returns the existing entry. Capped so the list can't grow unbounded.

Use when someone says "follow 's news" / "加个新闻源".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesRSS/Atom feed URL (a real feed, not a webpage).
nameYesShort slug for the feed, [a-z0-9_] (e.g. 'wsj_markets').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description adds behavioral details beyond the annotations: live-probing before saving, idempotency (consistent with idempotentHint=true), and a cap on list size. Annotations already declare idempotentHint=true and destructiveHint=false, and the description reinforces this without contradiction.

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 compact and front-loaded: the first sentence states the primary action. Subsequent sentences add essential behavioral and usage details without redundancy. Every sentence adds value.

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?

Given the tool's low complexity (2 params, simple input schema, and output schema present), the description is fully adequate. It covers purpose, behavior, and usage guidelines. The output schema handles return values, so no further explanation is needed.

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?

With 100% schema coverage, baseline is 3. The description adds value by explaining the live-probing behavior for the 'url' parameter, which is not in the schema description. The 'name' parameter is already well-described in the schema as a 'Short slug' with regex pattern.

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 clearly states the action: 'Add an RSS/Atom feed to the crawler's source list.' It uses a specific verb and resource, and distinguishes from sibling 'remove_news_source' (removal) and 'news_sources' (likely listing).

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 provides explicit usage cues: 'Use when someone says "follow <site>'s news" / "加个新闻源".' This helps the agent match user intent. It does not explicitly mention when not to use or alternatives, but the sibling context makes it clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/longsizhuo/openInvest'

If you have feedback or need assistance with the MCP directory API, please join our Discord server