Skip to main content
Glama

Aggregate across many conversations

analyze_cohort

Combine scores from multiple conversations into one report with per-indicator means, spread, and group comparisons with effect sizes, ready for funders.

Instructions

Combine scores from multiple conversations into one report: per-indicator means, spread, and optional group comparison with effect size. This is the tool that produces something a funder can read. Pass the structured score objects returned by score_conversation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoresYesStructured score objects from score_conversation (its <structured_data> block).
group_byNoMeta key to group by, e.g. "cohort". With exactly two groups, effect sizes are included.
indicatorsNo
Behavior4/5

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

With no annotations provided, the description carries the full burden. It clearly discloses the tool's main behavior—aggregating scores and producing statistical summaries—and even notes the optional group comparison with effect size. It omits edge cases like validation or handling of multiple groups, but is sufficiently transparent for an analytical tool.

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 waste. It front-loads the core function and then adds a crucial usage hint, earning a perfect score for conciseness.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description adequately explains what the report contains and how to prepare inputs. It could detail the exact output structure, but the overview is sufficient for selecting and invoking the tool.

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 67%, so the baseline is 3. The description reinforces the 'scores' parameter's source and adds semantic context to 'group_by' (optional comparison with effect size), but it does not significantly expand beyond the schema's existing descriptions.

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 states the tool aggregates multiple conversation scores into a single report with specific statistical outputs (per-indicator means, spread, optional effect sizes). It distinguishes itself from sibling tools like compare_conversations by focusing on cohort-level aggregation into a funder-readable report.

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?

It explicitly tells the user to pass structured score objects from score_conversation, giving a clear context for when to use this tool. However, it does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paiksca/turnwise'

If you have feedback or need assistance with the MCP directory API, please join our Discord server