Skip to main content
Glama

get_format_performance

Read-only

Answer "what type of post works best?", "do images or videos perform better?", "which format gets the most engagement?" for a platform. Ranks post formats (text, image, video, etc.) by engagement. On LinkedIn it is each format's median engagement rate per post, with how many posts it is based on, so a format with only a post or two can be read with care; it covers member profiles' posts only, not company pages. With too few posts it says there isn't enough data yet. For overall numbers use get_analytics_summary; for single posts, list_top_posts.

Input Schema

NameRequiredDescriptionDefault
periodNoRolling window ending today. Default 30d. For any other window, pass start_date/end_date instead.
end_dateNoOptional. Last day of a custom range, YYYY-MM-DD, inclusive. Defaults to today. Needs start_date.
platformYesRequired. The network to analyze.
start_dateNoOptional. First day of a custom range, YYYY-MM-DD, in the user's timezone. Use for windows the presets don't cover: "last 14 days", "in March", "since Jan 1", "last year". Overrides `period`. Ranges can cover up to 366 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/destructiveHint=false, so the safety profile is covered; the description goes further by disclosing the metric (median engagement rate per post), the accompanying sample size, the reason for it (small-n formats should be read with care), the insufficient-data response ('there isn't enough data yet'), and platform-specific coverage limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the user-question framings, then methodology, then sibling routing — a sensible order with no wasted clauses. The three near-synonymous example questions are slightly redundant but serve query-matching discoverability, so the minor verbosity is defensible.

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?

With no output schema, the description carries the return-value burden and does: it explains the ranking, the metric, the per-format post counts, and the empty/insufficient-data case. Combined with the read-only annotations and fully documented parameters, an agent has everything needed to call and interpret it.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters — including the period/start_date/end_date interplay and enum values — are already fully documented in the schema. The description only implies that a platform must be supplied and adds no format, default, or override semantics beyond it, so the baseline 3 applies.

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?

States a specific verb and resource — 'Ranks post formats (text, image, video, etc.) by engagement' for a given platform — and frames it around the exact user questions it answers. It is clearly distinguishable from get_analytics_summary (overall numbers) and list_top_posts (single posts), both of which it names.

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?

Gives explicit triggering questions ('what type of post works best?', 'do images or videos perform better?') plus explicit routing to alternatives for adjacent needs. The LinkedIn scope caveat ('member profiles' posts only, not company pages') further constrains when results are valid.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources