Skip to main content
Glama

Get SAP User Detail

sap_user_get
Read-onlyIdempotent

Look up an SAP user by username to get address, logon data, lock status, roles, and profiles in a single response.

Instructions

Read SAP user details (address, logon data, lock status, roles, profiles) via BAPI_USER_GET_DETAIL.

Args:

  • username (string): SAP user name (max 12 chars).

  • response_format.

Returns (json): { username, firstName?, lastName?, email?, validFrom?, validTo?, locked?, roles: string[], profiles: string[] }.

Examples:

  • "What roles does user JSMITH have?" -> username='JSMITH'.

  • "Is user VENNELAKA locked?" -> username='VENNELAKA'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesSAP user name (e.g. 'VENNELAKA', 'JSMITH').
response_formatNoOutput format: 'markdown' (human-readable, default) or 'json' (structured).markdown
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful behavioral detail beyond that: it names the BAPI, documents the JSON response shape, and indicates optional fields. No contradictions with annotations are present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear Args, Returns, and Examples sections. It is compact, front-loads the core purpose, and every section contributes to correct tool usage.

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 simple read tool, the description sufficiently covers purpose, parameters, return format, and example usage. It doesn't detail error behavior or authentication requirements, but the annotations and schema already cover the safety profile and parameter constraints, so the missing pieces are minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already described in the schema. The description adds value by giving example usernames and mapping natural-language questions to the username parameter, which helps an agent infer correct invocation from user requests.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool reads SAP user details and names the specific attributes it returns (address, logon data, lock status, roles, profiles). It also identifies the underlying BAPI, which differentiates it from the many read/search tools among the siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete natural-language examples showing when to call it ('What roles does user JSMITH have?', 'Is user VENNELAKA locked?'). It provides clear context for its intended use, though it doesn't explicitly contrast it with alternative sibling tools or state when not to use it.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appmaster3000/sap-abap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server