Skip to main content
Glama

Data Parrot AI Revenue Analyst for HubSpot

Analyze Wins and Losses

get_win_loss
Read-onlyIdempotent

Return Data Parrot closed-deal analysis grouped into win/loss reasons, sales performance factors, and buyer decision factors, with attribution, ranking, and supporting-deal evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
team_idsNoExclusive selector: exact team IDs, expanded to active owners.
owner_idsNoExclusive selector: exact IDs from the owners catalog.
page_sizeNo
date_rangeNoOptional inclusive close-date range; omit for all available history.
owner_scopeNoExclusive selector: all owners or current authenticated user.
pipeline_idsNo
deal_statusesYes
signal_rank_byNoWin/Loss rank metric.primary_count
group_page_sizeNo
custom_propertiesNo
signal_attribution_modeNoprimary counts the principal attributed reason; influenced counts each associated signal.primary
include_supporting_dealsNoExpose supporting-deal continuations.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
kindYes
toolYes
summaryYes
result_idNo
limitationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds value by disclosing the output composition — grouping by reasons/factors with attribution, ranking, and supporting-deal evidence — which orients the agent to the result shape. The word 'Return' is consistent with the read-only annotation; no contradiction exists.

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 description is a single dense sentence with no wasted words. The primary action and output structure are front-loaded. It could arguably be split for readability, but it is appropriately sized and efficient.

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?

The tool is complex (13 parameters, several exclusive selectors, multiple enum-driven options), yet the description is just one sentence. The output schema covers return values, but the description does not address usage context, selector exclusivity, or how this analysis differs from the adjacent get_deals tool. For a tool this complex, additional guidance would be warranted.

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 54%, which sits between the high and low thresholds, so the description carries a moderate burden. It indirectly maps to signal_rank_by (ranking), signal_attribution_mode (attribution), and include_supporting_deals (supporting-deal evidence), which adds some value. However, it doesn't clarify the required deal_statuses or the semantics of the exclusive selector filters (team_ids, owner_ids, owner_scope) that would matter for correct invocation.

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?

The description states a specific verb ('Return'), a clear resource ('Data Parrot closed-deal analysis'), and enumerates the output groupings (win/loss reasons, sales performance factors, buyer decision factors) plus attribution, ranking, and evidence. This is a specific and informative purpose statement. However, it doesn't explicitly differentiate from siblings like get_deals, which could also surface closed-deal data, so it loses the full point.

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?

The description gives no guidance on when to use this tool versus the 13 sibling tools, including close relatives like get_deals, get_forecast, and get_pipeline_history. No exclusions, prerequisites, or alternative tool references are provided. The agent must infer the analytical use-case context entirely on its own.

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