Skip to main content
Glama
rybbit-mcp

rybbit-mcp

by nks-hub

User Detail

rybbit_get_user
Read-onlyIdempotent

Retrieve a single user's analytics profile, including traits, session, pageview, event, and duration totals, first/last seen, traffic sources, locations, devices, and linked anonymous devices.

Instructions

Get one user: traits, totals (sessions, pageviews, events, duration), first/last seen, first and last traffic source, plus their locations, devices and linked anonymous devices.

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": {
      "siteId": "<siteId>",
      "userId": "<userId>"
    },
    "name": "rybbit_get_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite ID (numeric ID or domain identifier)
userIdYesUser ID (identified_user_id or internal user ID)

Output Schema

NameRequiredDescriptionDefault
noteNoCaveat about this response, e.g. how many rows were returned and how to get the rest
eventsNo
traitsNo
user_idNoDevice hash
durationNoTotal session time in seconds
sessionsNo
last_seenNo
pageviewsNo
truncatedNoTrue when rows were dropped to keep the response under the size cap
first_seenNo
linked_devicesNoAnonymous device ids merged into this user
identified_user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / linked_devices / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / traits / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed14 schema fields changedv0.9.0
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • removedOutput schema / properties / data
      Removed value: -{
      -  "description": "User detail payload"
      -}
    • addedOutput schema / properties / duration
      Added value: +{
      +  "description": "Total session time in seconds",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / events
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / first_seen
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / identified_user_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / last_seen
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / linked_devices
      Added value: +{
      +  "description": "Anonymous device ids merged into this user",
      +  "items": {
      +    "additionalProperties": {},
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Caveat about this response, e.g. how many rows were returned and how to get the rest",
      +  "type": "string"
      +}
    • addedOutput schema / properties / pageviews
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sessions
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / traits
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when rows were dropped to keep the response under the size cap",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / user_id
      Added value: +{
      +  "description": "Device hash",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changedv0.8.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "User detail payload"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observedv0.5.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description adds the inventory of returned data, which is useful, but says nothing about behavior for unknown/expired users, anonymous-only users, or how the 'linked anonymous devices' relationship is resolved. With annotations carrying the safety profile, this is a reasonable but not rich addition.

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 sentence that front-loads the verb and resource, then lists contents in a compact, readable enumeration. No filler. It is dense but each clause names concrete returned data, so nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 fully-described required params) and has an output schema, so the description needn't explain return structure. It still gives an accurate payload summary and is enough to invoke correctly. The only gap is guidance versus the user-scoped sibling tools.

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%: siteId ('numeric ID or domain identifier') and userId ('identified_user_id or internal user ID') are fully documented in the schema. The description adds no format, scoping, or ambiguity-resolution detail beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ('Get one user') and enumerates the payload: traits, totals, first/last seen, traffic sources, locations, devices, linked anonymous devices. An agent knows exactly what this returns. It does not, however, distinguish itself from overlapping siblings such as rybbit_get_user_traits or rybbit_get_user_event_breakdown, which cover a subset of the same 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?

Usage is only implied: fetch the full profile for a single known user. There is no explicit statement about when to prefer this over rybbit_get_user_traits or rybbit_get_user_session_count, and no mention of prerequisites such as having an identified user. Adequate but leaves routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.