Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_find_groups_by_name_approximate

Search Grouper groups by approximate name, browse a stem/folder, or combine both with one-level or recursive scope.

Instructions

Search for groups in Grouper by approximate name match and/or within a specific stem (folder). Supports three modes: (1) name search only - provide "query" parameter, (2) stem browsing only - provide "stemName" to list all groups in that stem, (3) combined search - provide both "query" and "stemName" to search within a stem. Use "stemScope" to control whether to search one level ("ONE_LEVEL") or recursively ("ALL_IN_SUBTREE", default). Returns a compact list with each group's name, description, and type (if not a standard group). Use grouper_get_group_by_exact_name to get full details on a specific group.

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

Input Schema

NameRequiredDescriptionDefault
queryNoSearch query for approximate group name matching (optional if stemName is provided)
stemNameNoStem/folder to search within (e.g., "edu:hawaii:basis"). If provided without query, lists all groups in the stem.
stemScopeNoScope when searching by stem: "ONE_LEVEL" for direct children only, "ALL_IN_SUBTREE" for recursive search (default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does well: it implies a read-only search, discloses the default scope behavior (ALL_IN_SUBTREE), and describes the return payload (name, description, type when non-standard). It omits edge behavior such as what happens when neither query nor stemName is supplied (all parameters are optional) and any result-count limits or pagination.

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?

The core purpose leads, the numbered mode list is compact and scannable, and the final sentence routes to the exact-name sibling. No filler sentences and no repetition of the schema verbatim.

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 three-optional-parameter read tool with no annotations and no output schema, the definition covers modes, defaults, return shape, and the fallback tool. The only meaningful hole is the all-optional no-argument case and result-set sizing limits.

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; the description goes beyond it by explaining how parameters combine into modes and by restating stemScope's default and ONE_LEVEL vs ALL_IN_SUBTREE meaning in task terms. The gap is that optionality of individual params (what an empty call yields) is not addressed.

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 gives a specific verb and resource ("Search for groups in Grouper by approximate name match") plus the scoping dimension (within a stem). It also explicitly distinguishes itself from grouper_get_group_by_exact_name, so an agent can separate approximate find from exact lookup without reading either 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?

It enumerates the three valid invocation modes with the exact parameter combinations that select each (query only, stemName only, both), states the stemScope default, and names the alternative tool for full details. There is essentially no inference left for the agent.

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