Skip to main content
Glama
brystal00
by brystal00

msio_customer_intel

Read-onlyIdempotent

Analyze a customer's jobs and invoices to identify churn risk, payment health, and value using 9 pattern flags with clear explanations.

Instructions

Comprehensive customer intelligence — 9 binary pattern flags for churn risk, payment health, value assessment, and service patterns. Returns all patterns that fire with human-readable explanations.

USE WHEN: "Tell me about this customer", customer history review, churn risk assessment, before sending an estimate, account health check. DO NOT USE WHEN: Looking up customer contact info only (use hcp_get_customer), listing all customers (use hcp_list_customers). GOTCHAS: Requires customer_id (cus_ prefix). Fetches all customer jobs + invoices — may take a few seconds for high-volume customers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
errorNo
successYes
metadataYes
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior. The description adds valuable operational context beyond those: it requires a cus_-prefixed customer_id, fetches all customer jobs and invoices, and warns that high-volume customers may cause a multi-second delay. This helps the agent set expectations and avoid surprises.

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 well-organized with labeled sections: outcome, USE WHEN, DO NOT USE WHEN, and GOTCHAS. It front-loads the core purpose, avoids repeating schema details, and every section contributes actionable information rather than filler.

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 one simple parameter, an output schema, and annotations covering safety and idempotency, the description covers the remaining needed context: what the tool returns, when to use it, when not to use it, and practical gotchas. Nothing critical is missing for correct invocation and tool selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has only one parameter with no description and 0% coverage, so the description must compensate. It does by specifying that customer_id must use the cus_ prefix and is required in practice, which is the essential semantic for the single parameter. It does not go further into format details, but for a simple string ID the guidance is sufficient.

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 identifies a specific analytical tool: it computes customer intelligence as 9 binary pattern flags across churn risk, payment health, value, and service patterns, and returns only the patterns that fire with explanations. This makes its purpose concrete and distinguishes it from simple customer lookup or listing siblings like hcp_get_customer and hcp_list_customers.

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

Usage Guidelines5/5

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

The description provides explicit USE WHEN scenarios such as customer history review, churn risk assessment, account health checks, and pre-estimate reviews. It also gives explicit DO NOT USE WHEN guidance with named alternatives, which is the ideal tool-selection support for an agent.

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/brystal00/msio-server'

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