Skip to main content
Glama

get_user

Read-only

Retrieve detailed information for a specific Ambari user by username, enabling account lookup and user-detail checks through the MCP-Ambari-API interface.

Instructions

Get detailed information about a specific user.

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": {
      "user_name": "<user_name>"
    },
    "name": "get_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_nameYesThe username to retrieve details for

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.8.2
    • addedInput schema / properties / user_name / description
      Added value: +"The username to retrieve details for"
  2. Changed4 schema fields changedv3.7.5
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / user_name / title
      Removed value: -"User Name"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"_WrappedResult"
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is supplied structurally. The only added context is the word 'detailed', which hints this returns a fuller record than a list entry, but nothing is said about failure behavior for a nonexistent user or about the scope of data returned.

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 short sentence with zero filler and the key qualifier ('specific user') front-loaded. It is efficient, though the space saved is not used for routing guidance.

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 a fully documented parameter, an output schema, and read-only annotations, the structured data covers most of the burden. The remaining gap is routing between this tool and get_users, plus any note on unknown-user behavior, which the description does not address.

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 the single user_name parameter is fully documented in the schema. The description adds no syntax, format, or case-sensitivity detail beyond 'the username to retrieve details for', so 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?

States a specific verb and resource ('Get detailed information about a specific user'), which clearly distinguishes a single-record lookup from a bulk listing. However, it never names the plural sibling get_users, so the agent must infer the distinction from the word 'specific' alone.

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 statement of when to use this tool versus get_users, no prerequisites, and no guidance on what happens for an unknown username. Usage is only implied by 'a specific user'.

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