Skip to main content
Glama
awslabs

amazon-datazone-mcp-server

Official
by awslabs

search_user_profiles

Search and filter user profiles by type and text in an Amazon DataZone domain, with pagination for large result sets.

Instructions

Searches for user profiles within a specified Amazon DataZone domain.

This API supports filtering results by user type and search text, as well as pagination through maxResults and nextToken.

Args: domain_identifier (str): The identifier of the Amazon DataZone domain in which to perform the search. Pattern: ^dzd[-][a-zA-Z0-9-]{1,36}$ Required: Yes

max_results (int, optional): The maximum number of user profiles to return in a single call.
    Valid Range: 1–50
    Required: No

next_token (str, optional): Pagination token from a previous response. Use to retrieve the next page of results.
    Min length: 1, Max length: 8192
    Required: No

search_text (str, optional): Text to search for in user profiles.
    Max length: 1024
    Required: No

user_type (str): The type of user profile to search for.
    Valid values:
        - "SSO_USER"
        - "DATAZONE_USER"
        - "DATAZONE_SSO_USER"
        - "DATAZONE_IAM_USER"
    Required: Yes

Returns: dict: A response object containing: - items (List[dict]): A list of user profile summaries. Each summary includes: - details (dict): UserProfileDetails (union type) - domainId (str): Domain ID the user profile belongs to. - id (str): The identifier of the user profile. - status (str): Profile status. Possible values: "ASSIGNED", "NOT_ASSIGNED", "ACTIVATED", "DEACTIVATED". - type (str): Type of the user profile. Possible values: "IAM", "SSO". - nextToken (str, optional): Token for paginated responses. Min length: 1, Max length: 8192

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_typeYes
next_tokenNo
max_resultsNo
search_textNo
domain_identifierYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly describes that the tool performs a read/search operation with filtering and pagination, and returns a list of user profile summaries with specific fields. There is no mention of side effects, destruction, or access requirements, which is acceptable for a search tool, but it could be more explicit about its read-only nature.

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?

The description is well-structured with separate Args and Returns sections, making it easy to parse. It is front-loaded with the purpose statement. While it is relatively long, every sentence adds value, and the structure supports quick reference. A slight reduction in verbosity could improve conciseness, but it is not excessive.

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?

Given the tool has 5 parameters, no output schema, and no annotations, the description is quite complete. It covers all parameters, explains return structure (including fields and types), and describes pagination. However, it lacks mention of error handling, required permissions, or edge cases, which would be beneficial for completeness.

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?

The schema has 0% description coverage, so the description must compensate. It does so effectively by detailing each parameter: constraints (pattern, valid range, max length), required status, valid enum values for user_type, and the role of next_token for pagination. This adds significant meaning beyond the schema's titles and types.

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 it searches for user profiles within a specified Amazon DataZone domain, distinguishing it from sibling tools like search_group_profiles (for groups) and get_user_profile (for a single profile). The verb 'Searches' combined with the specific resource 'user profiles' and domain context makes the purpose 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 description explains the tool's functionality and parameters, but it does not explicitly state when to use this tool over alternatives or when not to use it. The usage context is implied by its purpose, but there is no direct guidance on selecting it among siblings like search or get_user_profile.

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

Install Server

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/awslabs/amazon-datazone-mcp-server'

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