Skip to main content
Glama

Agent Data Tools: Utilities

Split people into teams

random_teams

Split a list of names into a given number of random, evenly sized teams. Use for games, workshops and classrooms. Example: items=Ada,Alan,Grace,Linus,Margaret,Tim, teams=2. Price $0.003/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only; not marked read-only because each call is charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesComma-separated names
teamsNoNumber of teams (default 2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes beyond the annotations by explaining the unusual readOnlyHint=false: 'Reads or computes only; not marked read-only because each call is charged.' It also discloses the pricing model, the free tier, and that failed calls are free — real behavioral context an agent cannot get from the structured fields. It does not cover edge cases (e.g., teams exceeding item count, or the odd negative minimum on 'teams').

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

Conciseness4/5

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

Two tight sentences, front-loaded with the core action, followed by a compact example and pricing note. The pricing sentence is dense but each clause (cost, free tier, failure handling) carries distinct information.

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 tool with no output schema, the description covers what it produces, how to invoke it, and the billing model. Minor gaps remain around behavior with degenerate inputs (more teams than names, non-positive team counts), but the essentials for correct invocation are present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds an illustrative example that concretizes the comma-separated 'items' format and the 'teams' default, which is more than the schema alone conveys.

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?

States a specific verb and resource ('Split a list of names into ... teams') with the defining constraint (random, evenly sized) and a concrete example. It is clearly distinguishable from siblings like random_shuffle and random_pick, which reorder or select rather than partition.

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?

'Use for games, workshops and classrooms' gives clear usage context, and the worked example (items=..., teams=2) shows the intended call shape. It stops short of naming an alternative sibling or stating when-not to use it, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.