Skip to main content
Glama
raidenrock

USCardForum MCP Server

by raidenrock

get_user_replies

Fetch user replies across forum topics to analyze contributions, find data points, and evaluate participation quality in USCardForum discussions.

Instructions

Fetch replies/posts made by a user in other topics.

Args:
    username: The user's handle
    offset: Pagination offset (0, 30, 60, ...)

Returns a list of UserAction objects with:
- topic_id: Which topic they replied to
- post_number: Their post number in that topic
- title: Topic title
- excerpt: Preview of their reply
- created_at: When they replied

Use this to:
- See a user's contributions across topics
- Find their data points and experiences
- Evaluate the quality of their participation

Paginate with offset in increments of 30.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesThe user's handle
offsetNoPagination offset (0, 30, 60, ...)

Implementation Reference

  • MCP tool handler for 'get_user_replies'. Defines the tool function with input schema (username, optional offset) and delegates to the API client to fetch the user's replies as a list of UserAction objects. Includes detailed docstring explaining usage.
    @mcp.tool()
    def get_user_replies(
        username: Annotated[
            str,
            Field(description="The user's handle"),
        ],
        offset: Annotated[
            int | None,
            Field(default=None, description="Pagination offset (0, 30, 60, ...)"),
        ] = None,
    ) -> list[UserAction]:
        """
        Fetch replies/posts made by a user in other topics.
    
        Args:
            username: The user's handle
            offset: Pagination offset (0, 30, 60, ...)
    
        Returns a list of UserAction objects with:
        - topic_id: Which topic they replied to
        - post_number: Their post number in that topic
        - title: Topic title
        - excerpt: Preview of their reply
        - created_at: When they replied
    
        Use this to:
        - See a user's contributions across topics
        - Find their data points and experiences
        - Evaluate the quality of their participation
    
        Paginate with offset in increments of 30.
        """
        return get_client().get_user_replies(username, offset=offset)
  • Imports the get_user_replies handler from users.py as part of the users tools group, making it available for registration when the __init__ is imported.
    from .users import (
        get_user_actions,
        get_user_badges,
        get_user_followers,
        get_user_following,
        get_user_reactions,
        get_user_replies,
        get_user_summary,
        get_user_topics,
        list_users_with_badge,
    )
  • Imports get_user_replies in the main server entrypoint, ensuring the @mcp.tool()-decorated function is loaded and registered with the MCP server.
    from uscardforum.server_tools import (
        analyze_user,
        bookmark_post,
        compare_cards,
        find_data_points,
        get_all_topic_posts,
        get_categories,
        get_current_session,
        get_hot_topics,
        get_new_topics,
        get_notifications,
        get_top_topics,
        get_topic_info,
        get_topic_posts,
        get_user_actions,
        get_user_badges,
        get_user_followers,
        get_user_following,
        get_user_reactions,
        get_user_replies,
        get_user_summary,
        get_user_topics,
        list_users_with_badge,
        login,
        research_topic,
        resource_categories,
        resource_hot_topics,
        resource_new_topics,
        search_forum,
        subscribe_topic,
    )

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/raidenrock/uscardforum-mcp'

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