Skip to main content
Glama

Get a contact's groups

plando_get_contact_groups
Read-onlyIdempotent

Retrieve the course or class groups a contact belongs to, including registration and payment status, to review enrollments and schedule coverage.

Instructions

The course or class groups a contact belongs to, with registration status and payment status. Every group seen here is added to the groups plando_get_schedule covers for the rest of the session.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "plando_get_contact_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
contact_idYesPlando contact id (the number in the contact's URL: plando.co.il/contacts/show/<id>)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious context: results are cached into session scope so later plando_get_schedule calls see these groups, and it enumerates the status fields returned. It still says nothing about empty results, permissions, or error behavior.

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 short sentences with no filler, front-loaded with the returned resource and its fields. The trailing clause about plando_get_schedule is slightly compressed and takes a second read to parse.

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?

With one required parameter, full annotation coverage, and no output schema, the description compensates by describing the shape of the return values (groups plus registration and payment status) and a session-level side effect. Only the absence of failure/empty-case behavior keeps it from being fully complete.

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?

There is a single parameter with 100% schema coverage, including a concrete hint about where the id appears in the contact URL, so the schema does the heavy lifting. The description adds no further meaning about contact_id or about what happens with an invalid or unknown id.

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 names the specific resource returned — the course or class groups a contact belongs to — plus the fields carried (registration status, payment status). It is clearly distinguishable from list-oriented siblings, though it never uses an explicit verb like "retrieve" and does not directly contrast with plando_get_group_events.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is offered for the case where the agent wants group rosters rather than a contact's memberships. The only sibling reference (plando_get_schedule) describes session side effects, not a selection rule, so usage must be inferred.

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