Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

update_resource_permissions

Destructive

Change sharing settings for Cloud Analytics resources: update per-user roles or public visibility for alerts, budgets, reports, or allocations.

Instructions

Use this when the user wants to change who a Cloud Analytics resource is shared with or update access levels. Updates the sharing settings (per-user roles and/or public visibility) for a specific alert, budget, report, or allocation. Requires resourceType and resourceId; at least one of permissions or public should be provided. Do NOT use this to view current permissions (use get_resource_permissions).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
publicNoPublic visibility level. Set to 'editor' or 'viewer' to share with all users, or null to make private.
resourceIdYesThe ID of the resource (alert, budget, report, or allocation) to update permissions for.
permissionsNoList of per-user permission entries to set. Each entry has a user (email) and a role (owner, editor, or viewer).
resourceTypeYesThe type of resource to update sharing settings for. One of: alerts, budgets, reports, allocations.
Behavior4/5

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

Annotations already indicate destructiveHint=true, so the description doesn't need to reiterate. It adds context by stating it updates sharing settings and sets per-user roles or public visibility. It doesn't explicitly state that existing permissions are replaced, but 'set' implies it. Overall, good transparency.

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?

Three sentences that are front-loaded: first sentence gives usage context, second explains action and scope, third adds requirements and exclusion. No wasted words.

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

Completeness5/5

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

Given no output schema, the description sufficiently covers input requirements, action, and when not to use. It provides all necessary context for an agent to correctly invoke the tool.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds value by noting the condition that at least one of permissions or public must be provided, which is not in the schema. It also clarifies the public option's effect (share with all users or make private). This goes beyond the schema.

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 updates sharing settings (per-user roles and/or public visibility) for specific resource types (alert, budget, report, allocation). It explicitly distinguishes from get_resource_permissions, ensuring no confusion with a read sibling.

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

Usage Guidelines5/5

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

The description specifies when to use: when changing sharing or access levels. It also explicitly says when not to use: for viewing permissions, directing to get_resource_permissions. It lists requirements (resourceType, resourceId, at least one of permissions or public).

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/doitintl/doit-mcp-server'

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