Skip to main content
Glama

Flowlines - MCP Analytics

Compare cohorts

compare_cohorts
Read-onlyIdempotent

Compare two Flowlines cohorts through the namespace comparison API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNo
reasonYesA short phrase saying why you are calling this tool, for example: find unpaid invoices.
a_cohort_idYes
b_cohort_idYes
user_intentYesOne sentence describing what the user is trying to accomplish. Keep it the same across calls until the user's goal changes.
namespace_idYesFlowlines namespace UUID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
noticeNo
truncationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing on top: no note that cohort IDs must live in the given namespace, no cost or rate-limit context, and no indication of what the comparison output expresses. With annotations doing all the work, this sentence contributes no behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no padding beyond the redundant API reference, so it is not bloated. But brevity here comes from omission rather than economy: the sentence is front-loaded with the verb and then stops short of any actionable detail.

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

Completeness2/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. Still, for a six-parameter tool with four required audit-style parameters and a range enum, the description supplies no scoping rules, no guidance on sourcing cohort IDs, and no usage context. Far too thin for the tool's complexity.

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?

Schema coverage is only 50%: the range enum, a_cohort_id, and b_cohort_id carry no schema descriptions. The phrase 'two Flowlines cohorts' weakly maps to a_cohort_id/b_cohort_id, but the description never explains what a/b ordering means or what range does, and three of six parameters remain undocumented. It does not compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (compare) and resource (two Flowlines cohorts), which is better than a tautology. However, it never says what the comparison yields or how it differs from the sibling get_cohort, which reads a single cohort. The trailing 'through the namespace comparison API' is filler that adds no distinguishing information.

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 when-to-use, when-not-to-use, or alternative guidance. The agent is not told to prefer get_cohort for single-cohort reads or list_cohorts to discover the IDs it must supply. It also never mentions that this tool is namespace-scoped, which is the key routing constraint among the siblings.

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