Skip to main content
Glama

Measure.events Analytics

Insights

get_insights
Read-only

Anomalies and trends: page spikes, new referrers, new AI agents, traffic drops, weekly trend.

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": {
      "site_key": "<site_key>"
    },
    "name": "get_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_keyYesThe site's tracking ID (site_key), from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / site_key / description
      Previous value: -"The site's tracking ID"New value: +"The site's tracking ID (site_key), from list_sites."
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the kinds of insights returned, but does not disclose time period defaults, pagination, authentication requirements, or return format details.

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?

The description is a single compact fragment with no wasted words and front-loads the main content categories. It is appropriately sized for a simple read-only tool, though the missing verb makes it slightly less clear than it could be.

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 simple read-only tool with one fully documented parameter and annotations covering safety, the description provides adequate content categories. However, it lacks details about the time window, default reporting period, or return structure, which would help an agent invoke it correctly.

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%, and the single site_key parameter is documented in the schema. The description does not add any parameter semantics beyond what the schema already provides, so the baseline 3 is appropriate.

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 description identifies the resource as "insights" and enumerates specific content categories (page spikes, new referrers, AI agents, traffic drops, weekly trend). However, it omits a clear verb like "returns" or "retrieves" and does not distinguish this tool from siblings such as get_site_summary or get_site_analytics.

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?

No explicit when-to-use guidance or exclusions are provided. The content categories imply that this is for anomaly/trend detection, but the description does not say when to choose it over get_site_summary, get_site_analytics, or get_breakdown.

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