Skip to main content
Glama

business_nps

Read-only

Net Promoter Score calculator — Net Promoter Score from raw 0-10 survey ratings (scores=10,9,8,...) or counts (promoters=, passives=, detractors=). Returns NPS, promoter/passive/detractor %, grade, standard error, confidence interval (confidence=80|90|95|98|99), responses needed for +/-5 and +/-3 margins, score distribution and what-if conversions. Optional benchmark= (industry NPS) significance check and compare_scores= (a second survey wave) with an unpooled z-test, p-value and verdict. Offline, instant. Price: $0.002 USDC (Base, via x402).

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": {
      "scores": "<scores>"
    },
    "name": "business_nps"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoresYes10,9,9,8,7,10,6,3,9,10,8,9,5,10,9

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, non-destructive operation, and the description adds meaningful context: offline/instant computation, pricing via x402, and the returned metrics including standard error, confidence intervals, and significance testing. It does not describe invalid-input handling, but it substantially exceeds what the annotations provide.

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?

The purpose is front-loaded and the dense single sentence avoids filler, but it overloads the reader with many output and optional-analysis details. Those details are useful, though the unsupported parameter names reduce the clarity of an otherwise efficient structure.

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

Completeness3/5

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

With no output schema, the description appropriately explains what the tool returns, including NPS, percentages, grade, standard error, confidence interval, and what-if conversions. However, it advertises several optional inputs that the schema does not support and never states that only `scores` is accepted, leaving the definition inconsistent for correct invocation.

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

Parameters2/5

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

The schema documents the sole `scores` parameter with an example, and the description adds that these are raw 0-10 survey ratings. However, it also tells the agent to use `promoters=`, `passives=`, `detractors=`, `confidence=`, `benchmark=`, and `compare_scores=`, none of which appear in the input schema, so an agent may attempt unsupported arguments. This is below the baseline for high schema coverage because it introduces misleading parameter semantics.

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 names a specific tool and operation: a Net Promoter Score calculator that computes NPS from survey ratings or counts. It clearly distinguishes this calculation from sibling business analytics tools by identifying the exact metric, inputs, and outputs.

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 implied through the described input modes and optional analyses such as benchmark comparison and second-wave comparison. However, there is no explicit when-to-use guidance, no exclusions, and no routing to alternatives when NPS is not the right metric.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources