Skip to main content
Glama

Search groups

group_search
Read-onlyIdempotent

Find user groups by text in their name or description, with optional active/inactive filtering. Returns sys_id, name, description, active status, manager, and parent for group lookup.

Instructions

Find user groups by text in the name or description, optionally only active or inactive ones. Returns sys_id, name, description, active, manager and parent. Use group_get for members and roles.

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": "group_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoText in the name or description.
limitNoMaximum records to return. Defaults to the configured default, capped at maxRecords.
activeNoOnly active (true) or inactive (false) records.
fieldsNoField names to return (dot-walking allowed, e.g. caller_id.name). Default: all.
offsetNoRecords to skip (paging). Use nextOffset from the previous result.
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.
displayValueNoraw = stored values, display = labels, both (default) = value and label when they differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds value the annotations cannot: the exact field set returned (sys_id, name, description, active, manager, parent), which matters because there is no output schema. No mention of result caps or paging behavior beyond what the schema implies.

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 sentences, zero filler, with the match surface and the returned fields front-loaded. The sibling pointer lands last where it is most useful as a routing cue.

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 7-parameter read-only search with no output schema, the description covers purpose, returned fields, and the main sibling boundary. Minor gaps remain around paging workflow and the instance parameter, but the schema itself documents those adequately.

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%, with each of the 7 parameters documented including the displayValue enum and paging via offset. The description only restates the text and active filters that the schema already defines, adding no extra syntax, defaults, or interaction notes. Baseline 3 applies when the schema does the heavy lifting.

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 pairs a specific verb (Find) with a specific resource (user groups) and names the match surface (name or description), plus an optional active/inactive qualifier. It is clearly distinguishable from group_get, which it explicitly scopes to members and roles.

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?

It gives one explicit routing rule: use group_get for members and roles, which tells the agent when this search tool is the wrong choice. It stops short of covering other plausible alternatives (e.g. table_query, record_lookup) or stating a search-then-fetch workflow, so not a full when/when-not treatment.

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