Skip to main content
Glama

get_consumer_profile

Read-onlyIdempotent

Retrieve aggregated consumer profile data by consumer key, including display name, channels, sessions, turns, agents, product flags, and timestamps.

Instructions

Get aggregated consumer profile (cross-session, cross-agent): display name, channels used, total sessions, total turns, agents interacted, product flags, timestamps

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": {
      "consumer_key": "<consumer_key>"
    },
    "name": "get_consumer_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
consumer_keyYesConsumer identifier (normalized external user ID or email). Must match the session consumer_key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.4
    • changedInput schema / properties / consumer_key / description
      Previous value: -"Identificador do consumer (WaId/idUsuario/email normalizado). Mesmo valor de agent_sessions.consumer_key."New value: +"Consumer identifier (normalized external user ID or email). Must match the session consumer_key."
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile fully (readOnly, idempotent, closed-world, non-destructive), so the description only needs to add operational context. It does add value by enumerating the returned fields, which matters since no output schema exists, but it says nothing about behavior for an unknown consumer_key (empty result vs. error) or about cost/limits of the cross-session aggregation.

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?

One compact sentence with the resource and the scope qualifier front-loaded, and the field list packed into a colon-delimited enumeration. No filler, though the telegraphic field list reads as schema restatement rather than explanatory prose.

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?

For a one-parameter read-only lookup with no output schema, the description supplies the return-field inventory that would otherwise be missing, which is the main gap it needed to close. Only minor omissions remain: unknown-consumer behavior and whether the aggregate is precomputed or computed on demand.

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% and the single parameter is fully documented in the schema, including the normalization and matching requirement. The description never mentions consumer_key at all, so it adds no meaning beyond the schema. Baseline 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 ('Get') and resource ('aggregated consumer profile') and enumerates exactly what the profile contains (display name, channels, totals, agents, flags, timestamps). The 'cross-session, cross-agent' qualifier partially distinguishes it from list_consumer_sessions, though it never names a sibling explicitly.

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: an agent can infer this is the roll-up view rather than a per-session listing, thanks to 'cross-session, cross-agent'. There is no explicit when-to-use guidance, no statement of when to prefer list_consumer_sessions or any other sibling, and no prerequisites mentioned.

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

Deploy Server

Other Tools