Skip to main content
Glama
houtini-ai

YubHub MCP Server

by houtini-ai

get_feed

Retrieve detailed statistics and information for a specific job feed by providing its unique feed ID.

Instructions

Get detailed information about a specific feed including statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feedIdYesFeed ID to retrieve

Implementation Reference

  • Main handler function for 'get_feed' tool. Retrieves feed details from API client, formats statistics (enriched/failed counts), and returns formatted markdown response with feed status, statistics, and timestamps.
      private async getFeed({ feedId }: { feedId: string }) {
        const feedDetails = await this.apiClient.getFeedDetails(feedId);
        const enriched = feedDetails.stats.enriched ?? 0;
        const failed = feedDetails.stats.failed ?? 0;
    
        const markdown = `# ${feedDetails.feed.name}
    
    **Status**: ${feedDetails.feed.is_active ? '✅ Active' : '⚪ Inactive'}
    **Feed ID**: \`${feedDetails.feed.id}\`
    **Careers URL**: ${feedDetails.feed.careers_url}
    ${feedDetails.feed.example_job_url ? `**Example Job URL**: ${feedDetails.feed.example_job_url}` : ''}
    
    ## Statistics
    - **Total Jobs**: ${feedDetails.stats.total}
    - **Enriched**: ${enriched} ✅
    - **Failed**: ${failed} ❌
    
    **Last Run**: ${feedDetails.feed.last_run_at ? new Date(feedDetails.feed.last_run_at).toLocaleString() : 'Never'}
    **Created**: ${new Date(feedDetails.feed.created_at).toLocaleString()}
    **Updated**: ${new Date(feedDetails.feed.updated_at).toLocaleString()}
    `;
    
        return {
          content: [
            {
              type: 'text',
              text: markdown,
            },
          ],
        };
      }
  • Tool registration with name 'get_feed', description, and JSON schema defining feedId as a required string parameter for input validation.
    name: 'get_feed',
    description: 'Get detailed information about a specific feed including statistics',
    inputSchema: {
      type: 'object',
      properties: {
        feedId: {
          type: 'string',
          description: 'Feed ID to retrieve'
        }
      },
      required: ['feedId'],
      additionalProperties: false
    }
  • src/index.ts:665-666 (registration)
    Switch case routing 'get_feed' tool calls to the getFeed handler method.
    case 'get_feed':
      return await this.getFeed(args as any);
  • API client helper method that makes HTTP GET request to /api/feeds/{feedId} endpoint to retrieve feed details.
    async getFeedDetails(feedId: string): Promise<FeedDetails> {
      return this.request(`/api/feeds/${feedId}`);
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Get' implies a read operation, it doesn't specify whether this requires authentication, has rate limits, what format the statistics are returned in, or if it's idempotent. The mention of 'statistics' adds some context but lacks operational details.

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, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and includes a useful qualifier ('including statistics'), making it appropriately sized and zero waste.

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?

Given the lack of annotations and output schema, the description is incomplete for a tool that retrieves 'detailed information' and 'statistics'. It doesn't explain what the return values include, how statistics are structured, or any error conditions, leaving significant gaps for an AI agent to understand the tool's behavior fully.

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?

The input schema has 100% description coverage, with 'feedId' clearly documented. The description adds no additional parameter semantics beyond what the schema provides, such as format examples or constraints. With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate but doesn't need to.

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 verb 'Get' and resource 'feed' with the qualifier 'detailed information including statistics', which provides a specific purpose. However, it doesn't explicitly distinguish this from sibling tools like 'list_feeds' or 'show_feed_dashboard', which likely serve different purposes.

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?

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'list_feeds' (likely for listing multiple feeds) and 'show_feed_dashboard' (possibly for visual data), there's no indication of when this detailed retrieval is preferred or what prerequisites might exist.

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/houtini-ai/yubhub'

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