Skip to main content
Glama
pokakrisztian2

postlayer-connect

Get post analytics

get_analytics

Get normalized analytics for a published post. Use account_id or platform and the post_id from the post tool to retrieve metrics the platform actually exposes.

Instructions

Read normalized analytics for one published post. Returns the metrics the platform actually exposes (a missing metric means the platform does not provide it — never a fake zero). Target by account_id or platform, plus the post_id returned by post.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_idYesThe platform post id returned by the `post` tool.
platformNoPlatform id — use instead of account_id when only one account of that platform is connected.
account_idNoThe connected account id (from list_accounts).
Behavior5/5

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

Discloses critical behavior: returns only metrics the platform provides, never fake zeros. No annotations exist, so description carries full burden and meets it.

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 concise sentences covering purpose, behavior, and usage. No redundant information.

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

Completeness4/5

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

No output schema but explains return semantics. Provides sibling context. Lacks details on error handling or pagination but adequate for a read tool.

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?

Adds context beyond schema: explains post_id origin, when to use platform vs account_id, and account_id source. Schema coverage is 100% but description enhances meaning.

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?

Clearly states verb 'read' and resource 'normalized analytics for one published post'. Distinct from sibling tools like 'post' and 'list_accounts'.

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

Usage Guidelines4/5

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

Specifies targeting by account_id or platform with post_id from 'post' tool. Lacks explicit when-not-to-use but sufficient for typical use.

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/pokakrisztian2/postlayer-connect'

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