Skip to main content
Glama

catchup_feed

Mark articles as read in Tiny Tiny RSS feeds or categories to manage unread content. Specify time ranges like all, 1 day, 1 week, or 2 weeks for targeted cleanup.

Instructions

将订阅源或分类中的所有文章标记为已读。mode 可选: all (全部), 1day, 1week, 2week

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feed_idYes源或分类 ID
is_catNofeed_id 是否为分类 ID
modeNo标记范围all

Implementation Reference

  • The handler function for the 'catchup_feed' tool, which calls the client's catchupFeed method.
    async (params) => {
      try {
        await client.catchupFeed(params);
        return ok("标记已读成功");
      } catch (e: unknown) {
        return fail(`标记已读失败: ${(e as Error).message}`);
      }
    },
  • Input schema for the 'catchup_feed' tool.
    {
      feed_id: z.number().describe("源或分类 ID"),
      is_cat: z.boolean().default(false).describe("feed_id 是否为分类 ID"),
      mode: z.enum(["all", "1day", "1week", "2week"]).default("all").describe("标记范围"),
    },
  • Tool registration for 'catchup_feed' in src/tools/articles.ts.
    server.tool(
      "catchup_feed",
      "将订阅源或分类中的所有文章标记为已读。mode 可选: all (全部), 1day, 1week, 2week",
      {
        feed_id: z.number().describe("源或分类 ID"),
        is_cat: z.boolean().default(false).describe("feed_id 是否为分类 ID"),
        mode: z.enum(["all", "1day", "1week", "2week"]).default("all").describe("标记范围"),
      },
      async (params) => {
        try {
          await client.catchupFeed(params);
          return ok("标记已读成功");
        } catch (e: unknown) {
          return fail(`标记已读失败: ${(e as Error).message}`);
        }
      },
    );
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It mentions the 'mode' parameter for time ranges but doesn't disclose critical traits like whether this action is reversible, if it requires specific permissions, or how it handles errors. This is inadequate for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief and front-loaded with the main purpose, followed by a concise note on the 'mode' parameter. However, the second sentence could be integrated more smoothly, and it lacks structural elements like bullet points for clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what happens after marking articles as read (e.g., success response, error cases), or address potential side effects like updating unread counts, which sibling tools like 'get_unread_count' might rely on.

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 the schema already documents all parameters well. The description adds minimal value by listing the 'mode' enum values, but doesn't provide additional context like default behavior or interaction between parameters beyond what the schema states.

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 action ('mark as read') and target ('all articles in a feed or category'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'update_article' which might also affect article read status, leaving room for ambiguity.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. For example, it doesn't mention whether this is for bulk operations compared to 'update_article' for individual articles, or if there are prerequisites like authentication needs.

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/aooiuu/ttrss-mcp'

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