Skip to main content
Glama
people-context

people-context

list_group_memberships

Read-only

Retrieve a bounded page of a person's recorded group memberships by person_id or name to verify their affiliations.

Instructions

Return a bounded page of one person's recorded group memberships with each group.

Pass person_id from resolve_person, or person (a name or alias) to resolve inline. Only ordinary memberships in ordinary groups are returned. An unknown or removed person returns found: false.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_group_memberships"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
personNo
person_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "list_group_membershipsDictOutput",
      -  "type": "object"
      -}New value: +null
  2. Addedv1.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds useful behavior beyond that: results are a 'bounded page,' memberships are filtered to ordinary groups, and an unknown or removed person yields `found: false` rather than an error. It stops short of explaining how to continue past the first page, which is notable given a `limit` parameter with no offset or cursor.

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 short sentences with no filler, and the core action is front-loaded before the parameter and filtering details. Every sentence contributes new information.

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?

There is no output schema, so the description bears responsibility for the return shape; it mentions 'with each group' and `found: false` but never says what a group entry contains or how paging continues. For a read tool with three optional parameters this is adequate but leaves real gaps an agent would hit on the first call.

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 description coverage is 0%, so the description must carry the load. It does well for `person_id` (source it from resolve_person) and `person` (a name or alias resolved inline), but says nothing about `limit` — its default of 50, any maximum, or precedence when both `person` and `person_id` are supplied. Two of three parameters are meaningfully explained; the third is not.

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?

The description uses a specific verb and resource: 'Return a bounded page of one person's recorded group memberships with each group,' and narrows scope to 'ordinary memberships in ordinary groups.' It distinguishes itself somewhat from mutation siblings (add_group_membership, close_group_membership) by being a read, but never names the closest alternate readings like get_group or get_relationship_graph.

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

Usage Guidelines3/5

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

It gives concrete guidance on which identifier to supply ('Pass `person_id` from `resolve_person`, or `person` ... to resolve inline'), which is real when-to-use help at the parameter level. However, it offers no guidance on when to choose this tool over overlapping siblings such as find_groups, get_group, or get_relationship_graph, and no exclusions.

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