Skip to main content
Glama

PageLens Analytics

get_user

Read-only

Profile of one identified user (traits, first/last seen, totals) and their sessions.

Input Schema

NameRequiredDescriptionDefault
site_idYesSite id from list_sites
user_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 openWorldHint=false, so safety is covered. The description's contribution is the shape of the returned profile (traits, first/last seen, totals, sessions), which is useful but does not address pagination, missing/unknown users, or whether sessions are truncated.

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 tight sentence with the resource and payload front-loaded and no filler. It stops short of being maximally informative, but every clause earns its place.

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?

With no output schema, the description does carry the burden of describing returns and does so partially (profile fields plus sessions). It remains incomplete on the undocumented user_id parameter and on edge behavior for unknown or non-identified users.

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 50%: site_id is documented in the schema ('Site id from list_sites') while user_id has no schema description. The description says only 'one identified user' and adds no format, source, or constraint for user_id, so it fails to compensate for the coverage gap.

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?

Names the resource precisely ('one identified user') and enumerates the payload (traits, first/last seen, totals, sessions), which implicitly separates it from list_users (many users) and get_session (one session). It lacks an explicit verb, but an agent can tell what it fetches.

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?

Usage is implied by 'one identified user' plus the required user_id, but there is no explicit statement of when to prefer this over get_session or list_users, and no prerequisites or exclusions are given.

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