Skip to main content
Glama

sociahive

get_flow_stats

Fetch execution analytics for one flow — total triggers, button clicks, unique users, status breakdown, last 7 days daily timeline. Use when the user asks "how is my welcome DM performing?" / "show stats for this flow" / "is the flow getting any traffic?".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for disclosing behavior. While it states the data returned, it does not mention that the operation is read-only, what happens if the flow ID is invalid, or any error conditions. It also gives no indication of latency or rate limits. For a simple analytics fetch, more behavioral context (e.g., 'does not modify the flow') would be expected.

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 two sentences with no redundancy. The core capabilities are front-loaded in the first sentence, and the second provides practical example user intents. Every sentence adds value without padding.

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?

Given the tool has a single parameter and no output schema, the description lists the metrics returned, which is useful. However, it does not describe the structure of the response (e.g., object vs array, field names) or how the 'last 7 days daily timeline' is represented. It also lacks any notes on prerequisites or edge cases. The description is adequate for a basic use case but leaves some questions unanswered.

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 describes flowId only as a string with 0% coverage, so the description must compensate. The description implies flowId identifies the flow but does not explain where to find it, its format, or any constraints (e.g., must be a valid flow ID). For a single undocumented parameter, the description underdelivers; an agent might not know how to obtain or validate flowId.

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 specifies a verb ('Fetch') and resource ('execution analytics for one flow') and enumerates the exact metrics returned (total triggers, button clicks, unique users, status breakdown, daily timeline). It distinguishes from sibling tools like list_flows_with_stats (which suggests multiple flows) and get_analytics_overview (broader analytics). The scope is unambiguous.

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

Usage Guidelines4/5

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

The description provides concrete user intents when to use it, such as 'how is my welcome DM performing?' and 'is the flow getting any traffic?'. It implies the tool is for a single flow's analytics, which differentiates it from list-oriented siblings, but it does not explicitly state when not to use it or mention alternatives. The guidance is clear but lacks explicit exclusion 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.

Resources