Skip to main content
Glama

Show User

get_user
Read-onlyIdempotent

Fetch a user's profile and course enrollments by user ID, showing which courses they are enrolled in.

Instructions

List a specific user and their course enrollments by user ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private school profile label; not a provider identity or authorization proof.
user_idYesThe unique ID of the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful content context by noting that course enrollments are included in the result, but says nothing about pagination, enrollment volume, or error behavior for unknown IDs.

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?

One sentence, front-loaded with the resource and its key filter, with no filler. Only the mildly confusing 'List a specific user' phrasing 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?

With no output schema, the description's mention that enrollments come back with the user is the only return-value signal provided; it does not indicate what user fields are returned or whether enrollments are nested or paginated. Adequate but thin for a tool whose response shape is otherwise undocumented.

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%, so both parameters (account, user_id) are already documented in the schema, including the caveat that 'account' is a profile label, not authorization. The description adds nothing beyond the schema baseline.

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?

States a specific resource (a user) and its scope (course enrollments), keyed by user ID, which distinguishes it from list_users and get_course. The verb 'List' is slightly odd for a single-record fetch, but the intent is unambiguous.

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?

The phrase 'a specific user ... by user ID' implies this is the single-record lookup versus bulk list_users, but no alternative or when-not condition is named. An agent must infer the routing from the name alone.

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