Skip to main content
Glama

KrystalView Analytics

Get Campaign Summary

get_campaign_summary
Read-onlyIdempotent

Get campaign attribution breakdown by UTM campaign, source, medium, sessions, duration, and bounce rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLookback period in days.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesUTM campaign attribution summaries including sessions, source, medium, duration, and bounce evidence.
metaYesSite and rate-limit metadata for the current MCP call.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, indicating a safe read operation. The description adds value by specifying the breakdown dimensions (campaign, source, medium, sessions, etc.), which helps the agent understand the output scope beyond annotations.

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

Conciseness5/5

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

The description is a single concise sentence that front-loads the core purpose and lists key outputs. Every word contributes meaning without redundancy.

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?

Given the simplicity of the tool (one parameter, good annotations, output schema present), the description sufficiently covers purpose, inputs, and output. No critical information is missing.

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?

The single parameter 'days' is fully described in the schema (minimum, maximum, default, description). The description does not add any additional explanation or constraints beyond the schema, so baseline score 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?

The description clearly states the action ('Get'), the resource ('campaign attribution breakdown'), and lists specific attributes (UTM campaign, source, medium, sessions, duration, bounce rate). It distinguishes this tool from siblings like get_campaign_roas which likely returns ROI data.

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 description explains what the tool does but provides no guidance on when to use it versus siblings such as get_campaign_sessions or get_campaign_roas. Usage context is implied but not explicit.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct analytics dimension (anomalies, campaigns, errors, funnels, live visitors, notifications, scroll depth, sessions, site stats) with clear boundaries. Even overlapping concepts (sessions list vs detail vs live) are separated by distinct functionality.

Naming Consistency5/5

All tool names follow the consistent 'get_<resource>' pattern in snake_case, making it predictable for an agent to infer the purpose of each tool from the name alone.

Tool Count5/5

13 tools is well-scoped for an analytics server covering site stats, sessions, funnels, campaigns, errors, and real-time data. Each tool earns its place without redundancy or unnecessary complexity.

Completeness4/5

The set covers the major analytics domains (traffic, engagement, campaigns, errors, funnels, real-time). Minor gaps exist, such as missing tools for goal/conversion tracking beyond funnels, but core workflows are well supported.