Skip to main content
Glama

Win/loss and customer-feedback themes

get_trends
Read-only

Recurring themes across the account's logged win/loss reasons and scored customer feedback, each linked to the competitor signal that helps explain it (for example losses citing price alongside a competitor's pricing change). Use it for 'what patterns are showing up?'. For a ranked answer to 'what is costing us deals and what should we do?' use get_deal_impact. Read-only, no parameters. Returns an empty list until enough reasons are logged, in which case suggest log_win_loss or import_win_loss.

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": "get_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare read-only, non-destructive, closed-world, so the description correctly spends its words elsewhere: it discloses the empty-list behavior until enough reasons are logged and routes the agent to log_win_loss or import_win_loss to unblock. That is exactly the behavioral context annotations cannot supply.

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?

Three tight sentences ordered as what-it-is, when-to-use, when-to-use-the-other-tool, then the empty-state caveat. Every clause carries information; the example parenthetical earns its space by disambiguating the theme-linking behavior.

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?

With no input parameters and no output schema, the description still covers return semantics (empty list condition), the linking behavior to competitor signals, and remediation paths. There is no meaningful gap an agent would need to close before calling it.

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 tool takes zero parameters, which is the baseline-4 case; the description also confirms 'no parameters' so the agent doesn't hunt for filters. No further parameter semantics are possible or needed here.

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 output (recurring themes across logged win/loss reasons and scored customer feedback) and the distinctive feature (each theme linked to a competitor signal). The parenthetical example of a price-loss theme tied to a competitor pricing change makes the resource concrete and unmistakable against siblings.

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?

It gives an explicit use condition, the user question 'what patterns are showing up?', and an explicit non-use condition with the alternative named: use get_deal_impact for a ranked 'what is costing us deals' answer. Nothing is left to inference about which of the two to call.

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.