Skip to main content
Glama
awslabs

amazon-datazone-mcp-server

Official
by awslabs

add_policy_grant

Add a policy grant to an entity in Amazon DataZone, specifying domain, entity, policy type, and principal to grant permissions.

Instructions

Adds a policy grant to a specified entity in Amazon DataZone.

Args: domain_identifier (str): The ID of the domain entity_identifier (str): The ID of the entity to add the policy grant to entity_type (str): The type of entity (DOMAIN_UNIT, ENVIRONMENT_BLUEPRINT_CONFIGURATION, or ENVIRONMENT_PROFILE) policy_type (str): The type of policy to grant (e.g., CREATE_DOMAIN_UNIT, OVERRIDE_DOMAIN_UNIT_OWNERS, etc.) principal_identifier (str): The identifier of the principal to grant permissions to principal_type (str, optional): The type of principal (default: "USER") client_token (str, optional): A unique token to ensure idempotency detail (dict, optional): Additional details for the policy grant

Returns: Any: The API response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNo
entity_typeYes
policy_typeYes
client_tokenNo
principal_typeNoUSER
domain_identifierYes
entity_identifierYes
principal_identifierYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It states the tool 'adds a policy grant' but does not mention permissions required, whether the operation is reversible, or any side effects (e.g., impact on existing grants). The idempotency via client_token is hinted but not explicitly stated. The description is too sparse for safe agent decision-making.

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

Conciseness3/5

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

The description uses a clear Args/Returns structure. However, it is overly verbose with repetitive phrasing (e.g., 'The ID of the domain', 'The ID of the entity'). Many descriptions could be shortened or merged. The return value description is minimal and vague.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, 5-required tool with no output schema, the description is insufficient. It does not explain what a policy grant is, how it interacts with DataZone's permission model, or what the response contains beyond 'the API response'. The tool is complex, and the description lacks the context an agent needs to use it correctly.

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?

The schema coverage is 0%, so the description must compensate. It lists parameters with types and brief descriptions, adding some value (e.g., enumerating possible values for entity_type and policy_type, mentioned in prose). However, many descriptions are trivial (e.g., 'The ID of the domain') and merely restate the parameter name. Additional details like format constraints or allowed values are missing.

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 clearly states the action ('Adds a policy grant') and the resource ('specified entity in Amazon DataZone'). The verb and resource are specific and unambiguous. However, it does not differentiate from sibling tools like 'add_entity_owner', which also adds permissions.

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 guidance on when to use this tool versus alternatives (e.g., add_entity_owner). The description lacks prerequisites, context, or any indication of appropriate use cases. The parameter descriptions are functional but do not help an agent decide when to invoke this tool.

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