Skip to main content
Glama

Get insights

get_insights
Read-onlyIdempotent

How the account's sites are doing: page views and visitors from people, AI agents (by name) and other bots counted apart, and top sites, referrers, and countries. Hobby and Team plans.

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_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
slugNoOne site: its slug or link.
workspaceIdNo

Output Schema

NameRequiredDescriptionDefault
toYes
botsNo
daysYes
fromYes
aiAgentsNo
topSitesNo
visitorsYes
pageViewsYes
topAgentsNo
topCountriesNo
topReferrersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / slug / minLength
      Removed value: -1
    • removedInput schema / properties / workspaceId / minimum
      Removed value: -1
    • removedOutput schema / properties / aiAgents / properties
      Removed value: -{
      -  "pageViews": {
      -    "type": "integer"
      -  },
      -  "visitors": {
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / bots / properties
      Removed value: -{
      -  "pageViews": {
      -    "type": "integer"
      -  },
      -  "visitors": {
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / slug
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / topAgents / items
      Removed value: -{
      -  "properties": {
      -    "name": {
      -      "type": "string"
      -    },
      -    "pageViews": {
      -      "type": "integer"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / topCountries / items
      Removed value: -{
      -  "properties": {
      -    "country": {
      -      "type": "string"
      -    },
      -    "pageViews": {
      -      "type": "integer"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / topReferrers / items
      Removed value: -{
      -  "properties": {
      -    "pageViews": {
      -      "type": "integer"
      -    },
      -    "referrer": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / topSites / items
      Removed value: -{
      -  "properties": {
      -    "pageViews": {
      -      "type": "integer"
      -    },
      -    "slug": {
      -      "type": "string"
      -    },
      -    "visitors": {
      -      "type": "integer"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / workspaceId
      Removed value: -{
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the description only needs to add analytical context. It does so by disclosing the human/AI-agent/bot traffic segmentation and the named-agent breakdown, which an agent could not guess from annotations and which materially affects result interpretation.

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?

A single dense sentence that front-loads the core question ("How the account's sites are doing") followed by the metric inventory; nothing is padding. The trailing plan note is short and useful, though the sentence is long enough that structure could be clearer.

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?

An output schema exists and annotations cover the safety profile, so return shape and risk needn't be described. What remains missing is the reporting window default and the single-site versus account-wide distinction, minor gaps for a read-only analytics tool.

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

Parameters2/5

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

Schema coverage is only 33%, so the description should carry more weight for the three parameters. It never explains the days window or the enum values, and although it speaks of "the account's sites" plural, it gives no hint that the slug parameter narrows the report to a single site or how that interacts with workspaceId.

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 resource and the measures returned: page views and visitors split by people, named AI agents, and other bots, plus top sites, referrers, and countries. That is concrete enough to distinguish this account-level analytics tool from a link-level sibling such as get_link_stats, although no sibling is named explicitly.

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?

The only explicit usage constraint is plan eligibility ("Hobby and Team plans"), which is genuinely useful gating information. There is no statement of when to prefer this over per-link stats or other reporting tools, so the agent must infer the account-wide scope from the wording.

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