Skip to main content
Glama

Profit get LTV

profit_get_ltv
Read-only

Customer lifetime value and LTV:CAC for a window in days (e.g. 90). client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "profit_get_ltv"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
windowNo
user_idNo
client_idNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: client_id falls back to the active brand, and extra is a pass-through for any field the app accepts. It omits the default window value, the units/currency of the returned CAC figures, and any note on cost or rate limits.

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?

Two dense, front-loaded sentences that put the metric and window first and the parameter notes second. Nothing is padded, though the semicolon-joined parameter clause reads as a run-on rather than a structured breakdown.

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?

An output schema exists, so return values need not be described. However, for a five-parameter analytics tool with zero schema documentation, the definition leaves user_id/user_email unexplained, never states the default window, and provides no routing to sibling LTV/contribution tools, making it only minimally complete.

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 0%, so the description must carry the parameter burden, and it does partially: window is 'in days (e.g. 90)', client_id 'picks the brand (defaults to the active one)', and extra is a pass-through. Two of the five parameters, user_id and user_email, are never mentioned, leaving their role and interaction with client_id entirely undocumented.

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+resource: retrieves customer lifetime value and the LTV:CAC ratio over a day-based window. That is concrete enough to distinguish the metric, but it never contrasts itself with the similarly named sibling shopify_get_ltv, so an agent must guess which LTV source applies.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named despite shopify_get_ltv and profit_get_contribution sitting alongside it. The only implied guidance is the window example '(e.g. 90)', which hints at typical input rather than at selection criteria.

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.