Skip to main content
Glama

get_performance

Read-only

How published posts are doing: one table per post, the per-day and follower tables, and findings.

rows: one per post Antwork published in the last days (posts made on the platform directly: fetch_platform_posts), with likes, comments, shares, impressions, reach, saves, clicks, bookmarks, linkClicks, profileVisits, follows, watchTimeSeconds, quotes (X quote posts, also in shares), avgWatchTimeSeconds and totalEngagement (likes+comments+shares), plus platformTotals. impressions counts a different thing per platform, named by reachBasis, so different bases never add or compare; reach never adds. A null is a metric not measured or not reported, never a zero. coverage says what the numbers count (only posts published through Antwork, the window, posts not measured yet per platform, and per account notThroughAntwork when a stored read shows posts made elsewhere): quote it before comparing these totals with the platform or with daily. daily: growth as columns for a chart: dates and series[platform][metric], an array aligned with dates; interval is "day" up to 31 days and "week" past that (dates are then Mondays, the first and last weeks partial). reachBasis per platform, notes for days read degraded, and changeTotals, the window's growth summed (not lifetime). A total across platforms adds them, except impressions of different bases and reach. followers: the same dates and per account a followers array (weekly: the week's last count). In both a null is a period not measured (draw a gap), never a zero; a metric or platform with no measurement is left out. In post rows a missing field was not measured, and text is the first 100 characters (textTruncated; get_post has it all). format="rows" gives the long daily tables instead (one row per date and platform or account) and full rows.

findings, computed from those numbers, in the workspace timezone: comparison (each platform against the previous window of equal length), ranking (top and bottom posts by engagement rate and the traits the top ones share, or enoughData: false), bestWindows (from the account's own posts, else labelled fallbacks), followers (change over the window), postAgainToday (the last and next 24 hours against the account's usual count and daily cap), growth (the posts that brought followers where the platform reports follows per post; growth.days on every platform: the stretches between follower counts that grew most, the posts in them, and growth with posts vs without, quoting its basis), networkWins (posts with a version per network: which network did best how often, and the median ratio over the runner-up) and digest: the window as a report, with lines ready to show. A weekly or monthly report is days=7 or days=30 and its digest.

With post_id, that one post's per-day history instead (cumulative* and daily* columns); without days, its whole history. A post with versions on other networks adds versions: each version's numbers ranked, the winner and its ratio over the runner-up (campaign_id gives versions alone).

format="table" answers only flat rows for a sheet or dashboard: per post (postId, account, platform, publishedAt, url, likes, comments, shares, impressions, reach, saves, clicks) and per account (followers, change).

Args: days: The window, ending today (1-365, default 30). platform: Restrict to one platform. account_id: Restrict to one connected account. post_id: One post's history instead of the workspace's. campaign_id: One post's versions compared (the campaignId on its rows). limit: Max post rows (default 30, max 50). workspace_id: Workspace ID or name. Optional if user has only one workspace. format: Omitted or "series": the answer above. "rows": the same with daily, followers and post rows as long tables. "table": the compact rows above, nothing else. refresh: True re-reads the accounts in view from their networks before answering, for someone who asks for the newest numbers. Each account then rests 15 minutes (LinkedIn an hour) and X is never re-read; refresh in the answer lists each account's outcome (refreshed, resting, not_refreshable, needs_reconnect, no_posts) and availableAt. Not with post_id or campaign_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
formatNo
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
post_idNo
refreshNo
platformNo
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
account_idNo
campaign_idNo
workspace_idNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / campaign_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Campaign Id"
      +}
    • addedInput schema / properties / refresh
      Added value: +{
      +  "default": false,
      +  "title": "Refresh",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  3. Changed1 schema field changed
    • addedInput schema / properties / format
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Format"
      +}
  4. Changed5 schema fields changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Account Id"
      +}
    • addedInput schema / properties / days / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / days / default
      Previous value: -30New value: +null
    • removedInput schema / properties / days / type
      Removed value: -"integer"
    • addedInput schema / properties / post_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Post Id"
      +}
  5. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "context",
      -  "llm_model"
      -]New value: +[]
  6. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint annotations, the description discloses the hard behavioral facts an agent needs: nulls mean unmeasured, never zero; `coverage` and `reachBasis` must be quoted before comparing; refresh costs are spelled out with per-account resting periods (15 minutes, LinkedIn an hour, X never re-read) and possible `outcome` values including needs_reconnect. It also states the compatibility constraint that `refresh` is not valid with `post_id` or `campaign_id`. This is substantive context the annotations do not carry.

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

Conciseness2/5

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

The description runs several hundred words and is dominated by an enumeration of return-value fields and sub-objects (`rows`, `daily`, `followers`, `findings`, `versions`) that the tool already exposes via an output schema. The key operating information, such as refresh costs and mode selection, is buried near the end. The 'a null is ... never a zero' rule is stated twice in near-identical wording, and the front-loading is weak.

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?

For a twelve-parameter, multi-mode analytics tool this is more than complete on mechanics: windowing, format modes, refresh behavior, caveats and metric caveats are all covered, and an output schema exists so the heavy field documentation is redundant but not harmful. The remaining gap is that it never tells the agent which sibling to use instead for raw post listing or single-post content.

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

Parameters5/5

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

Schema description coverage is only 25%, so the description must compensate, and the Args block does: it gives the day range and default (1-365, default 30), the limit default and ceiling (30/50), the meaning of platform/account_id/workspace_id scoping, the semantics of post_id versus campaign_id, and the three distinct `format` behaviors. Only the telemetry parameters (context, llm_model, conversation_id) are left to the schema, which already documents them.

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 opening 'How published posts are doing' identifies the resource (post performance metrics) but offers no verb or crisp one-line statement of what the tool produces before it dives into field-by-field table layouts. A reader can infer it is an analytics/reporting tool, but only after parsing several paragraphs of output structure. Sibling references (fetch_platform_posts, get_post) are used to explain field semantics rather than to differentiate this tool's role.

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

Usage Guidelines3/5

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

Usage cues are scattered rather than stated: `days=7`/`days=30` for weekly/monthly reports, `refresh` 'for someone who asks for the newest numbers', `format` variants for sheets or dashboards. There is no explicit statement of when to reach for this tool versus list_posts or get_post, nor any exclusion telling the agent when not to use it. The guidance is implied by mode descriptions rather than framed as selection criteria.

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.