Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_search_subjects

Searches Grouper subjects by text across names and identifiers, optionally limited to a subject source, and returns matching Subject IDs, display names, descriptions, and attributes.

Instructions

Search for subjects using Grouper's text search functionality. Returns comprehensive subject information for all matching subjects including Subject ID, Display Name, Description, Source, and additional attributes. Uses Grouper's native searchString capability for flexible text matching.

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": {
      "searchString": "<searchString>"
    },
    "name": "grouper_search_subjects"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchStringYesSearch string to find subjects (searches across names, identifiers, and other subject data)
subjectSourceIdNoOptional subject source ID to limit search scope

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the return shape (Subject ID, Display Name, Description, Source, additional attributes) and the matching mechanism, but says nothing about result caps, pagination, wildcard/partial-match semantics, or required permissions.

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?

Three sentences, front-loaded with the action, and no filler. The final sentence about native searchString partially restates the first sentence's "text search functionality," which is mild redundancy but not harmful.

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 read/search tool with no output schema, the description covers purpose, matching mechanism, and returned fields, which is most of what an agent needs. The remaining gap is operational behavior (result limits, empty-result handling) that a caller would want before relying on it.

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 100%, so the schema already documents both searchString and subjectSourceId, and the baseline is 3. The description adds only marginal meaning, noting that matching is flexible/native, and adds nothing about how subjectSourceId interacts with the search scope.

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 a specific verb and resource ("Search for subjects") and qualifies the mechanism (Grouper's text search / native searchString). It implicitly distinguishes itself from exact-lookup siblings like grouper_get_subject_by_id by emphasizing "flexible text matching," but it never names an alternative explicitly.

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?

Usage is only implied: an agent can infer this is the tool for fuzzy/partial subject lookup versus exact-ID retrieval, but the description states no when-to-use, when-not-to-use, or preferred-alternative guidance. It also does not say what to do when the search returns nothing (e.g., try a broader string or fall back to an exact lookup).

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