Skip to main content
Glama
ousepachn

Beehiiv Analytics MCP Server

by ousepachn

get_publications

Retrieve a list of newsletter publications from your Beehiiv account to access analytics and statistics for data-driven decisions.

Instructions

Get list of publications

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Executes the MCP tool 'get_publications' by calling the BeehiivAPI client's getPublications method to fetch publications from the API.
    case 'get_publications':
      result = await client.getPublications();
      break;
  • Tool schema and metadata definition for 'get_publications', including empty input schema (no parameters required). Also serves as registration in the tools/list response.
    {
      name: "get_publications",
      description: "Get list of publications",
      inputSchema: {
        type: "object",
        properties: {},
        required: []
      }
  • Supporting helper method in BeehiivAPI class that makes the actual API request to retrieve the list of publications.
    async getPublications() {
      return await makeRequest('GET', `${this.baseUrl}/publications`, this.headers);
    }
  • Equivalent helper method in the Python BeehiivAPI class used by the similar 'list_publications' tool.
    def get_publications(self) -> List[Dict[str, Any]]:
        """Get list of all publications."""
        data = self._make_request("GET", "/publications")
        return data.get("data", [])
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. 'Get list' suggests a read-only operation, but it doesn't disclose behavioral traits like pagination, sorting, filtering, rate limits, authentication needs, or what happens if no publications exist. For a tool with zero annotation coverage, this is a significant gap in transparency.

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 extremely concise with just three words, front-loading the core purpose without any waste. It's appropriately sized for a simple tool with no parameters, though this conciseness comes at the cost of detail in other dimensions.

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, no output schema, and multiple sibling tools, the description is incomplete. It doesn't explain what the tool returns (e.g., format, fields), how it differs from similar tools, or any behavioral context. For a tool in a server with many related tools, more guidance is needed to ensure correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description doesn't add parameter information, which is appropriate here. Baseline is 4 for zero parameters, as the schema fully covers the absence of inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get list of publications' clearly states the action (get) and resource (publications), but it's vague about scope and doesn't differentiate from sibling tools like 'get_publication_details' or 'get_posts'. It provides basic purpose but lacks specificity about what kind of list or what publications are being retrieved.

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 about when to use this tool versus alternatives like 'get_publication_details' (for specific publications) or 'get_posts' (which might overlap). The description implies a list operation but doesn't specify context, prerequisites, or exclusions, leaving the agent to guess based on tool names alone.

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/ousepachn/beehiivanalyticsMCP'

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