Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_get_subject_by_identifier

Retrieves detailed subject information using a subject identifier, optionally limited by source, and returns attributes or a not-found result.

Instructions

Get detailed information about a specific subject by subject identifier. 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 identifier 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": {
      "subjectIdentifier": "<subjectIdentifier>"
    },
    "name": "grouper_get_subject_by_identifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectSourceIdNoOptional subject source ID to limit search scope
subjectIdentifierYesThe subject identifier to retrieve

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, the description carries the full burden, and it does disclose two useful behaviors: that multiple matches may be returned ('all matching subjects') and that a 'Subject not found' response is produced for unknown identifiers. It does not cover permission requirements, how many subjects can realistically match, or any truncation/paging behavior, which matters for an unannotated lookup tool.

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?

It is a single, front-loaded sentence that leads with the retrieval action and then the return shape. It is dense but not padded, though the quoted return field list makes it heavier than necessary given there is no output schema to compensate for.

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, unannotated, no-output-schema tool, the description covers what is returned and the not-found case, which are the essentials. It still leaves out permission/auth expectations and the semantics of ambiguous multi-match results, so it is adequate rather than 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?

Schema description coverage is 100%, so both subjectIdentifier and the optional subjectSourceId are already documented in the schema. The description only restates the identifier concept and never explains the effect of the optional source-scoping parameter, so it adds little beyond the structured fields; baseline 3 applies.

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 gives a specific verb and resource ('Get detailed information about a specific subject by subject identifier') and states the retrieval is keyed on an identifier. It is clear on its own, but it never distinguishes itself from the very similar sibling grouper_get_subject_by_id, nor from grouper_search_subjects, leaving the agent to infer which one matches its case.

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. The text says nothing about choosing this over get_subject_by_id, search_subjects, or get_subject_groups, and no prerequisites (such as needing a known identifier versus a name) are stated. Usage must be inferred entirely from the tool name and schema.

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