Skip to main content
Glama

Clarity get page metrics

clarity_get_page_metrics
Read-only

Per-page Clarity UX metrics. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": "clarity_get_page_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
extraNo
user_idNo
client_idNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 and the bar is lower. The description adds two genuine behavioral facts — that client_id falls back to the active brand and that extra is a passthrough for arbitrary app fields — which is real value beyond the annotations, though it says nothing about the time window or the cost/shape of the operation.

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 what the tool returns and followed by the two non-obvious parameters. Nothing is padded, though the opening sentence fragment is terse to the point of being under-specified rather than optimally efficient.

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?

Adjusted for richness: an output schema exists, so return values need not be described, and annotations cover the read-only safety profile. What remains is the passthrough/default behavior, which the description does supply. The residual gap (days/user_id/user_email semantics) is a parameter problem better attributed to that dimension than to overall completeness.

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 description coverage is 0% across 5 parameters, so the description must carry the burden, and it only explains client_id (defaults to active brand) and extra (passthrough). The meaning and expected format of days, user_id, and user_email — including whether they filter the underlying dataset — are left entirely undocumented.

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?

"Per-page Clarity UX metrics" names the resource and its granularity, so the agent can tell this is a page-level Clarity reporting tool. But it is a bare noun phrase with no verb, and it never distinguishes itself from the sibling clarity_get_insights, leaving the agent to guess which one returns page breakdowns.

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 when-to-use guidance at all: no mention of prerequisites, no statement of when page-level metrics are preferable to clarity_get_insights or the analytics_* metric siblings. The only conditional content is about parameter defaults, not about tool selection.

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.