Skip to main content
Glama

PageLens Analytics

get_session

Read-only

Every pageview and event in one session, in order.

Input Schema

NameRequiredDescriptionDefault
site_idYesSite id from list_sites
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and a closed-world scope, so safety is covered. The description adds one genuine behavioral trait beyond that — the results are returned 'in order' — but says nothing about volume limits, pagination, or what happens with an invalid session_id.

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 short sentence with no filler, and the key scoping fact (one session) is front-loaded. It is efficient, though the terse noun-phrase style makes it feel more like a label than an instruction.

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?

There is no output schema, and the description does sketch the return payload (pageviews plus events, ordered), which is the minimum an agent needs. It still omits permissions, result limits, pagination, and how ordering is defined — notable gaps for a retrieval tool with no annotations about output shape.

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 only 50%: site_id carries a hint ('Site id from list_sites') but session_id is completely undocumented. The description offers no parameter information at all, so it does not compensate for the gap in the schema.

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 phrase 'Every pageview and event in one session' clearly states the resource returned and scopes it to a single session, which distinguishes it implicitly from list_sessions and get_events. It lacks an explicit verb and never names a sibling, so differentiation is left to inference rather than stated.

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, no prerequisite (e.g., needing a session_id from list_sessions), and no comparison against get_events or list_sessions. An agent must guess the boundary between this tool and its closest siblings.

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