Skip to main content
Glama
bhavya998

analytics-mcp

by bhavya998

get_customer_profile

Read-only

Retrieve a complete customer profile with order history, spending statistics, and favorite category to support account reviews, churn analysis, and upsell opportunities.

Instructions

Get a 360-degree customer view: profile, order history, spending stats, favorite category.

Useful for account reviews, churn analysis, and upsell identification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idYesCustomer ID to profile

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
tierYes
emailYes
regionYes
companyYes
customer_idYes
signup_dateYes
total_ordersYes
recent_ordersYesLast 5 orders
lifetime_valueYes
avg_order_valueYes
completed_ordersYes
favorite_categoryYesProduct category with most purchases
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no contradiction. The description adds valuable behavioral context by listing the types of data returned (profile, order history, spending stats, favorite category).

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

Conciseness5/5

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

The description is two sentences, front-loads the main action, and contains no unnecessary words. Every sentence adds value.

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

Completeness5/5

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

Given the presence of an output schema (implied but not shown), the description does not need to detail return values. It covers purpose, usage, and core data aspects completely for a read-only customer profile tool.

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 coverage is 100% with a clear description for customer_id. The tool description does not add additional parameter semantics, but the schema already handles it adequately, meeting the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves a comprehensive 360-degree customer view including profile, order history, spending stats, and favorite category. This distinct purpose from siblings like 'get_regional_performance' or 'analyze_sales_trend' is evident.

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?

The description explicitly mentions use cases: account reviews, churn analysis, and upsell identification. While it does not specify when not to use or name alternatives, the provided contexts strongly guide appropriate usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bhavya998/analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server