Skip to main content
Glama

wariwari

Get a group's balances

get_group
Read-only

Use this for who is in a group and who owes whom. Returns members with their tokens, each member's net balance per currency (positive = is owed, negative = owes), and the suggested payments that settle up. Expenses are not included; use list_transactions for those.

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>"
    },
    "name": "get_group"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds genuinely new behavioral detail by explaining the sign convention (positive = is owed, negative = owes) and that settlement payments are suggested rather than authoritative. It does not mention pagination, group-size limits, or error behavior for an invalid token, which keeps it below a 5.

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?

Three sentences, front-loaded with the use case, followed by return contents and then the exclusion boundary. Every clause carries information: no restatement of the title or name, and no filler.

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

Completeness5/5

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

There is no output schema, so the description must carry the return-shape burden, and it does so precisely by naming the three result components and their sign semantics. Combined with the explicit expense exclusion, an agent has everything needed to call this tool correctly and interpret the response.

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?

With a single parameter at 100% schema description coverage, the schema already carries the full burden of token provenance. The description adds no format, scope, or constraint detail about groupToken beyond what the schema states, so the baseline of 3 applies.

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 uses a concrete framing ("who is in a group and who owes whom") and then enumerates the exact payload: members with tokens, per-currency net balances, and suggested settlement payments. It also draws an explicit boundary against list_transactions for expenses, so an agent can distinguish it from the sibling without opening the schema.

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

Usage Guidelines5/5

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

The opening clause states the selecting condition directly, and the final sentence names the alternative (list_transactions) plus the condition that routes to it (expenses). This is explicit when-to-use and when-not-to-use guidance with a named alternative, not an inferred one.

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