Skip to main content
Glama

customer_profile

Read-onlyIdempotent

Profiles a Zendesk organization to surface account facts, ticket trends, response/resolution metrics, SLA status, backlog, sentiment, and risk/positive signals for QBRs, escalations, and renewals.

Instructions

Profile one customer (Zendesk organization): account facts and custom org fields, ticket volume and trend vs the previous period, channel/priority/topic mix, main contacts, our response and resolution performance (vs the previous period and vs all customers), open backlog, SLA achievement, their most challenging tickets with the reasons, and sentiment — CSAT and comments, any AI sentiment field or tags, and the tone of their own messages in a sample of conversations, with excerpts as evidence. signals lists the risks and positives worth leading with. Times are in minutes. Good for account reviews, QBR prep, escalations and renewal risk checks. If the name matches several organizations, the error lists them with IDs.

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": {
      "organization": "<organization>"
    },
    "name": "customer_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date YYYY-MM-DD (exclusive). Overrides period.
startNoStart date YYYY-MM-DD (inclusive). Overrides period.
periodNoReporting period: last_quarter, this_quarter, last_month, this_month, last_year, this_year, ytd, last_7_days, last_30_days, last_90_days, or a calendar unit like '2026-Q3', '2026-09', '2026'. Ignored if start/end are given. Default: last_90_days.
redactNoStrip names, emails, links and long numbers from ticket text and quotes, and list contacts as 'Contact 1, 2…'.
benchmarkNoAlso compute all-customer figures for the period, to show how this customer compares (≈1 API call per 100 tickets account-wide; cached for 10 minutes).
time_zoneNoIANA time zone for the volume trend buckets.UTC
team_levelNoLeave out agent names.
challengingNoHow many of their hardest tickets to list.
include_slaNoSLA achievement on their tickets (reads the account's SLA events for the period).
max_ticketsNo
organizationYesOrganization name (exact, prefix or keywords) or ID.
conversationsNoTickets whose full conversation is read for tone and reply pace (1 API call each): their hardest tickets first, then the most recent.
excerpt_charsNo
compare_previousNoCompare with the previous equivalent period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds genuine behavior beyond that. It discloses the ambiguity failure mode ('If the name matches several organizations, the error lists them with IDs'), the unit convention ('Times are in minutes'), and what the `signals` output leads with. Cost and caching notes live in the schema rather than the description, which is a minor gap rather than a contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is a very long comma-chained inventory of a dozen output categories, which makes it a wall of items rather than a scannable structure. The two trailing sentences ('Times are in minutes', the use cases, the ambiguity error) are tight and earn their place, but front-loading suffers because the enumeration buries the essentials.

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 14-parameter, no-output-schema tool this is substantial: it describes the returned sections, names the `signals` field, notes units, gives use cases and documents the ambiguous-name error. Remaining gaps are minor — defaults such as period=last_90_days and redact=true are left entirely to the schema, and relative cost/latency is not surfaced in the description.

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 86%, and each parameter (period, benchmark, redact, conversations, challenging, compare_previous) already carries its own explanation including cost hints, so the schema does the heavy lifting. The description adds only indirect meaning, explaining that output includes comparison-versus-previous-period and peer benchmarking rather than clarifying parameter syntax or interactions. Baseline 3 is appropriate.

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 description gives a specific verb and resource ('Profile one customer (Zendesk organization)') and then enumerates exactly what the profile contains: account facts and custom org fields, volume trend, mixes, contacts, response/resolution performance, backlog, SLA, challenging tickets and sentiment. That is far beyond a restatement of the name. It never names a sibling tool (e.g. kpi_trends, backlog_report) to contrast its org-scoped, comprehensive view against narrower reports, so sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states concrete use cases: 'Good for account reviews, QBR prep, escalations and renewal risk checks.' That gives an agent a clear picture of the situations this tool is built for. There are no exclusions or named alternatives, so it stops short of the when-not/alternative guidance a 5 requires.

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