Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_get_subject_by_id

Retrieves comprehensive subject details by ID, including display name, description, source, and attributes, with optional source scope filtering.

Instructions

Get detailed information about a specific subject by subject ID. Returns comprehensive subject information for all matching subjects including Subject ID, Display Name, Description, Source, and additional attributes, or "Subject not found" if the subject ID does not exist.

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": {
      "subjectId": "<subjectId>"
    },
    "name": "grouper_get_subject_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectIdYesThe subject ID to retrieve
subjectSourceIdNoOptional subject source ID to limit search scope

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does cover two useful traits: the returned field set and the "Subject not found" outcome for a nonexistent ID. It says nothing about required permissions, whether the read is side-effect free, or what a not-found result looks like structurally, so it only partly compensates for the missing annotations.

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 sentences, front-loaded with the action and followed by the return contract and failure case; there is no filler. "Comprehensive subject information" is slightly redundant with the field list that follows, which keeps it from a 5.

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?

For a two-parameter read with no annotations and no output schema, the description usefully stands in for the missing return schema by enumerating fields and the not-found case. It still leaves the caller without routing guidance to the identifier/search siblings and without any permission or scope context.

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 both parameters are already documented, establishing a baseline of 3. The description adds no meaning for subjectSourceId and the phrase "for all matching subjects" actually introduces mild ambiguity about whether a by-ID call can return multiple records.

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 opens with a specific verb and resource ("Get detailed information about a specific subject") and scopes it to lookup "by subject ID," which implicitly separates it from the sibling grouper_get_subject_by_identifier. It never explicitly contrasts with that sibling, so it stops short of a 5.

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 when-to-use guidance: nothing says when to prefer this over grouper_get_subject_by_identifier or grouper_search_subjects, nor when the optional subjectSourceId narrowing should be applied. Usage is only inferable from the tool's own purpose statement.

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