Skip to main content
Glama

get_blogs

Fetch all blog posts from the MCP Blog API to access and review available content in the system.

Instructions

Fetch all blogs from the mock API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:16-20 (handler)
    The handler function for the get_blogs tool, decorated with @mcp.tool(), fetches all blogs from the mock API endpoint using httpx and returns the JSON response.
    @mcp.tool() def get_blogs(): """Fetch all blogs from the mock API.""" response = httpx.get(mock_api_url) return response.json()

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/tussanakorn/POC_MCP_Protocol_using_FastMCP'

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