Skip to main content
Glama
udaysrinu

ExpensifyAI

by udaysrinu

Compare Group Members

compare_group_members

Analyze each member's total spend and ranking, view category×member breakdowns, and receive a minimum-transaction settlement plan for group expenses.

Instructions

Deterministic per-member comparison for a group: total spend + ranking, category×member matrix, insights (highest/lowest/average/spread), and a minimum-transaction settlement plan. Convenience wrapper over analyze_spending with target_type='group'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idYes
dated_afterNo
dated_beforeNo
generate_dashboardNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It communicates determinism, enumerates the analysis dimensions, and explains that it delegates to analyze_spending, making the read-only analysis intent reasonably clear. It does not explicitly state that no data is mutated, but the analytic language strongly implies it.

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?

Two sentences, front-loaded with the core behavior and output list, with a succinct wrapper note. Every word contributes to understanding the tool's function and relationship to a sibling.

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 description gives a clear high-level behavior and output set, and an output schema exists for return values. However, with no annotations and zero schema coverage, the optional date filters and dashboard flag are left undocumented, making the description incomplete for fully utilizing the tool.

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 description coverage is 0%, so the description must compensate for parameter meaning. It only clarifies that group_id identifies the group being compared; dated_after, dated_before, and generate_dashboard are entirely unexplained, leaving an agent unable to correctly use the optional parameters.

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 states a specific verb and resource: deterministic per-member comparison for a group. It enumerates the concrete outputs (total spend, ranking, category×member matrix, insights, settlement plan) and explicitly distinguishes itself from analyze_spending as a convenience wrapper with target_type='group'.

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 clearly indicates when to use the tool: for per-member group comparison, framed as a convenience wrapper over analyze_spending. It identifies the relevant alternative but does not explicitly state conditions for not using it or other alternatives.

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