Skip to main content
Glama

wariwari

Explain a member's balance

get_member_balance
Read-only

Use this to explain why a member owes or is owed: their balance in the group currency, expense by expense. Entries name transactions by token.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "groupToken": "<groupToken>",
      "participantToken": "<participantToken>"
    },
    "name": "get_member_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
participantTokenYesThe member's token, from `showGroup`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • addedInput schema / properties / participantToken / description
      Added value: +"The member's token, from `showGroup`."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description only needs to add context. It does add two useful traits: the result is an expense-by-expense breakdown, and entries reference transactions by token rather than by name — information that shapes follow-up calls. It does not mention whether the breakdown is complete for large groups, ordering, or pagination.

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 short sentences, front-loaded with the usage instruction, then the output shape. No filler and nothing that repeats the schema or annotations.

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?

For a two-parameter read-only tool with no output schema, the description conveys the essential return shape (per-expense entries in group currency, transactions cited by token). Only edge cases — multi-currency members, large histories, ordering — are left unspecified.

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 100% and both parameters document their source tools, so the schema carries this dimension. The description adds nothing about the parameters themselves; it only implies that groupToken fixes the currency of the reported balance.

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?

States a specific verb and resource: it explains a member's balance expense by expense, in the group currency. That distinguishes it from list-style siblings such as get_expense_history or get_group_stats, though no sibling is named explicitly.

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 opening 'Use this to explain why a member owes or is owed' gives a clear triggering situation. It stops short of exclusions or naming an alternative for raw transaction lookup, so the agent must infer when to prefer get_transaction or get_expense_history.

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