Skip to main content
Glama

Set user customer access

set_user_customer_access
DestructiveIdempotent

Grant or revoke a user's access to ALL projects of one customer (a customer-wide grant). Admin only. Useful to give a customer contact access to every project of their company at once.

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_id": "<user_id>",
      "customer_id": "<customer_id>",
      "action": "<action>"
    },
    "name": "set_user_customer_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesGrant (add) or revoke (remove) access
user_idYessupport_users.id
customer_idYesCustomer UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds important authorization context ('Admin only') and blast-radius context ('ALL projects of one customer', 'customer-wide grant'), helping the agent understand this affects every project for that customer.

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 compact sentences, front-loaded with the core action and scope, followed by authorization and intended use. No wasted wording.

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 three-parameter tool with full schema coverage and annotations covering safety traits, the description provides sufficient scope, authorization, and intent. It could mention interaction with existing project-level grants, but nothing essential is missing.

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 enum and parameter meanings are already documented in the input schema. The description reinforces the customer-wide scope of the action but adds no new format or constraint details beyond the schema.

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 states a specific verb and resource: granting or revoking a user's access to ALL projects of one customer, explicitly framed as a customer-wide grant. This clearly separates it from project-scoped access changes, though it does not name the sibling tool directly.

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?

It gives a useful scenario ('give a customer contact access to every project of their company at once') and states 'Admin only', but it does not explicitly say when not to use this tool or point to the project-level alternative for narrower grants.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources