Skip to main content
Glama
josephruocco

posthog-context-mcp

by josephruocco

get_posthog_doc

Fetch a full PostHog documentation page in markdown by providing its path, slug, or URL. Use this to get the entire page content when you need more than a targeted answer.

Instructions

Fetch a full PostHog doc by path or slug, e.g. 'libraries/js/usage', '/docs/product-analytics/identify', or a full posthog.com URL. Returns the complete markdown — this can be large, so prefer how_do_i unless you need the whole page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
path_or_slugYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the return is complete markdown and can be large, which is important behavioral context. It doesn't cover auth or side effects, but for a simple fetch tool this is sufficient.

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?

Two sentences, no wasted words. The purpose is front-loaded, and the guidance is compact yet informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one parameter and no output schema, the description covers input format, output type, and size warning. It gives the agent everything needed to invoke it correctly.

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?

Despite 0% schema coverage, the description adds meaningful meaning with three format examples (path, slug, URL). This helps the agent understand what to pass for path_or_slug.

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

Purpose5/5

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

The description clearly states the action ('Fetch a full PostHog doc') and the resource ('by path or slug'), with concrete examples. It distinguishes itself from sibling tools by the 'prefer how_do_i' note.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to prefer 'how_do_i' unless the whole page is needed, providing clear when-to-use guidance. The examples of valid paths/slugs/URLs further clarify usage.

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/josephruocco/posthog-mcp-mini'

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