Skip to main content
Glama

Get Insights

get_insights
Read-onlyIdempotent

Read performance: overview analytics, content and video analytics, LinkedIn analytics, performance analysis and trending topics. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "get_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoThe fields of the chosen action.
actionYesoverview: Get organization analytics, a post analytics snapshot, or analytics for the latest published post related to a selected content item. content: Get analytics for a specific piece of content (article, video, or image) video: Get detailed analytics for a specific video linkedin: Get analytics for LinkedIn posts including impressions, engagement rate, reactions, comments, and shares. performance: Analyze 30-day engagement by content type, platform and posting time, including top posts. trends: Get trending topics and content ideas for the brand's niche (its keywords, hashtags, categories or description), across social media and news.
organizationNoOrganization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused).

Output Schema

NameRequiredDescriptionDefault
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"overview: Get organization analytics, a post analytics snapshot, or analytics for the latest published post related to a selected content item. content: Get analytics for a specific piece of content (article, video, or image) video: Get detailed analytics for a specific video linkedin: Get analytics for LinkedIn posts including impressions, engagement rate, reactions, comments, and shares. performance: Analyze 30-day engagement by content type, platform and posting time, including top posts. trends: Get trending topics and content ideas based on current trends across social media and news."New value: +"overview: Get organization analytics, a post analytics snapshot, or analytics for the latest published post related to a selected content item. content: Get analytics for a specific piece of content (article, video, or image) video: Get detailed analytics for a specific video linkedin: Get analytics for LinkedIn posts including impressions, engagement rate, reactions, comments, and shares. performance: Analyze 30-day engagement by content type, platform and posting time, including top posts. trends: Get trending topics and content ideas for the brand's niche (its keywords, hashtags, categories or description), across social media and news."
    • changedInput schema / properties / input / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "contentId": {
      -        "description": "Existing content or ingredient ID to resolve to the latest related published post analytics.",
      -        "type": "string"
      -      },
      -      "ingredientId": {
      -        "description": "Existing ingredient ID to resolve to the latest related published post analytics.",
      -        "type": "string"
      -      },
      -      "metric": {
      -        "description": "Specific metric to retrieve for organization summaries.",
      -        "enum": [
      -          "engagement",
      -          "reach",
      -          "followers",
      -          "impressions",
      -          "clicks"
      -        ],
      -        "type": "string"
      -      },
      -      "period": {
      -        "description": "Time period for organization analytics summaries.",
      -        "enum": [
      -          "7d",
      -          "30d",
      -          "90d"
      -        ],
      -        "type": "string"
      -      },
      -      "postId": {
      -        "description": "Existing post ID to fetch a direct analytics snapshot.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "contentId": {
      -        "type": "string"
      -      },
      -      "contentType": {
      -        "enum": [
      -          "article",
      -          "video",
      -          "image"
      -        ],
      -        "type": "string"
      -      },
      -      "timeRange": {
      -        "default": "7d",
      -        "description": "Time range for analytics",
      -        "enum": [
      -          "24h",
      -          "7d",
      -          "30d",
      -          "90d",
      -          "all"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "contentId",
      -      "contentType"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "timeRange": {
      -        "default": "7d",
      -        "description": "Time range for analytics",
      -        "enum": [
      -          "24h",
      -          "7d",
      -          "30d",
      -          "90d",
      -          "all"
      -        ],
      -        "type": "string"
      -      },
      -      "videoId": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "videoId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "contentId": {
      -        "description": "ID of the content to get LinkedIn analytics for",
      -        "type": "string"
      -      },
      -      "timeRange": {
      -        "default": "7d",
      -        "description": "Time range for analytics",
      -        "enum": [
      -          "24h",
      -          "7d",
      -          "30d",
      -          "90d"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "contentId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "days": {
      -        "description": "Number of days to analyze (default 30)",
      -        "type": "number"
      -      }
      -    },
      -    "required": [],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "platform": {
      -        "description": "Limit to one platform (instagram, linkedin, pinterest, reddit, tiktok, twitter, youtube). Omit to get trends from every platform.",
      -        "type": "string"
      -      },
      -      "timeframe": {
      -        "default": "24h",
      -        "description": "Only trends refreshed within this window. Every trend carries its updatedAt.",
      -        "enum": [
      -          "24h",
      -          "7d",
      -          "30d"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "contentId": {
      +        "description": "Existing content or ingredient ID to resolve to the latest related published post analytics.",
      +        "type": "string"
      +      },
      +      "ingredientId": {
      +        "description": "Existing ingredient ID to resolve to the latest related published post analytics.",
      +        "type": "string"
      +      },
      +      "metric": {
      +        "description": "Specific metric to retrieve for organization summaries.",
      +        "enum": [
      +          "engagement",
      +          "reach",
      +          "followers",
      +          "impressions",
      +          "clicks"
      +        ],
      +        "type": "string"
      +      },
      +      "period": {
      +        "description": "Time period for organization analytics summaries.",
      +        "enum": [
      +          "7d",
      +          "30d",
      +          "90d"
      +        ],
      +        "type": "string"
      +      },
      +      "postId": {
      +        "description": "Existing post ID to fetch a direct analytics snapshot.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "contentId": {
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "enum": [
      +          "article",
      +          "video",
      +          "image"
      +        ],
      +        "type": "string"
      +      },
      +      "timeRange": {
      +        "default": "7d",
      +        "description": "Time range for analytics",
      +        "enum": [
      +          "24h",
      +          "7d",
      +          "30d",
      +          "90d",
      +          "all"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "contentId",
      +      "contentType"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "timeRange": {
      +        "default": "7d",
      +        "description": "Time range for analytics",
      +        "enum": [
      +          "24h",
      +          "7d",
      +          "30d",
      +          "90d",
      +          "all"
      +        ],
      +        "type": "string"
      +      },
      +      "videoId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "videoId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "contentId": {
      +        "description": "ID of the content to get LinkedIn analytics for",
      +        "type": "string"
      +      },
      +      "timeRange": {
      +        "default": "7d",
      +        "description": "Time range for analytics",
      +        "enum": [
      +          "24h",
      +          "7d",
      +          "30d",
      +          "90d"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "contentId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "days": {
      +        "description": "Number of days to analyze (default 30)",
      +        "type": "number"
      +      }
      +    },
      +    "required": [],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "brandId": {
      +        "description": "Brand whose niche to read. Omit to use the thread's brand, or the organization's only brand; with several brands and no thread brand, the call asks for one.",
      +        "type": "string"
      +      },
      +      "platform": {
      +        "description": "Limit to one platform (instagram, linkedin, pinterest, reddit, tiktok, twitter, youtube). Omit to get trends from every platform.",
      +        "type": "string"
      +      },
      +      "relevance": {
      +        "default": "brand",
      +        "description": "brand (default) returns only trends that match the brand's niche. market returns the shared feed every brand sees, whatever the niche.",
      +        "enum": [
      +          "brand",
      +          "market"
      +        ],
      +        "type": "string"
      +      },
      +      "timeframe": {
      +        "default": "24h",
      +        "description": "Only trends refreshed within this window. Every trend carries its updatedAt.",
      +        "enum": [
      +          "24h",
      +          "7d",
      +          "30d"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the trailing 'Read-only' sentence simply repeats structured data. The description adds no behavioral context beyond that, such as the multi-organization refusal behavior, whether trends results are cached/refreshed, or any latency or rate considerations.

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?

Two short sentences, front-loaded with the core purpose and the scope list, with no filler or marketing language. The final 'Read-only' clause is redundant with the annotations, which is the only wasted element.

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

Completeness3/5

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

For a six-action tool with a complex anyOf input schema, the description is adequate only because the schema and output schema carry nearly all the weight. It gives a high-level map of the action surface but nothing about how actions differ in cost, data source, or expected return shape, which would be valuable at this complexity level.

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 the anyOf branches, enum values, defaults, and the organization-scoping rules are all documented in the schema itself. The description contributes nothing about parameters, so the baseline 3 applies for a tool whose schema does all the semantic work.

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

Purpose4/5

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

The description names a specific verb ('Read') and resource ('performance'), then enumerates the six analytics domains covered (overview, content, video, LinkedIn, performance, trends), which map cleanly onto the action enum. An agent can tell this is the analytics-reading tool rather than get_ads or get_content, though the differentiation comes from the resource name rather than any explicit contrast with siblings.

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?

There is no guidance on when to choose this tool versus siblings such as get_ads, get_content, or get_video_projects, and no statement of prerequisites or preconditions. The action-level 'when to use' detail exists only in the schema's enum descriptions, not in the tool description, leaving the description itself silent on routing decisions.

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.