Skip to main content
Glama

set_integration_access

DestructiveIdempotent

Admin (or 'manage' on that integration): set who may use a company integration. Either default_access for ALL members (none | read | write — 'none' makes it role/person-only), or a grant for exactly one of user_id, role (admin|planner|viewer|caller) or tenant_role_id with access_right read | write | manage | none (none removes the grant). Required: provider. Lists the resulting grants.

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": {
      "provider": "<provider>"
    },
    "name": "set_integration_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoFixed role to grant: admin, planner, viewer or caller
user_idNoID of the user
providerYesIntegration whose access is set
access_rightNoAccess level of the grant; none removes it
default_accessNoAccess level for all members; none makes it role/person-only
tenant_role_idNoID of the tenant role

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / access_right / description
      Added value: +"Access level of the grant; none removes it"
    • addedInput schema / properties / default_access / description
      Added value: +"Access level for all members; none makes it role/person-only"
    • addedInput schema / properties / provider / description
      Added value: +"Integration whose access is set"
    • addedInput schema / properties / role / description
      Added value: +"Fixed role to grant: admin, planner, viewer or caller"
    • addedInput schema / properties / tenant_role_id / description
      Added value: +"ID of the tenant role"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description is consistent with them by noting that 'none' removes a grant. It adds genuinely useful detail beyond the annotations — the admin/manage permission gate and the fact that the call 'lists the resulting grants' — but says nothing about whether an existing grant is replaced or merged when a new scope is set, which matters for a destructive mutation.

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?

Dense and front-loaded: permission requirement and purpose come first, then the mode choice, then the required field, then the return behavior. The long second clause is somewhat run-on and packed with parentheticals, but every phrase carries information.

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

Completeness3/5

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

For a six-parameter destructive mutation with no output schema, the description covers the permission prerequisite, mode selection, and return behavior ('lists the resulting grants'), which is solid. It stops short of explaining replacement semantics for existing grants and the default value of default_access when omitted, leaving a meaningful gap for a tool flagged destructive.

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 every parameter and enum is already documented, giving a baseline of 3. The description still earns its keep by stating the exclusivity rule ('exactly one of user_id, role or tenant_role_id') and the special meaning of 'none' in both default_access and access_right — semantics the schema doesn't encode — though it doesn't clarify what happens if multiple grant fields are supplied.

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?

States a specific verb and resource ('set who may use a company integration') and immediately scopes it to the company-integration access domain, distinguishing it from coarsely named siblings like set_user_access or set_account_access. The authorization prerequisite ('Admin or manage on that integration') is stated up front.

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?

Explains the two mutually exclusive operating modes — a blanket default_access for all members versus a single-scope grant — and clarifies that setting access_right/default_access to 'none' narrows access to role/person-only rather than leaving it wide open. It doesn't explicitly route the caller to siblings such as request_integration_access or decide_integration_access_request, but the context for correct invocation is clear.

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.