Skip to main content
Glama
V2-Digital

V2.ai Insights Scraper MCP

by V2-Digital

get_post_content

Extract complete blog post content from V2.ai Insights by specifying the post index for analysis and summarization.

Instructions

Returns the full content of the blog post at the specified index

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes

Implementation Reference

  • The core logic for fetching a post's content by its index.
    def _get_post_content(index: int):
        """Returns the full content of the blog post at the specified index"""
        posts = fetch_blog_posts()
        if 0 <= index < len(posts):
            return posts[index]
        else:
            return {"error": f"Invalid index. Available posts: 0 to {len(posts) - 1}"}
  • The MCP tool registration for 'get_post_content'.
    @mcp.tool()
    def get_post_content(index: int):
        """Returns the full content of the blog post at the specified index"""
        return _get_post_content(index)

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/V2-Digital/v2-ai-mcp'

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